February 27, 200521 yr 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???
February 27, 200521 yr 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~
February 27, 200521 yr Regedit are in the Windows folder....So you just need to call it likeRegedit /s c:\blablabla.regJust that!
February 27, 200521 yr This is mineREG ADD %KEY%\060 /V 1 /D "REGEDIT /S %systemdrive%\SUPPORT\APPS\INSTALL\MODIFS.REG" /f
Create an account or sign in to comment