logon script to modify registry setting
Jason Bachman
jabachman at hiestandsupply.com
Mon Aug 14 18:59:06 GMT 2000
That's interesting. I have always made the changes in my Ntconfig.pol file
on the netlogon share of the server and they took affect on the next user
logon. Do you have remote update enabled in the policy?
-------------------------------
Jason Bachman
Information Systems Manager
Hiestand Supply Company
jabachman at hiestandsupply.com
-----Original Message-----
From: samba-ntdom at samba.org [mailto:samba-ntdom at samba.org]On Behalf Of
Melissa M. Thrush
Sent: Monday, August 14, 2000 12:04 PM
To: Multiple recipients of list SAMBA-NTDOM
Subject: logon script to modify registry setting
Hi,
I am having a problem with large profile sizes, so I've modified my
NTConfig.pol to restrict profile sizes and to exclude directories in the
roaming profile. However, this will only take affect on new user logons,
correct? Anyone who has been logging in will still have a large profile
and won't be affected by the Policy Editor, right? So I was going to try
to use the netlogon\scripts option and write a script that would make a
change to the user's registry when they logged in:
HKCU\Software\Microsoft\Windows NT\CurrentVersion\Winlogon
ExcludeProfileDirs
I know regedit.exe can do this, but how do I write a script to modify the
registry?
I can't just say:
[HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Winlogon]
"ExcludeProfileDirs"=REG_SZ:Temporary Internet Files
Any suggestions? I'm running Samba-2.0.7 as a PDC.
Thanks,
Melissa
--
Melissa Thrush Dept. of Electrical Engineering
mthrush at virginia.edu University of Virginia
Thornton Hall C213 351 McCormick Road
Phone: (804) 924-6072 P.O. Box 400743
Fax: (804) 924-8818 Charlottesville, VA 22904-4743
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Jason Bachman.vcf
Type: text/x-vcard
Size: 527 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-ntdom/attachments/20000814/fe50a654/JasonBachman.vcf
More information about the samba-ntdom
mailing list