Jump to content

Recommended Posts

Posted

Hello.

I create several users using a useraccounts.cmd called from cmdlines.txt. I am trying to customize these users, but I think it must be impossible.

net user User1 /add

net user User2 /add

Now, if I create files/folders/etc... in $Docs\User1 or $Docs\User2 to be copied over during Windows install, they do copy over, but when these users actually login for the first time, windows doesn't use these folders. Instead, a $Docs\User1.COMPUTERNAME folder is created, bypassing the default. This shows $Docs folder to be useless.

So, I am wondering if it is possible to create a runonce entry in the registry that will be executed when these users first login. If it is possible, where in the registry can I put these runonce entries so User1 will get User1's info, and User2 will get User2's info?


Posted

RunOnce or RunOnceEx in the HKCU hive, as opposed to the HKLM hive, should work. There was a post about just that in the last couple months, and I believe this was the solution. Keep us posted as to if you find it, and it works!

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...