Forum Discussion
WAC 1808 File Copy errors and powershell disconnecting...
Hi,
I have few gateway "WACs" deployed in our however there is some "behind the scenes" security mechanism that prevents me from:
1. Running powershell on a remote computer (it disconnect immediately although domain permissions are ok and when I run powershell on the computer without WAC all works ok. So it is not permissions issue. That applies to all machines not particular OS of the server
2. I am not able to copy files (upload) to a remote server getting following error message: "Version:1.0 StartHTML:000000279 EndHTML:000055890 StartFragment:000055574 EndFragment:000055706 StartSelection:000055574 EndSelection:000055706 SourceURL:https://......./servermanager/connections/server/........../tools/files/path/C%253A%255C Files - Server Manager - Windows Admin Center
Failed to upload to C:\scripts\test. Error: This operation was blocked by role based access control settings or other network issue.
The user I use is a member of server admin group which is added as administrators in access section. Any ideas. tips, feedback?
Cheers
- Jeff WoolslayerMicrosoft
Please check out the troubleshooting guide for common issues and resolution steps. If nothing there solves your issue, please reply back here with the answers to the troubleshooting common questions.
For the PowerShell issue, please confirm if the Events and Remote Desktop tool work, the issue you describe occurs when something is blocking websockets in your environment.
For the file upload issue - please also include:
- Size of the file you are trying to upload
- Local path of the source file
- Remote destination path
- Artur SchneiderCopper Contributor
Thank you for replying. I tried to apply suggested changes. We are talking about version 1809 now (after upgrade from 1808). Initially after accessing site I was indeed getting error message websocket/powershell could not connect. I checked features on Server 2016 and added WebSocket feature. Now I am not able to connect to server even locally getting connection refused message. On the other WACs (using version 1808) I am able to both view the events and trigger RDP session. However Powershell disconnect immediately.
Any thoughts?Thank you
- Jeff WoolslayerMicrosoft
There is no WebSocket feature in Windows server. Practically all WebSockets compatibility issues are caused by the network environment (proxy servers, firewalls, etc..)
Please create an item for your upload issues here for ease of tracking: https://aka.ms/wacfeedback
- Artur SchneiderCopper Contributor
As per file copying. I tried running WAC locally (server 2016 VM) and copy 3k txt file from my computer to another remote WAC server. Permissions are not an issue. All ran as admin
Error message:
Failed to upload to C:\install. Error: This operation was blocked by role based access control settings or other network issue.
- Artur SchneiderCopper ContributorJeff Woolslayer I followed troubleshooting guide yet no solution. While in version 1808 I was able to view events on remote machine, version 1809 just throws websocket error (though configuration of the server has not been changed) I pretty much gave up on trying to run powershell from WAC as it dies before it starts and there doesn't seem to be any contstructive feedback nor solution. Any news on that front?
- Jeff WoolslayerMicrosoft
The PowerShell tool has the same dependency on websockets as the events tool, so it makes sense that it's not working for you either. The actual managed server configuration doesn't impact Websocket support, it's your network environment. Any device on the network that routes or filters traffic can break websockets. Firewalls, switches, VPNs, etc...
Do you still happen to have the 1808 installer? If you are able to uninstall 1809 and reinstall 1808 to verify and describe the difference experience, we can follow up.
- Artur SchneiderCopper Contributor
I did downgrade to version 1808. Unfortunately still get Websocket/powershell not installed or not configured message when trying to access Event Viewer, PowerShell or RDP. Any new developements?
Thank You