Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Set permission for remote shutdown

I have a Home LAN and I'm trying to use command "shutdown" for shutdown machines remotely but I get "Acces denied".

Code:

shutdown -r -m \\MACHINE1

I've tried to use PsTools and partialy I've achieved the goal. I've created a batch file on each machine

Code:

shutdown -r

. 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.

Are you trying to schedule the bat to run at a certain time? I'm assuming your in a 'workgroup' and not a domain environment, right? workgroup rights to run a file should include the "everyone" group unfortunately. If you simply wish to schedule or run this at a moments notice the easiest way would be to call the script with an "at" command. At that point you're shared folder will need to include either the &quot;system&quot; account with execute permissions or you'll have to add the"machine account" with execute. These 2 account options won't prompt you for passwords, which will be half the problem when doing this over a workgroup environment.

Set permission for remote shutdown

Is remote shutdown and turn on possible using W7's Remote Desktop?If it can't be done, what are the alternatives? Thank you.
Edit: I just read how to shutdown with Remote Desktop and I'm going to try that out. So, the only remaining questions are how can I remotely turn on a workstation on a lan? Can I do it at a pre-determined time? What about remotely...

Network & Sharing

Remote ShutdownI tried to remote shutdown an XP SP3 workstation from a windows 7 workstation.
I used the following command:
"shutdown /m \\huttesrv001.hutte.local /s /f"
but I always get an error: "huttesrv001.hutte.local: Access is denied.(5)"
where huttesrv001.hutte.local is the name of the remote...

Network & Sharing

Stop Remote ShutdownHi there,
I work for a college in the IT department and my knowledge is lacking in the remote shutdown area and is being exploited by my fellow workers.
The computers are connected to a domain and our computers are named via the tag number of the machine and we do not use roaming profiles. I...

General Discussion

shutdown remote pc on LANGreetings everyone, it's me again - this time with the second half of the Wake on LAN thread.
I want to powerdown a remote PC simply by double clicking a desktop shortcut on my local machine, and it should be possible using the shutdown command.
I have tried creating a new shortcut with...

Network & Sharing

Remote shutdown with UAC on?Hi there i hope someone can help me with this its been driving me mad and googles taking me round in circles :(
I need to shutdown a server on the same network using the shutdown command like we used to when it was xp (now w7 ultimate 64bit).
After spending days on this now trying various...