Jump to content

My HKCU not sticking workaround...


Recommended Posts

Even though I Import my Global settings/tweaks at the 12min (CMDLINES) mark some of them just dont stick...

And since I have multiple users per machine this is how I now do it...

I import everything once in cmdlines...

rundll32 setupapi,InstallHinfSection DefaultInstall C:\\Scripts\\Settings.inf

Then from RunOnceEX on my first boot it auto logs in under administrator.. I have a batch that runs the following..

IF %ComputerName% == %Host% runas /user:%user% "rundll32 setupapi,InstallHinfSection DefaultInstall C:\\Scripts\\Settings.inf" > nul

This way I can import the settings for different users without actually being logged into that account.

Its simple i know.. I'd just never even considered runas... So no flaming my retard idea.. :)

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