Monday, October 25, 2010

Access denied on command line shutdown in Windows 7

If you have encounter these problems:

Getting Access is Denied when accessing Windows 7 share from Windows XP[1]
PSShutdown? Access Denied? Pulling hair out? [2]
shutdown -i Access Denied? [3]


"Thanks to a precise post at one of the MS forums, this gem comes to anyone looking to use psshutdown with Windows 7 systems:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion \Policies\System
create or modify 32-bit DWORD: LocalAccountTokenFilterPolicy
set the value to: 1

PSShutdown will fail before you do this, and succeed after. Sure, you've got to create an account with a password on the Win7 box and give it administrator rights, but by now you already knew all that." -- [2]



Solutions are provided as is and free. This site carries no responsibility as this is not a service nor a product.


Way said...

Tried this and I am still getting access is denied error

Way said...

Sorry don't know what happened to you and your situation...