registry
From: Andy (anonymous_at_discussions.microsoft.com)
Date: 05/04/04
- Next message: Andrew Mitchell: "Re: Login security"
- Previous message: Sebastjan Kocelj, Avtenta.SI: "Re: Nachi.worm Problem"
- Next in thread: Drew Cooper [MSFT]: "Re: registry"
- Reply: Drew Cooper [MSFT]: "Re: registry"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 4 May 2004 02:18:14 -0700
Hi all
I have a problem regarding writing registry keys.
I am trying to write this key to the registry for users:
[HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Sys
tem]
"DisableCMD"=dword:00000001
(no cmd prompt and no running batch files)
I am writing it via kix logon script using this
translation:
WriteValue
("HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Sy
stem","DisableCMD","00000001","REG_DWORD")
this works fine locally on my xp machine, when i run
through the kix logon to windows 2000 machines i get this
in the registry:
[HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Sys
tem]
"DisableCMD"=dword:00000002
And this allows users to create batch files through
notepad and execute programs from the banned list, does
any one know why the key writes like it does?
Thanks
Andy
- Next message: Andrew Mitchell: "Re: Login security"
- Previous message: Sebastjan Kocelj, Avtenta.SI: "Re: Nachi.worm Problem"
- Next in thread: Drew Cooper [MSFT]: "Re: registry"
- Reply: Drew Cooper [MSFT]: "Re: registry"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]