I have a Home LAN and I'm trying to use command "shutdown" for shutdown machines remotely but I get "Acces denied".
I've tried to use PsTools and partialy I've achieved the goal. I've created a batch file on each machine
. I've shared folder over network and I've set permission for use it. The problem is that sometimes works and sometimes not. The same batch file I can execute successfuly and after restarting it stops working.
The UAC and and FireWall are off.
Code:
shutdown -r -m \\MACHINE1
Code:
shutdown -r
The UAC and and FireWall are off.
My Computer
- OS
- windows 7