I am well aware on how to write the code, the issue is something changed within W2k3 in which Users cannot write to HKCU using the stdregprov. Joe -----Original Message----- From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On Behalf Of Martin Stephenson Sent: Monday, April 18, 2005 11:13 PM To: thin@xxxxxxxxxxxxx Subject: [THIN] Re: VBScripts If you want more info on how to write VBscript WMI calls for registry edits, including binary values, take a look at: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmisdk/wmi/ wmi_tasks__registry.asp Martin. On 4/15/05, Joe Shonk <joe.shonk@xxxxxxxxx> wrote: > Using WMI StdRegProv you can write a Binary value from an Array. Using the > shell object, you can write a Binary value from an Integer. > > -----Original Message----- > From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On Behalf > Of BRUTON, Malcolm, FM > Sent: Thursday, April 14, 2005 1:08 AM > To: 'thin@xxxxxxxxxxxxx' > Subject: [THIN] Re: VBScripts > > I don't believe there is an MS way of writing Binary values using regwrite. > You need to rely on 3rd party DLL I believe. > > Malcolm > > -----Original Message----- > From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On Behalf > Of Braebaum, Neil > Sent: 14 April 2005 08:56 > To: thin@xxxxxxxxxxxxx > Subject: [THIN] Re: VBScripts > > Do you get the same results using addkey or writevalue in Kix? > > What happens if you try and import a reg file? > > Users *must* have the *right* to be able to update HKCU, because not > everything will be done by proxy, so I'm wondering if it's the > mechanism, rather than the overall thing. > > Neil > > > -----Original Message----- > > From: thin-bounce@xxxxxxxxxxxxx > > [mailto:thin-bounce@xxxxxxxxxxxxx] On Behalf Of Joe Shonk > > Sent: 13 April 2005 23:57 > > To: thin@xxxxxxxxxxxxx > > Subject: [THIN] VBScripts > > > > 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 > > > > > > **************************************************************************** > * > This e-mail and its attachments are confidential and are intended for the > above named recipient only. If this has come to you in error, please notify > the sender immediately and delete this e-mail from your system. You must > take no action based on this, nor must you copy or disclose it or any part > of its contents to any person or organisation. Statements and opinions > contained in this email may not necessarily represent those of Littlewoods. > Please note that e-mail communications may be monitored. The registered > office of Littlewoods Limited and it's subsidiaries is 100 Old Hall Street, > Liverpool, L70 1AB. Registered number of Littlewoods Limited is 262152. > **************************************************************************** > * > > This message has been scanned for viruses by BlackSpider MailControl - > www.blackspider.com > ******************************************************** > This Weeks Sponsor: RTO Software TScale > TScale provides a cost-effective way to improve performance, capacity and > stability for thin-client servers like Citrix MetaFrame or Microsoft > Terminal Services running Windows NT, 2000 or 2003. > http://www.rtosoft.com/enter.asp?id)6 > ********************************************************** > Useful Thin Client Computing Links are available at: > http://thin.net/links.cfm > ThinWiki community - Excellent SBC Search Capabilities! > http://www.thinwiki.com > *********************************************************** > For Archives, to Unsubscribe, Subscribe or > set Digest or Vacation mode use the below link: > http://thin.net/citrixlist.cfm > > **************************************************************************** > ******* > The Royal Bank of Scotland plc. Registered in Scotland No 90312. > Registered Office: 36 St Andrew Square, Edinburgh EH2 2YB. > > Authorised and regulated by the Financial Services Authority > > This e-mail message is confidential and for use by the > addressee only. If the message is received by anyone other > than the addressee, please return the message to the sender > by replying to it and then delete the message from your > computer. Internet e-mails are not necessarily secure. The > Royal Bank of Scotland plc does not accept responsibility for > changes made to this message after it was sent. > > Whilst all reasonable care has been taken to avoid the > transmission of viruses, it is the responsibility of the recipient to > > ensure that the onward transmission, opening or use of this > message and any attachments will not adversely affect its > systems or data. No responsibility is accepted by The Royal > Bank of Scotland plc in this regard and the recipient should carry > out such virus and other checks as it considers appropriate. > > Visit our websites at: > > http://www.rbs.co.uk/CBFM > > http://www.rbsmarkets.com > > **************************************************************************** > **** > > ******************************************************** > This Weeks Sponsor: RTO Software TScale > TScale provides a cost-effective way to improve performance, capacity and > stability for thin-client servers like Citrix MetaFrame or Microsoft > Terminal Services running Windows NT, 2000 or 2003. > http://www.rtosoft.com/enter.asp?id=296 > ********************************************************** > Useful Thin Client Computing Links are available at: > http://thin.net/links.cfm > ThinWiki community - Excellent SBC Search Capabilities! > http://www.thinwiki.com > *********************************************************** > For Archives, to Unsubscribe, Subscribe or > set Digest or Vacation mode use the below link: > http://thin.net/citrixlist.cfm > > ******************************************************** > This Weeks Sponsor: RTO Software TScale > TScale provides a cost-effective way to improve performance, capacity and stability for thin-client servers like Citrix MetaFrame or Microsoft Terminal Services running Windows NT, 2000 or 2003. > http://www.rtosoft.com/enter.asp?id=296 > ********************************************************** > Useful Thin Client Computing Links are available at: > http://thin.net/links.cfm > ThinWiki community - Excellent SBC Search Capabilities! > http://www.thinwiki.com > *********************************************************** > For Archives, to Unsubscribe, Subscribe or > set Digest or Vacation mode use the below link: > http://thin.net/citrixlist.cfm > ******************************************************** This Weeks Sponsor: RTO Software TScale TScale provides a cost-effective way to improve performance, capacity and stability for thin-client servers like Citrix MetaFrame or Microsoft Terminal Services running Windows NT, 2000 or 2003. http://www.rtosoft.com/enter.asp?id)6 ********************************************************** Useful Thin Client Computing Links are available at: http://thin.net/links.cfm ThinWiki community - Excellent SBC Search Capabilities! http://www.thinwiki.com *********************************************************** For Archives, to Unsubscribe, Subscribe or set Digest or Vacation mode use the below link: http://thin.net/citrixlist.cfm ******************************************************** This Weeks Sponsor: RTO Software TScale TScale provides a cost-effective way to improve performance, capacity and stability for thin-client servers like Citrix MetaFrame or Microsoft Terminal Services running Windows NT, 2000 or 2003. http://www.rtosoft.com/enter.asp?id=296 ********************************************************** Useful Thin Client Computing Links are available at: http://thin.net/links.cfm ThinWiki community - Excellent SBC Search Capabilities! http://www.thinwiki.com *********************************************************** For Archives, to Unsubscribe, Subscribe or set Digest or Vacation mode use the below link: http://thin.net/citrixlist.cfm