Remote Shutdown question

jessepatty

New member
Local time
6:15 AM
Messages
3
I have read and read and read on this issue and it seems i need to tweak my registry to perform a remote shutdown due to the fact I have Win 7 Home Premium....

Here's the Deal, I have 4 PC's on my home network and I want to be able to remotely shutdown all of them from my Laptop at night.
I've tried to do it via the Shutdown -i command but I get "access denied" so I researched that and found that I need to go into "Group Policy editor" and activate remote shut down.... Then I find out that Home Premium doesnt have the gpedit.msc as part of the operating system and the only way to activate the policy is in the registry...

Can somebody tell me where in the registry I need to make changes and what changes I need to make to activate the "Remote Shutdown over my local home network....

I really would appreciate the assistance....My kids constantly leave the PC's on in the house and I really want control over them especially when my son doesnt want to get off his video games.

Thank you
Jess
 

My Computer

Computer Manufacturer/Model Number
Myself
OS
Win 7 H/P
CPU
AMD 2.50 X2
Motherboard
XFX
Memory
6 gigs
PSU
800w
Cooling
lots
What you could do is make yourseld the admin of all the computers.... same user and same password. Then on your computer just create a batch file when you double click. Like I have one that will shut the computers down exactly 30 min when I double click the.batch file

All computers need to have the full admin activated for this to work.

If its windows

Elevate the command prompt

Type

Net user administrator /active:yes

Enter

Then when you log out administrator will show in the welcome screen when u log in... alt cntrl del and change password imm+diately..

Remember to do this to all computers with same password... the computer u r on todo the remote shut down u have to be in the admin account as well
 

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
Admin account is already active on all my systems. The group policy editor is missing for Win 7 Home Premium, which is needed to easily activate remote shutdown in windows 7
I've found a couple articles that say it can be activated in the registry however there are no instructions on how or where in the registry to make the changes. That's what I need I believe.

I am not familiar with the method your describing. I want to be able to use the "Shutdown -i" dialog and shut them down immediately.

Thanks
 

My Computer

Computer Manufacturer/Model Number
Myself
OS
Win 7 H/P
CPU
AMD 2.50 X2
Motherboard
XFX
Memory
6 gigs
PSU
800w
Cooling
lots
I don't think there is a group policy editor for Home premium... i think its only professional and up.

Best thing to do is: make all computers have static IPs.

Create the Batch file:

shutdownall.bat
=================================
@echooff =
cmd / c shutdown /s /f \\192.168.2.8 =
cmd / c shutdown /s /f \\192.168.2.9
cmd / c shutdown /s /f \\192.168.2.10 =
=================================
Create a batch file like this...
the CMD will execute the command prompt... the /c will carrier out the string and then terrimate

shutdown is the string command, /s will shut the computer down /f will force it to shut down all apps immediately and then the computer name next to it

Edit update:
just that when you create the batch file... don't include all those equal signs...
 

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
I don't think there is a group policy editor for Home premium... i think its only professional and up.

Best thing to do is: make all computers have static IPs.

Create the Batch file:

shutdownall.bat
=================================
@echooff =
cmd / c shutdown /s /f \\192.168.2.8 =
cmd / c shutdown /s /f \\192.168.2.9
cmd / c shutdown /s /f \\192.168.2.10 =
=================================
Create a batch file like this...
the CMD will execute the command prompt... the /c will carrier out the string and then terrimate

shutdown is the string command, /s will shut the computer down /f will force it to shut down all apps immediately and then the computer name next to it

Edit update:
just that when you create the batch file... don't include all those equal signs...

I know... I looked all over for the G.P.E in H/P and found out it isn't in there.

So I just put all that in notepad and save as Shutdown.bat? Then how do I make it active when I want it to?

All the IP's on my home network never change unless I change them....

Thanks
 

My Computer

Computer Manufacturer/Model Number
Myself
OS
Win 7 H/P
CPU
AMD 2.50 X2
Motherboard
XFX
Memory
6 gigs
PSU
800w
Cooling
lots
Yes you just go into your notepad and save it as shutdown.bat

but make sure that you don't have the extention of txt.. so change the SAVE as at the bottom too.

you can save it on your desktop and just test it out.

you make it active just by double clicking on the icon when it creates it on the desktop when you save it there.

you will see what i mean when you save it as a BAT file
 

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
if you saved the batch file to your desktop, simply click on it.
 

My Computer

Computer Manufacturer/Model Number
Home built
OS
Windows 7 Ultimate 32 bit
CPU
Intel(R) Pentium(R) 4 CPU 3.00GHz
Motherboard
ASUS P4P800-VM Motherboard Chipset: Intel 865G + ICH5
Memory
2.50 GB RAM
Graphics Card(s)
NVIDIA GeForce 7600 GS
Sound Card
SoundMax Integrated Digital Audio (Chip)
Monitor(s) Displays
ViewSonic VX 1962 wm
Screen Resolution
1680 X 1050
Hard Drives
Seagate Barracuda 7200.10 80 GB
ST380215A ATA Device 18.6 GB
Western Digital "My Book" external hard drive 750 GB
Cooling
Fan based
Keyboard
Microsoft Comfort Curve Keyboard 2000 v10 USB
Mouse
Logitec optic USB
Internet Speed
3.01 Mb/s download 0.64 Mb/s upload
Doesn't work for me. Seems without the /m in the shutdown command line, you simply get your dos box filled with the shutdown instructions and options. Adding the /m like this:
cmd /c shutdown /s /f /m \\192.168.0.198

Then gives the error :
192.168.0.198: the entered computer name is not valid. Check the name and then try again or contact your system administrator. <53>

I tried in the remote computer the
runas /netonly /u(username) CMD (with a colon after the U...this app puts up a frowny face)
and it prompted me for the username's password, and spawned a dos prompt.
I ran the shutdown command and got the same error.

I created a new administrator account in the remote computer with the same username as the Win7 computer and same password. I ran
runas /u(username), got the command prompt, ran whoami and got the correct computername\username and did the shutdown command again, Again got the same message.

I have enabled port 445 in the Win7 machine in the Windows Firewall (custom setting) inbound rule.
When I run Windows Explorer and type \\ComputerName or \\192.168.0.198 in the menu bar field, after responding to the password challenge, I can see the Win7 machine just fine.

Running
net use \\192.168.0.198
completes successfully.

Seems there is something in the Win7 machine blocking the shutdown from a remote computer

Additionally, there seem to be lots of options in the Win7 firewall which enable pieces of remote administration. I wonder if you have to enable some of these.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
HP CQ3270D
OS
Windows 7 Home Premium 32 bit
CPU
Intel Pentium G6950
Motherboard
HP
Memory
2G
Graphics Card(s)
on-board
Hard Drives
Hitachi HDT721032sla389,
ST3500630AS
Antivirus
Symantec
Browser
IE 11.0.22
I can shutdown a Virtual Machine (Windows 7 Home Premium) with PSTools of Sysinternals Suite.
http://www.howtogeek.com/school/sysinternals-pro/lesson8/all/

You will need to (on the machine you want to remotely control):
To tweak UAC to enable PsTools to run you’ll want to open up the Registry Editor and navigate to the following key:
Code:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
Once you are there, create a new 32-bit DWORD on the right-hand side, give it the name LocalAccountTokenFilterPolicy and the value of 1. You don’t have to restart the computer to make the setting take effect.

Then enable Remote Registry on remote machine if needed:
Code:
psservice [URL="file://computername/"][U][COLOR=#0066cc]\\computername[/COLOR][/U][/URL] -u [I]username[/I] -p [I]password[/I] start RemoteRegistry

Once you gain access:
Code:
psshutdown [URL="file://computername/"][U][COLOR=#0066cc]\\computername[/COLOR][/U][/URL] -u username -p password

Not sure if you need to -u -p each and every time!
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Build
OS
Windows 7 Ultimate x64 SP1
CPU
AMD Phenom 2 1090T
Motherboard
Gigabyte GA-890FXA-UD5
Memory
2x8GB Kingston HyperX Fury Black 1600Mhz Unganged
Graphics Card(s)
MSI GTX 970 Gaming 4G
Sound Card
Realtek On-Board HD 7.1 Audio / Logitech G35
Monitor(s) Displays
3xAcer GD245HQ
Screen Resolution
1920x1080
Hard Drives
Samsung 850 Pro 512GB SSD - OS /
WD Caviar Black SATA 3 - 1 TBx2 - Dynamic RAID 0 /
WD Caviar Green SATA 2 - 640GBx2 - Dynamic RAID 0 /
WD Caviar Green SATA 2 - 640GB - Internal Backup /
Seagate Barracude SATA 3 - 3TB - External Backup/ Sync
PSU
HighPower 1000W
Case
Cooler Master HAF 932
Cooling
Noctua NH-D14
Keyboard
Logitech G19
Mouse
Logitech G500
Internet Speed
100/4 Mbit Cable (100GB quota)
Antivirus
ZoneAlarm Extreme Security / MBAM Pro / MBAE Free / SAS Free
Browser
IE 11 - Firefox - Chrome
Other Info
Logitech F710/ G27/ G940/ Z5500 // TrackIR 5 // Nvidia 3D Surround Vision
Back
Top