Jump to content


Cuken

SCCM 2012 Autologin Failing

Recommended Posts

Hello,

 

We are currently piloting SCCM 2012 to replace our Altiris solution for our Company. We're working through several things and are getting stuck on seemingly simple tasks. Currently we are trying to get an autologin script to work for some of our customer facing machines. In altiris, we can deploy the vbs script and it works just fine. We've created a package with the same vbs script using the command line of autologn.vbs as the argument. The issue we're seeing is that many of the registry keys are getting set correctly, but the key AutoAdminLogin is never setting to anything other than 0. If we run the script manually on the machine it sets the values correctly and works.

 

I've tried including this in the Task Sequence during imaging, as a package outside of the image process, and finally by making the package available and running it while logged in as an admin user from the SCCM client on the desired machine. None of these are allowing the key to set properly.


Is there any insight into why this is happening? I've searched extensively on multiple forums and the closest solution I've found is a 64bit registry problem. We are only using 32bit machines. Any help would be greatly appreciated.

 

Thanks,

Cuken

Share this post


Link to post
Share on other sites

Have you tried putting cscript.exe "autologin.vbs" as the command line parameter?

 

Also you could export the desired registry settings from a machine that has the correct settings and deploy the exported registry key instead of using a vbscript(not unless of course the script does other tasks apart from editing the registry)

Share this post


Link to post
Share on other sites

Still no luck! The amount of ways to import a registry is staggering, and its still not working :) I just tried creating a task sequence referencing the package and that still did not work.Its setting all registry values but one, I'm not sure why it keeps failing on just that one key. Any other ideas?

 

EDIT: Is it possible it has something to do with how we syspreped our image? Something in the unattend.xml?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.