I have two accounts A, B both registered on the windows server 2008 R2. There is a script in which I use pscp module of putty to transfer files from the server.
Problem being that the command runs successfully using user account A but gets stuck using account B. The command does not complete using user account B
I have to manually terminate it.
Both accounts have the below privilege in group policy and computer management.
- Administrator
- Logon as a batch
- Replace process level token
Please help