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: SYSPREP and user accounts.


03 Dec 2012   #1

win 8
 
 
SYSPREP and user accounts.

Hi everyone,

so I have my custom windows 7 image ready for deployment, but it has to be sysprepped so the OOBE pops up when it is first run. However I want to keep a custom password protected user account (let's call it "Tech") available, and hidden with the registry key
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList
with a DWORD "Tech" set to 0


is this possible using unattend.xml? If so what are the entries that I would put in? I have tried adding them to the autounattend.xml I created for the install however sysprep the account and registry entry don't seem to be being created. Or is there some other way to do it?


Any help would be appreciated

My System SpecsSystem Spec
.

03 Dec 2012   #2

Microsoft Community Contributor Award Recipient

Windows 8.1 Pro with Media Center
 
 

Hi Csand, welcome to the Seven Forums.

Might be me misunderstanding something but why on earth would you manually edit register for that? Customize your image in Audit Mode, create your user Tech & set a password, run sysprep and deploy. As long as you do not use Generalize switch when sysprepping, it does not affect existing user profiles so the Tech profile remains on your image and exists on any deployed system.

Kari
My System SpecsSystem Spec
03 Dec 2012   #3

Microsoft Community Contributor Award Recipient

Windows 8.1 Pro with Media Center
 
 

SORRY!

I just read your post again and noticed what I did not notice first time, that you want the Tech account to be hidden.

Create the user account & password normally in Audit Mode, edit registry to hide the account, run sysprep, deploy. That's it.

The point is you do not need to set register value in answer file, you can do it in Audit Mode normally with RegEdit before running sysprep.

Kari
My System SpecsSystem Spec
.


03 Dec 2012   #4

win 8
 
 

Ahh thank you sir! I didn't realize that by removing the generalize option it would keep user accounts. Will the OOBE window still come up for the user to create a new login? What other things will I miss by not including the generalize option? I'm learning all this stuff in a short amount of time for work so pardon any silly questions.
Thanks so much for the info, and the welcome
My System SpecsSystem Spec
04 Dec 2012   #5

Windows 7 Ultimate x64
 
 

Maybe I have misunderstood sysprep but the generalize option has nothing to do with user profiles.
I have never had a sysprep remove a user account.

Site technet.microsoft.com

Prepares the Windows installation to be imaged. If this option is specified, all unique system information is removed from the Windows installation. The security ID (SID) resets, any system restore points are cleared, and event logs are deleted.
The next time the computer starts, the specialize configuration pass runs. A new security ID (SID) is created, and the clock for Windows activation resets, if the clock has not already been reset three times.

To remove a user account you would need to use the /audit switch. On install screen open the command prompt (shift + f3) and delete them from there then sysprep again.
My System SpecsSystem Spec
Reply

 SYSPREP and user accounts.




Thread Tools



Similar help and support threads for2: SYSPREP and user accounts.
Thread Forum
User accounts General Discussion
User accounts created but not able to logon - No user profile General Discussion
User Confused After Easy Transfer Then SysPrep Installation & Setup
Local Group Policies created for user, but sysprep removes settings Installation & Setup
Solved User Accounts General Discussion
Sysprep: Audit Mode and Cached Domain Accounts Installation & Setup
User Accounts / Manage Accounts Blank General Discussion

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 02:32 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