Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Turn on guest account via script?

01 Nov 2012   #1

Windows 7 Ultimate x64
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.).

Any thoughts/ideas?

My System SpecsSystem Spec


 Turn on guest account via script?

Thread Tools

Similar help and support threads for2: Turn on guest account via script?
Thread Forum
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 09:57 PM.
Twitter Facebook Google+

Windows 7 Forums

Seven Forums Android App Seven Forums IOS App

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33