#183113 - 2007-11-30 11:13 PM
HKLM registry changes if user is not a local administrator
|
DilipBalsaraf
Lurker
Registered: 2007-11-16
Posts: 4
|
I am trying to write into HKLM thru a GPO based domain logon script. But since the user is not a local administrator, the writevalue function does not work. Is there a way to make HKLM based registry changes without requiring the user to be in the local administrators group ?
Thanks
|
Top
|
|
|
|
#183114 - 2007-11-30 11:16 PM
Re: HKLM registry changes if user is not a local administrator
[Re: DilipBalsaraf]
|
DilipBalsaraf
Lurker
Registered: 2007-11-16
Posts: 4
|
I am trying to do this
writevalue ("HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\StorageDevicePolicies", "WriteProtect", 1 , "REG_DWORD")
|
Top
|
|
|
|
#183115 - 2007-11-30 11:16 PM
Re: HKLM registry changes if user is not a local administrator
[Re: DilipBalsaraf]
|
DilipBalsaraf
Lurker
Registered: 2007-11-16
Posts: 4
|
which does not work
|
Top
|
|
|
|
#183151 - 2007-12-02 04:07 PM
Re: HKLM registry changes if user is not a local administrator
[Re: Arend_]
|
Shawn
Administrator
   
Registered: 1999-08-13
Posts: 8611
|
Moved this off-topic stuff here. Sorry for hi-jacking.
|
Top
|
|
|
|
#183212 - 2007-12-03 04:50 PM
Re: HKLM registry changes if user is not a local administrator
[Re: Shawn]
|
DilipBalsaraf
Lurker
Registered: 2007-11-16
Posts: 4
|
Thanks for your inputs! I am going to try some of these solutions and let you know.
|
Top
|
|
|
|
Moderator: Glenn Barnas, NTDOC, Arend_, Jochen, Radimus, Allen, ShaneEP, Ruud van Velsen, Mart
|
0 registered
and 1574 anonymous users online.
|
|
|