Windows 7 Forums

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

28 Jan 2010   #1
upf

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.


My System SpecsSystem Spec
.
28 Jan 2010   #2
brady

 

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 "system" 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.
My System SpecsSystem Spec
28 Jan 2010   #3
acurasd

Windows 7 Ultimate x64
 
 

How to use the remote shutdown command in Windows

this will help you out. you have to check the permissons... user name and passwords for the accounts on the computers.
My System SpecsSystem Spec
.

29 Jan 2010   #4
upf

windows 7
 
 

brady,
acurasd
Thank you for your help.
My System SpecsSystem Spec
Reply

 Set permission for remote shutdown




Thread Tools




Similar help and support threads
Thread Forum
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 shutdown curse!
This problem is driving me kabonkers. I have searched in google but it has just taken me around in circles. I have 3 computers in my house. My laptop is running Windows 7 Pro. My desktop is running Windows Vista Home and my other laptop is running Windows 7 Home. I've tried to remote shutdown one...
Network & Sharing
Remote Shutdown
I 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
shutdown remote pc on LAN
Greetings 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 desktop shutdown
I am logging onto a 2nd PC in the same workgroup using a remote desktop, when logged on, I only get the option to log off or disconnect. I would really like to see options for shutdown etc but do not know how to enable this without logging on as the administrator, which I do not want to do. any...
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...
Network & Sharing


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 19:54.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App