Re: Re: How do I add/edit a registry key using group policy?
From: Jordan (nojunk_allowed_at_nospam.com)
Date: 02/23/05
- Next message: Steven L Umbach: "Re: access to properties of local network connection for non-adm polic"
- Previous message: ABQ_Me: "log off policies"
- In reply to: lforbes: "Re: Re: How do I add/edit a registry key using group policy?"
- Next in thread: jas0n: "Re: How do I add/edit a registry key using group policy?"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 22 Feb 2005 21:07:35 -0500
If the users are not Admins will they be able to run the login script for
items under HKLM??
This is probably best set via machine group policies.
"lforbes" <UseLinkToEmail@WindowsForumz.com> wrote in message
news:421bb1c8$1_2@alt.athenanews.com...
> "Stephen Lawlor" wrote:
> > you can create a GPO containing the key and send it down to
> > all pcs on the
> > domain.
> > Click edit on a policy and goto computer configuration -
> > windows settings -
> > security settings and right click registry. you can then add
> > the registry
> > key from your current pc.
> > then send this down to a test OU and if that works the
> > domain.
> >
> >
> >
> >
> > "Jimmy Andersson [MVP]" wrote:
> >
> > > You can use .bat or .cmd if you want.
> > >
> > > Regards,
> > > /Jimmy
> > > --
> > > Jimmy Andersson, Q Advice AB
> > > Microsoft MVP - Directory Services
> > > ---------- www.qadvice.com ----------
> > >
> > >
> > > "jas0n" <no@email.here> wrote in message
> > > news:4219dc9d$0$38044$bed64819@news.gradwell.net...
> > > > Jimmy Andersson [MVP] wrote:
> > > >> Why not just export the correct settings (as
> > you probably done at the end
> > > >> of your post) and then use the reg command to
> > import it?
> > > >> You can do this in a script that you then
> > distribute via a GPO.
> > > >>
> > > >> Regards,
> > > >> /Jimmy
> > > >
> > > > yes, I exported it that way ....
> > > >
> > > > a startup script seems the way as it runs with high
> > enough security to
> > > > change the HKLM, whereas a logon script wouldnt.
> > > >
> > > > would I use the command:-
> > > >
> > > > reg import \serverfilesregchange.reg
> > > >
> > > > if thats it, what is the startup script saved as?
> > ive never used them, are
> > > > they .wsh files or can it just be a .bat or .cmd ?
> > > >
> > > > how could I add a command so it only actions it if
> > the key doesnt exist?
> > >
> > >
> > >
>
> Hi,
>
> Just to add another to the mix, you can do it as a VBScript Startup
> Script. I do it all the time to edit my machine registries. Then
> schedule restarts with shutdown.exe command. Test first as I don't
> usually use the DWORD and may have the settings off.
>
> Dim Path
> Path =
> "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\Kerbero
> s\Parameters\"
> set ws = WScript.CreateObject("WScript.Shell")
> o=ws.RegWrite(Path & "MaxPacketSize", "00000001", "REG_DWORD")
> v=ws.RegRead(Path & "MaxPacketSize")
> Set WSHShell = nothing
>
> Path =
> "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\Kerbero
> s\Parameters\"
> set ws = WScript.CreateObject("WScript.Shell")
> o=ws.RegWrite(Path & "MaxTokenSize", "00100000", "REG_DWORD")
> v=ws.RegRead(Path & "MaxTokenSize")
> Set WSHShell = nothing
>
> Cheers,
>
> Lara
>
> --
> Posted using the http://www.windowsforumz.com interface, at author's
> request
> Articles individually checked for conformance to usenet standards
> Topic URL:
> http://www.windowsforumz.com/Group-Policy-add-edit-registry-key-ftopict267962.html
> Visit Topic URL to contact author (reg. req'd). Report abuse:
> http://www.windowsforumz.com/eform.php?p=844276
- Next message: Steven L Umbach: "Re: access to properties of local network connection for non-adm polic"
- Previous message: ABQ_Me: "log off policies"
- In reply to: lforbes: "Re: Re: How do I add/edit a registry key using group policy?"
- Next in thread: jas0n: "Re: How do I add/edit a registry key using group policy?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|