[windows2000] Re: Script to modify HKLU

  • From: "Sorin Srbu" <sorin.srbu@xxxxxxxxxxxxx>
  • To: <windows2000@xxxxxxxxxxxxx>
  • Date: Fri, 19 Dec 2008 09:36:44 +0100

Will it work as a startup/shutdown script? That should happen in the System 
context.

Some of the main branches can't be modified via scripting, HKLM should work, 
but 
there's one that you can't access at all. Can never remember which it is...

-- 
/Sorin


>-----Original Message-----
>From: windows2000-bounce@xxxxxxxxxxxxx 
>[mailto:windows2000-bounce@xxxxxxxxxxxxx]
>On Behalf Of Phillip Newberry
>Sent: Thursday, December 18, 2008 9:22 PM
>To: windows2000@xxxxxxxxxxxxx
>Subject: [windows2000] Re: Script to modify HKLU
>
>the issue that is not working is the write to the registy.  Our users don't 
>have admin
>rights and thus I can't push this out using a login script.
>
>
>
>Phil Newberry
>Network Engineer
>MCSE, MCP+IIS, CNA, CCNA, CET
>
>Lead, follow, or get out of my way!
>
>
>--- On Thu, 12/18/08, Sullivan, Glenn <GSullivan@xxxxxxxxxxxxxx> wrote:
>
>> From: Sullivan, Glenn <GSullivan@xxxxxxxxxxxxxx>
>> Subject: [windows2000] Re: Script to modify HKLU
>> To: windows2000@xxxxxxxxxxxxx
>> Date: Thursday, December 18, 2008, 2:32 PM
>> Did you figure this out?  It seems to me that the problem is
>> that the
>> string {!!Thiswillimportsafesenders} is missing from the
>> string section.
>>
>> Replace that with "This will replace safe
>> senders" and it should work,
>> or add a line to the strings section like this:
>>
>> !!Thiswillimportsafesenders="This will replace safe
>> senders"
>>
>>
>> Glenn Sullivan, MCSE+I MCDBA
>> David Clark Company Inc.
>> -----Original Message-----
>> From: windows2000-bounce@xxxxxxxxxxxxx
>> [mailto:windows2000-bounce@xxxxxxxxxxxxx] On Behalf Of
>> Phillip Newberry
>> Posted At: Tuesday, December 16, 2008 4:04 PM
>> Posted To: Windows 2000
>> Conversation: [windows2000] Re: Script to modify HKLU
>> Subject: [windows2000] Re: Script to modify HKLU
>>
>>
>> I need to build a template to do the following.
>>
>> Hkey_CurrentUser\Software\Microsoft\Office\11.0\Outlook\Options\Mail
>> DWORD - JunkMailImportLists
>> Value = 1
>>
>> Here is my admin template I built that is not working.
>>
>> CLASS USER
>>
>> CATEGORY !!JunkMailImportLists
>>
>> POLICY "Import Safe Senders"
>> KEYNAME
>> "SOFTWARE\Microsoft\Office\11.0\Outlook\Options\Mail"
>>      EXPLAIN !!Thiswillimportsafesenders
>>              VALUENAME "JunkMailImportLists"
>>              VALUEON 1
>>              VALUEOFF 0
>>      END POLICY
>>
>> END CATEGORY
>>
>> When I add this I get prompted the following within AD
>>
>> Error 62
>>
>> The correspondence string was not found in the {String}
>> section.
>>
>> I'm at work and don't have my past notes, thus do
>> not have the
>> information needed today
>>
>>
>> Phil Newberry
>> Network Engineer
>> MCSE, MCP+IIS, CNA, CCNA, CET
>>
>> Lead, follow, or get out of my way!
>>
>>
>>
>>
>>
>> **********************
>> To Unsubscribe, set digest or vacation
>> mode or view archives use the below link.
>>
>> http://www.freelists.org/list/windows2000
>> **********************
>> To Unsubscribe, set digest or vacation
>> mode or view archives use the below link.
>>
>> http://www.freelists.org/list/windows2000
>
>
>
>**********************
>To Unsubscribe, set digest or vacation
>mode or view archives use the below link.
>
>http://www.freelists.org/list/windows2000

Other related posts: