[windows2000] Re: registry permissions

  • From: "Sullivan, Glenn" <GSullivan@xxxxxxxxxxxxxx>
  • To: "'windows2000@xxxxxxxxxxxxx'" <windows2000@xxxxxxxxxxxxx>
  • Date: Thu, 9 Oct 2003 15:05:39 -0400

Via the command line:
My Documents:
Change the value named "Personal" in
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders and
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders
using something like reg.exe, a regedit import file, VBS, or regini.

For example, in VBS:
objReg.SetExpandedStringValue HKEY_CURRENT_USER,
"Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders",
"Personal", "V:\" & strNTName
(all one line, and I have variables in my script for HKEY_CURRENT_USER and
strNTName)

Permissions:
SubInACL.exe from the resource kit.  But you will have to research this...
it appears to add ACL's in the wrong order.

Take a look at this code sample, for more info:
http://tinyurl.com/qcse

HTH,

Glenn Sullivan, MCSE+I  MCDBA
David Clark Company Inc. 

-----Original Message-----
From: Eduardo Freitas [mailto:eduardofreitas@xxxxxxxxxxxx]
Sent: Thursday, October 09, 2003 2:24 PM
To: windows2000@xxxxxxxxxxxxx
Subject: [windows2000] registry permissions


Hi all!
I am trying to create some scripts to automate the set up of some
workstations. One program that the users have to run need some changes in
the permissions of some registry keys. How can I do that in the command
line?

Another question: How can I redirect My Folders to some network drive via
command line as well?
 
Regards,
 
Eduardo Herrmann de Freitas

********************************************************
This Week's Sponsor - RTO Software / TScale
What's keeping you from getting more from your terminal servers? Did you
know, in most cases, CPU Utilization IS NOT the single biggest constraint to
scaling up?! Get this free white paper to understand the real constraints &
how to overcome them. SAVE MONEY by scaling-up rather than buying more
servers.
http://www.rtosoft.com/Enter.asp?ID=147
**********************************************************
To Unsubscribe, set digest or vacation
mode or view archives use the below link.

http://thethin.net/win2000list.cfm
********************************************************
This Week's Sponsor - RTO Software / TScale
What's keeping you from getting more from your terminal servers? Did you know, 
in most cases, CPU Utilization IS NOT the single biggest constraint to scaling 
up?! Get this free white paper to understand the real constraints & how to 
overcome them. SAVE MONEY by scaling-up rather than buying more servers.
http://www.rtosoft.com/Enter.asp?ID=147
**********************************************************
To Unsubscribe, set digest or vacation
mode or view archives use the below link.

http://thethin.net/win2000list.cfm

Other related posts: