Solved Set permission for remote shutdown

upf

New member
Local time
11:48 AM
Messages
13
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 My Computer

OS
windows 7
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 My Computer

OS
7 Pro

My Computer My Computer

Computer Manufacturer/Model Number
HP Pavilion Elite HPE-410f
OS
Windows 7 Ultimate x64
CPU
AMD Phenom x6 1045t
Motherboard
N/A
Memory
8 GB
Graphics Card(s)
ATI Radeon HD 5570
Sound Card
Realtek Highdefinition Audio / 5.1 Dolby Setup
Monitor(s) Displays
HP w2207h Widescreen
Screen Resolution
1680*1050
Hard Drives
1 TB (fixed), 320 Portable maxtor, Server Hard drives
PSU
350 Watt
Case
HP CASE
Cooling
Bass
Keyboard
Logitech MX 5500
Mouse
Logitech MX 5500
Internet Speed
ROAD RUNNER 16MB D/512 U
Back
Top