Logon Script appears to run multiple times during logon

Article Number: 0000000041

Created On: 2007-07-30 10:15:53

Last Updated: 2010-07-30 02:53:15


Number of Views: 1888

#

Question

Why do I get two logon scripts running during login?



Symptoms

Logon scripts run multi times during the login process and can cause the logon time to be increased.



Cause

The most likely cause of this is that the Registry Key "UserInit" has multiple entries (separated by a comma).

e.g.

C:WINDOWSsystem32RgrUInit.exe, C:WINDOWSsystem32userinit.exe,

This situation can occur when you upgrade A windows XP SP1 system to SP2 while ranger is installed, the windows upgrade adds in the userinit.exe to the registry key and leaves ranger rgrunit.exe intact.



Resolution

Possible solutions:

 

  1. Do a RangerRemove followed by a RangerInstall.
  2. Manually edit the values using Regedit.



Instructions

Option 1 - Ranger Remove and Install

 

Logon to the faulty computer as the rangerremove user, restart the computer and logon as rangerinstall.

 

Option 2 - Manually edit the registry

 

NOT RECOMMENDED unless you are experienced with registry settings

  • Click Start, Run and enter REGEDIT or REGEDT32 and Go to:
  • HKEY LOCAL MACHINESOFTWAREMicrosoftWindows NTCurrentVersionWinlogon
  • Look in the right pane for a value called Userinit. Alter It's value to read:

 

C:WINDOWSsystem32RgrUInit.exe,

 

This assumes that XP is installed in the C:Windows folder. If it reads anything else, then you need to apply this to the solution.



Testing

  1. Manually check the registry entry shown in option 2 to be correct.
  2. Confirm the logon script no longer runs twice.



See Ranger in Action

We are happy to provide a live demonstration of any of our products.

We can either visit you on-site, or set up a web demo which you can access remotely - whichever suits you best. Just click the link below and send us your details.

Send my details

Alternatively call: 08456 717 101