Jump to content

Recommended Posts

Posted

Hi

I 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.cmd
SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce
REG ADD %KEY% /V 1 /D "%systemdrive%\Install\Start2.cmd" /f
::Start2.cmd run one time if i login to the first user

start /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???


Posted

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~

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...