Page 1 of 1 1
Topic Options
#49174 - 2000-03-16 12:57 AM Can I set Regisrty Rights for users
Anonymous
Unregistered


I am trying to set some registry right on nt workstations and I get an error code 5 (access denied),It only works as an administrator. Here is the Key WRITEVALUE("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System","NoDispCPL","1","REG_DWORD"). It disables the screen resolution controlls.
Top
#49175 - 2000-03-15 01:18 PM Re: Can I set Regisrty Rights for users
Bryce Offline
KiX Supporter
*****

Registered: 2000-02-29
Posts: 3167
Loc: Houston TX
I think the person logging on will need to have administrator rights to be able to write to thr reg.

now you could run a script from your computer (or any computer that is loged on as a domain administrator) that would modify a list of target computers.....

WRITEVALUE("\\$target_computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System","NoDispCPL","1","REG_DWORD")

Bryce

Top
#49176 - 2000-03-15 02:24 PM Re: Can I set Regisrty Rights for users
Anonymous
Unregistered


It didnt work ????
Top
#49177 - 2000-03-22 10:14 AM Re: Can I set Regisrty Rights for users
Anonymous
Unregistered


I've been down this road. One solution that we arrived at was to modify the acl of the key we were interested in such that the average user had the correct access. In our case it involved the winexit screen saver, which seems to require admin access to install. In general it seems that most things in HKCU are accessible through the users login script. We wrote a script to remotely modify the required registry properties (in HKLM). In a login script you cannot do this because the user does not have access.
Top
Page 1 of 1 1


Moderator:  Glenn Barnas, NTDOC, Arend_, Jochen, Radimus, Allen, ShaneEP, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 611 anonymous users online.
Newest Members
Sir_Barrington, batdk82, StuTheCoder, M_Moore, BeeEm
17886 Registered Users

Generated in 0.138 seconds in which 0.079 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org