Why the normal user couldn't write some key into registry

G

Guest

My dear,I have a question and it makes me crazy.
In my loginscript, I want to write key into registry,but normal users have
not right to write. When I use Su.exe,the key was wrote into the
administrator's registry,it still couldn't write the normal user's registry.
My God, How can I do? the key I want to write into registry is below:
WriteValue("HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\system","NoDispScrSavPage","1","REG_DWORD")

Any suggestion are very appreciated!!
 
J

Jetro

Policy Editor and or Group Policy are the tools to distribute 'Policies'. As
you've mentioned already, current user has the 'Read' right only on these
keys.
 
G

Guest

Thanks!Our server OS is NT4 and Our workstation OS are Windows 2000
professional SP4. Where can I set in the policy(what item)? Except GPO,Do you
have other ways to do? For example,Can I write DOS command or scripts to set
the right for key in the registry?

Thanks!
Taylor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top