Set permission for remote shutdown


  1. upf
    Posts : 13
    windows 7
       #1

    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 Computer


  2. Posts : 1,426
    7 Pro
       #2

    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 Computer


  3. Posts : 972
    Windows 7 Ultimate x64
       #3

    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 Computer


  4. upf
    Posts : 13
    windows 7
    Thread Starter
       #4

    brady,
    acurasd
    Thank you for your help.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About 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 14:59.
Find Us