Jump to content

Windows Xp Login Problem


jeffshen

Recommended Posts

hi,

i cannot log into windows XP... i have tried both the admin account, my own account, both in normal and safe mode.

it logs in and says loading settings

then it says logging out and returns me to the login screen.

any help please? I tried running into repair from winXP install and typing

cd system32

copy userinit.exe wsautoupdater.exe

exit

as i found somewhere else but it aint working.

Thanks

J

Link to comment
Share on other sites


Your Copy Cmd Is Wrong

copy userinit.exe wsautoupdater.exe

copy Start Location\File To Where It Goes To

Example

copy C:\userinit.exe %systemdrive%\Windows\System32\

copy C:\wsautoupdater.exe %systemdrive%\Windows\System32\

Example 2 Using Set Varibles And Error Control

Orange Is The Test I Ran For The Script This Is Now Safe To

Remove From The Script

Blue Are The Script Varibles Fill This In To Match Your Needs

Set P2=ping -n 2 127.0.0.1 this is a slow down it set to stop the script at

approx 2 seconds.

Green Are The Set Varibles That You Have In The Blue

Only Echo Out The File Name Safe

To Remove From The Script

Echo Off

Cls && Mode 72,3 && Color f1 && Title Copy The File

Set CD=%CD%

::Set Fn1=%CD%\userinit.exe

::Set Fn2=%CD%\wsautoupdater.exe

Set EndLoc=%systemdrive%\Windows\System32

set Fn1=%CD%\Testtest1.txt

set Fn2=%CD%\TestCmd.cmd

Set P2=ping -n 2 127.0.0.1

ping -n 1 127.0.0.1>nul

:FileNameConfirm

Echo.

echo  Loc1 -^>%FN1%

%P2%>nul

Cls && Color F2 && Echo. && echo  Loc2 -^> %FN2%

%P2%>nul

if exist "%Fn1%" goto Work1

If Not Exist "%Fn1%" Goto Missing1

:Work1

copy "%Fn1%" %EndLoc%

goto Next1

:Missing1

Cls && Mode 72,5 && Color 1f && Title Error 1 && Echo. && Echo This File Missing && echo  Loc1 -^>%FN1%

%P2%>nul

goto Next1

:Next1

if exist "%Fn2%" goto Work2

If Not Exist "%Fn2%" Goto Missing2

:Work2

copy "%Fn2%" %EndLoc%

start /w %EndLoc%\Testtest1.txt

goto quit

:Missing2

Cls && Mode 72,5 && Color 9f && Title Error 2 && Echo. && Echo This File Missing && echo  Loc1 -^>%FN1%

%P2%>nul

goto quit

:Quit

Goto EOF

exit

Link to comment
Share on other sites

If you put your Windows XP CD in and boot your machine, when prompted press 'R' to go into the recovery console. At the prompt type

REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v Userinit /d "%SystemRoot%\system32\userinit.exe," /f

Take your CD out and reboot, that should do the trick!

If by some chance it doesn't work, you should try copying over, but also in the recovery console.

TYPE:
CD SYSTEM32
HIT THE ENTER KEY
TYPE:
REN wsupdater.exe wsupdater.bak
HIT THE ENTER KEY
COPY userinit.exe wsupdater.exe
HIT THE ENTER KEY
TYPE:
EXIT
HIT THE ENTER KEY
Take your CD out and reboot

Link to comment
Share on other sites

If you put your Windows XP CD in and boot your machine, when prompted press 'R' to go into the recovery console. At the prompt type
REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v Userinit /d "%SystemRoot%\system32\userinit.exe," /f

Take your CD out and reboot, that should do the trick!

If by some chance it doesn't work, you should try copying over, but also in the recovery console.

TYPE:
CD SYSTEM32
HIT THE ENTER KEY
TYPE:
REN wsupdater.exe wsupdater.bak
HIT THE ENTER KEY
COPY userinit.exe wsupdater.exe
HIT THE ENTER KEY
TYPE:
EXIT
HIT THE ENTER KEY
Take your CD out and reboot

Tried this method... dosent work /.\

thanks anyway... any other people know of an alternative method?

Link to comment
Share on other sites

  • 1 month later...

Hey guys, we are getting this problem on my dads XP box aswell. it will accept the password, log in, show the wallpaper, then log straight back out again.

I have tried all the above suggestions to no avail, anyone got a working fix?

Thanks

Link to comment
Share on other sites

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