I could execute the program but it was running in the background. After troubleshooting figured out that you need to put the sessionid to make sure it displays for the user.
psexec -s -d -i 2 \\win7vm -u "ijaved" -p "***" "calc.exe"
The number 2 above identified my session which was RDP. You can find the sessionid via taskmanager.
psexec -s -d -i 2 \\win7vm -u "ijaved" -p "***" "calc.exe"
The number 2 above identified my session which was RDP. You can find the sessionid via taskmanager.
Great Works dear Thanks
ReplyDelete