|01 Nov 2012||#1|
| || |
Turn on guest account via script?
I'm wondering if there's a way to enable the guest account via script on Windows 7 Pro, so that when I deploy PCs on a P2P network, I can have this be an option for my setup script (I don't want to reinstall a billion different drivers, so I'm avoiding an install image). It wouldn't be hard to just do it manually, or have AutoIt do the work via simulated user input, but I'd like to find out if it's doable.
So far I have this much:
net user guest /active:yes /* This will activate the account, but not display it on the login screen */
I don't see anything in SpecialAccounts\Userlist or Secpol.msc that would prevent logon, and I have run procmon only to see LSASS do a bunch of stuff on the machine's secure hives (HKLM\SECURITY, for example). Replicating the registry changes LSASS made locked me out of the computer and forced a reboot to fix (I messed with the permissions on my home PC's registry for the sake of finding out; also tried running a script as an elevated service.).
|My System Specs|
|Similar help and support threads for2: Turn on guest account via script?|
|Guest Account - Turn On or Off||Tutorials|
|Is W7 Guest Account the Safest Account to Use On the Web?||System Security|
|Set Guest Account Similar As Primary Account,(except on Several Files)||General Discussion|
|Need To Disable Guest Account On Admin Account||General Discussion|
|My Administrator account turned to Guest account||General Discussion|
|Cannot log onto guest account||General Discussion|
|turn on guest account via batch file||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 07:41 AM.