Jump to content

Recommended Posts

Posted

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:00000000

I put this reg file in the OEM direcotry.

Then i edited the RunOnceEx.cmd file

cmdow @ /HID

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

for %%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
)

:install
REG ADD %KEY% /V TITLE /D "Bezig met instellen van de accounts..." /f


REG ADD %KEY%\080 /VE /D "hidden users aanmaken" /f
REG ADD %KEY%\080 /V 1 /D "REGEDIT /S %CDROM%\$OEM$\hideuser.reg" /f

Then 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=0
MsDosInitiated=0
UnattendedInstall="Yes"

[Unattended]
UnattendMode=DefaultHide
UnattendSwitch="No"
OemPreinstall="Yes"
OemSkipEula="Yes"
FileSystem=*
WaitForReboot="No"
NoWaitAfterTextMode=1
NoWaitAfterGUIMode=1
DriverSigningPolicy=Ignore
NonDriverSigningPolicy=Ignore

[SystemRestore]

[GuiUnattended]
OemSkipWelcome=1

[Components]

[UserData]
ProductKey="xxxx-xxxx-xxxx-xxxx-xxxx"

[RegionalSettings]
Language= "0413"

[Networking]
InstallDefaultComponents="Yes"

[GuiRunOnce]
"%CDROM%\$OEM$\RunOnceEx.cmd


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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...