[THIN] VBScripts

  • From: "Joe Shonk" <joe.shonk@xxxxxxxxx>
  • To: <thin@xxxxxxxxxxxxx>
  • Date: Wed, 13 Apr 2005 15:57:12 -0700

Hello,

 

Does anyone know a way to grant users the Ability to write to the
HKEY_CURRENT_USER key using the Standard Registry Provider (StdRegProv) on a
Windows 2003 TS?

 

The StdRegProv worked well under Windows 2000 but something changed in W2K3.
Ironically, users can write directly to their HKEY_USERS\{User's SID}\ hive.
When a user attempts to write to HKCU nothing happens, no errors are
reported, regmon shows nothing yet the scripts work fine on a W2K machine.
I've also tried using different Impersonate levels with no success.

 

Using the wscript.shell object works for the most part, except that writing
a Binary value with regwrite will only write a single integer (as a binary
value) and not an array of integers.

 

Joe

Other related posts: