Backup69 Posted February 27, 2005 Share Posted February 27, 2005 HiI dont andestand whay not working registry key after first reboot without login screen and typeing password.I try many diferent way but after first login to the admin account and finishing install i cant autologon to the first account.I useing fallowing metod:Last row in to the RunOnceEx run Reg.cmd::Reg.cmdSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceREG ADD %KEY% /V 1 /D "%systemdrive%\Install\Start2.cmd" /f::Start2.cmd run one time if i login to the first userstart /wait %systemdrive%\Install\regedit /s %systemdrive%\Install\autologon2.reg::autologon2.reg (this row not exist in reg file)Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]"DefaultUserName"="FirstUser""DefaultPassword"="*****""AutoAdminLogon"="1""ForceAutoLogon"="1"Now my pc reboot and stop in login screen and not enter to the "FirstUser"but if i run same cmd same way now in FirstUser login all works and pc login always to the same user without login screen.What wrong??? Link to comment Share on other sites More sharing options...
simply_simon Posted February 27, 2005 Share Posted February 27, 2005 I think your command should read:start /wait "REGEDIT /S %systemdrive%\Install\autologon2.reg"REGEDIT is a program residing in the system folder and not in the Install folder you are creating.Hope this helps.~SIMON~ Link to comment Share on other sites More sharing options...
Backup69 Posted February 27, 2005 Author Share Posted February 27, 2005 I have Regedit in the Install folder to Link to comment Share on other sites More sharing options...
FeTT! Posted February 27, 2005 Share Posted February 27, 2005 Regedit are in the Windows folder....So you just need to call it likeRegedit /s c:\blablabla.regJust that! Link to comment Share on other sites More sharing options...
FeTT! Posted February 27, 2005 Share Posted February 27, 2005 This is mineREG ADD %KEY%\060 /V 1 /D "REGEDIT /S %systemdrive%\SUPPORT\APPS\INSTALL\MODIFS.REG" /f Link to comment Share on other sites More sharing options...
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