The problem with distributing the registry settings over the network is that a user's profile is not loaded into the registry until they log in. I believe if you look through the documentation for Win32::TieRegistry, you should find a way to load a registry file explicitly into the registry and then alter it.
-----Original Message----- From: Mike Brentlinger [mailto:[EMAIL PROTECTED]] Sent: Monday, May 06, 2002 7:22 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: Registry and Microsoft Outlook User Settings Well I can tell you the following... I used regmon from http://www.sysinternals.com/ to see what keys are modified for email editor preferances so I could force people to start using plain text messages rather than some terrible color schemed html or rtf format. [------------begin file plaint.reg-----------------] REGEDIT4 [HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Outlook\Options\Mail] "EditorPreference"=dword:00010000 [------------end file plaint.reg-----------------] Then once I knew the key that changed (by using regmon and changing my own pereferances) I enforced it across the network using standard perl registry access methods, and also via a logon script command to import the config everytime a user logged in... ie if %os% == Windows_NT regedit /s %0\..\plaint.reg > null Simple, and effective. I suppose if you really wanted to be mean you could ACL the registry keys and prevent users from changing it back as well. ----Original Message Follows---- From: "Ailes, Kevin" <[EMAIL PROTECTED]> To: "Perl-win32-admin list \([EMAIL PROTECTED]\)" <[EMAIL PROTECTED]> Subject: Registry and Microsoft Outlook User Settings Date: Mon, 6 May 2002 08:55:00 -0500 I have been asked to turn off the "display notification" option for all outlook users at my company. I have made some feable attempts to understand the methods that microsoft uses to store this particular option for the user but alas, I am hoping one of you may be able to help. I have altiris deployment server and have been using the rapid install software to try to determine the registry key affected. To start, it does appear to be located in the current_user portion of the registry, however, this morning I turned this option off for 2 users on the same machine and the keys that were modified are different. Anyway, assuming I do figure out what exactly needs to be changed in the registry, I still need to solve the problem of how to deploy this modification. Deployment server doesn't give me the option of updating user's registry settings if they aren't logged in, so there must be some way to access all of these registries on the network profiles and modify them. Has anyone done this? I have only ever connected to live computers and queried their registries, never updated using perl. Our network is all NT 4 sp6a and our profiles are stored on a main file server. Thanks for any help, Kevin Ailes Administrator OTTO Engineering _______________________________________________ Perl-Win32-Admin mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com _______________________________________________ Perl-Win32-Admin mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs _______________________________________________ Perl-Win32-Admin mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
