/build/static/layout/Breadcrumb_cap_w.png

Auto log script not working after 7.2 upgrade

I just upgraded from version 6.4 to 7.2 of KACE and now an autolog script that has been used for years does not work.  Every time a non administrative user would try to login it would logoff right away. I found that this issue was in the registry HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon 
userinit  The value name was C:\\Windows\SysNative\KusrInit.exe  I know that KusrInit is from KACE, obviously this has changed since the upgrade.  I manually changed the string to \Windows\System32\userinit.exe which fixed the issue, but now obviously this will break KACE seeing it or talking to it.

So now that I run 7.2 I am assuming that string will have to be different.  What changes will I have to make to the script to fix this?  I never had to add this before here is the script:
  1. Set “HKLM64\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon!DefaultDomainName” to “*****”.
    trashcan-icon.png
  2. Set “HKLM64\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon!DefaultUserName” to “******”.
    trashcan-icon.png
  3. Set “HKLM64\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon!AutoAdminLogon” to “1”.
    trashcan-icon.png
  4. Set “HKLM64\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon!DontDisplayLastUserName” to “1”.
    trashcan-icon.png
  5. Set “HKLM64\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon!DefaultPassword” to “******”.
    trashcan-icon.png
  6. Launch “%WINDIR%\System32\cmd.exe” with params “/C shutdown -r -f -c ”Restart by KBOX“ -t 120 -d U:00:00”   
What I am I missing?

0 Comments   [ + ] Show comments

Answers (1)

Posted by: Channeler 6 years ago
Red Belt
0
This is not a 7.2 issue, Userinit changes from time to time depending on the agent version.

For example, see this PRE 6.4 post from 2012

http://www.itninja.com/question/changes-to-userinit
Kind of the issue you are having... I'm afraid that script will need to be adjusted.

My advice is update your kbox and agents to 8.0, and then do the adjustments.

If you choose to stay in 7.2, then a year from now you update your agents to 8.0, then you will need to re-adjust the script again.

Another option, grab a dummy PC experiencing the  issue , and try a NOHOOKS agent install:
https://support.quest.com/kace-systems-management-appliance/kb/153581/kace-k1000-agent-installation-properties

This will help you to narrow it down.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

View more:

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ