Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: 1526 RegLoadHive RegUnloadHive Access Denied
; the default User's Registry LoadRes=RegLoadHive(@REGUSERS,"DefUser","c:\documents and settings\Default User\ntuser.dat") reg=RegOpenKey(@REGUSERS,"DefUser") ; Make change to Registry (Can be anything) res=regCreateKey(reg,"Software\CCRW") ; Unload and save the Defualt User Hive UnLoadRes=RegUnloadHive(@REGUSERS,"DefUser")
; the default User's Registry LoadRes=RegLoadHive(@REGUSERS,"DefUser","c:\documents and settings\Default User\ntuser.dat") reg=RegOpenKey(@REGUSERS,"DefUser") ; Make change to Registry (Can be anything) res=regCreateKey(reg,"Software\CCRW") ;Free the handles RegCloseKey(reg) RegCloseKey(res) ; Unload and save the Defualt User Hive UnLoadRes=RegUnloadHive(@REGUSERS,"DefUser")
Article ID: W15140
File Created: 2002:09:05:13:49:56
Last Updated: 2002:09:05:13:49:56