Change local security policy?
Has anyone ever used PDQ to change a setting in a computers local (not GPO) security policy?
-
I've not done it, but you could try wrapping secedit into a powershell script with a pre-configured cfg file that has your changes in it that you can do a secedit /import [somefile].cfg ....
Would probably just be more prudent to just use actual Group Policy if you are on a domain though, although this of course could be a special one-off use case. But there you go. I'd start looking into that.
-
The nice thing about about group policy is it gets applied Local > Site > Domain > OU. So if you make changes in Group Policy that conflict with the Local Policy, unless local policy is enforced, your changes at the Domain or OU level will over right them. So you may not have to look down the secedit path. Food for thought.....
-
Yup! Give this a read: https://technet.microsoft.com/en-us/library/cc785665(v=ws.10).aspx
Please sign in to leave a comment.
Comments
5 comments