Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

REG_WRITE writes to wrong key

Status
Not open for further replies.

sfriday

IS-IT--Management
Feb 23, 2002
211
DE
All,

I am running a vbscript that writes to HKEY_USERS\.DEFAULT\CONTROL PANEL\DESKTOP\WALLPAPER

I am running this from CMDLINES.TXT (Unattended Workstation build for XP), however it writes to HKCU\CONTROL PANEL\WALLPAPER.

If I run the program after the build has finished, it is ok, could this be that during the build HKEY_USERS gets renamed to HKEY_CURRENT_USER??

I am going to post this on win2000mag.net as well
Steve
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top