timskiej89 Posted May 27, 2008 Posted May 27, 2008 Hello,Im trying to make some unattended CD's.But i have some problems with XP Home.I have made some accounts with NET USER via a batch file.But i want to hide some accounts so its invisible at the login screen (when you press ctrl+alt+del(2x) you can login)So i made a registry file (if i run this the acounts will be invisible)Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList]"BlaBlaBla"=dword:00000000"Administrator"=dword:00000000I put this reg file in the OEM direcotry.Then i edited the RunOnceEx.cmd filecmdow @ /HIDSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExfor %%a in (z y x w v u t s r q p o n m l k j i h g f e d c) do if exist %%a:\software (SET CDROM=%%a:goto install):installREG ADD %KEY% /V TITLE /D "Bezig met instellen van de accounts..." /fREG ADD %KEY%\080 /VE /D "hidden users aanmaken" /fREG ADD %KEY%\080 /V 1 /D "REGEDIT /S %CDROM%\$OEM$\hideuser.reg" /fThen i burned it to CD/DVD.--------------------If i run the reg file manually the users wil be imported to the registry.But when i run the RunOnceEx they wil not be imported.I want to add the hidden users when i log in the first time so i added the runonce.exe in the winnt.sif file.And deleted RunOnceEx in the cmdlines.txt; Generated by nLite 1.4.5[Data]Autopartition=0MsDosInitiated=0UnattendedInstall="Yes"[Unattended]UnattendMode=DefaultHideUnattendSwitch="No"OemPreinstall="Yes"OemSkipEula="Yes"FileSystem=*WaitForReboot="No"NoWaitAfterTextMode=1NoWaitAfterGUIMode=1DriverSigningPolicy=IgnoreNonDriverSigningPolicy=Ignore[SystemRestore][GuiUnattended]OemSkipWelcome=1[Components][UserData]ProductKey="xxxx-xxxx-xxxx-xxxx-xxxx"[RegionalSettings]Language= "0413"[Networking]InstallDefaultComponents="Yes"[GuiRunOnce]"%CDROM%\$OEM$\RunOnceEx.cmd
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now