gulias Posted June 15, 2007 Share Posted June 15, 2007 Hi folks, there is a way to each time i create a new Account in windows xp they execute a bat file or vbs? Link to comment Share on other sites More sharing options...
r3incarnat0r Posted June 15, 2007 Share Posted June 15, 2007 Hi, I guess that it should work if you add such command to this registry key:HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\RunOnce Link to comment Share on other sites More sharing options...
gulias Posted June 17, 2007 Author Share Posted June 17, 2007 Thanks, but not working Link to comment Share on other sites More sharing options...
r3incarnat0r Posted June 17, 2007 Share Posted June 17, 2007 What registry value did you create? (Export to *.REG please, so I can see exactly what's wrong.) Link to comment Share on other sites More sharing options...
0d14r3 Posted June 18, 2007 Share Posted June 18, 2007 @r3incarnat0rIs the dot (.) before DEFAULT correct? Link to comment Share on other sites More sharing options...
r3incarnat0r Posted June 18, 2007 Share Posted June 18, 2007 Sure. Run regedit.exe and expand HKEY_USERS key... Link to comment Share on other sites More sharing options...
0d14r3 Posted June 18, 2007 Share Posted June 18, 2007 OK.I see now.Thanks.0d Link to comment Share on other sites More sharing options...
r3incarnat0r Posted June 18, 2007 Share Posted June 18, 2007 @0d14r3:np@gulias:I just tried it and you're right - it doesn't work. I'm gonna figure it out soon. Link to comment Share on other sites More sharing options...
r3incarnat0r Posted June 19, 2007 Share Posted June 19, 2007 OK, there's a solution:If you want to edit registry defaults for new users in already installed system, run regedit.exe, click on the HKEY_USERS item, File menu, Load Hive..., open C:\Documents and Settings\Default User\NTUSER.DAT. Enter any key name, then browse to its Software\...\RunOnce subkey and create a required value there. Don't forget to unload the hive, before you exit the editor. (source)If you wish to add a command to nLited installation files, open the I386\NLITE.INF file (compessed by CAB) and to the [TO] section add an entry similar to a line containing "nltide_3" string (copy/paste/edit value name and value). To edit the NLITE.IN_ file, you may use this script. Link to comment Share on other sites More sharing options...
NaDer_GenKO Posted January 18, 2008 Share Posted January 18, 2008 (edited) OK, there's a solution:If you want to edit registry defaults for new users in already installed system, run regedit.exe, click on the HKEY_USERS item, File menu, Load Hive..., open C:\Documents and Settings\Default User\NTUSER.DAT. Enter any key name, then browse to its Software\...\RunOnce subkey and create a required value there. Don't forget to unload the hive, before you exit the editor. (source)If you wish to add a command to nLited installation files, open the I386\NLITE.INF file (compessed by CAB) and to the [TO] section add an entry similar to a line containing "nltide_3" string (copy/paste/edit value name and value). To edit the NLITE.IN_ file, you may use this script.Thank you very much I was Looking for thisBut I use WPI after installation. some programs add a regKey to "HKEY_USERS\.Default\software\...\RunOnce".These regkeys will be add to the Default Hive or to the User Hive ? Edited January 21, 2008 by NaDer_GenKO Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now