| Windows 7: SYSPREP and user accounts. |
03 Dec 2012
|
| | |
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 Specs |
| |
03 Dec 2012
|
| | Windows 7 x64 Ultimate 12,755 posts A Finnish immigrant in Leipzig, Germany |
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 Specs | | Computer type Laptop System Manufacturer/Model Number HP ENVY 17-1150eg OS Windows 7 x64 Ultimate CPU 1.6 GHz Intel Core i7-720QM Processor Memory 6 GB Graphics Card ATI Mobility Radeon HD 5850 Graphics Sound Card Beats sound system with integrated subwoofer Monitor(s) Displays 17" laptop display, 22" LCD and 32" Full HD TV through HDMI Screen Resolution 1600*900, 1680*1050 and 1920*1080 Keyboard Logitech diNovo Media Desktop Laser (bluetooth) Mouse Logitech MX1000 Laser (Bluetooth) Hard Drives Internal: 2 x 500 GB SATA Hard Disk Drive 7200 rpm
External: 2TB for backups, 3TB USB3 network drive for media Internet Speed 50/10 Mbps VDSL Antivirus MSE, Windows Defender Browser Maxthon 3.5.2. Other Info Windows 7 Ultimate Retail Full in English, additional Guest-user accounts in Finnish, German and Swedish (Working languages English & Swedish, Family language German, my own language, mother tongue, Finnish. I really need Ultimate to get to use Language Packs!) |
03 Dec 2012
|
| | Windows 7 x64 Ultimate 12,755 posts A Finnish immigrant in Leipzig, Germany |
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
Last edited by Kari; 03 Dec 2012 at 07:56 PM..
Reason: Typos
| My System Specs | | Computer type Laptop System Manufacturer/Model Number HP ENVY 17-1150eg OS Windows 7 x64 Ultimate CPU 1.6 GHz Intel Core i7-720QM Processor Memory 6 GB Graphics Card ATI Mobility Radeon HD 5850 Graphics Sound Card Beats sound system with integrated subwoofer Monitor(s) Displays 17" laptop display, 22" LCD and 32" Full HD TV through HDMI Screen Resolution 1600*900, 1680*1050 and 1920*1080 Keyboard Logitech diNovo Media Desktop Laser (bluetooth) Mouse Logitech MX1000 Laser (Bluetooth) Hard Drives Internal: 2 x 500 GB SATA Hard Disk Drive 7200 rpm
External: 2TB for backups, 3TB USB3 network drive for media Internet Speed 50/10 Mbps VDSL Antivirus MSE, Windows Defender Browser Maxthon 3.5.2. Other Info Windows 7 Ultimate Retail Full in English, additional Guest-user accounts in Finnish, German and Swedish (Working languages English & Swedish, Family language German, my own language, mother tongue, Finnish. I really need Ultimate to get to use Language Packs!) |
03 Dec 2012
|
| | |
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 Specs | | |
04 Dec 2012
|
| | Windows 7 Ultimate x64 883 posts Topeka Kansas |
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 Specs | | OS Windows 7 Ultimate x64 SYSPREP and user accounts. problems? All times are GMT -5. The time now is 08:52 PM. | |