Is it possible to change local computer policies with vbscript ?

is this included in vbs.
itbabeAsked:
Who is Participating?
 
grayeCommented:
...not directly, however you can use the command-line tool SECEDIT inside your VBScript to accomplish the same thing

http://technet2.microsoft.com/WindowsServer/en/Library/b1007de8-a11a-4d88-9370-25e2445605871033.mspx

You'd first create a template file using the normal secpol.msc (or other means), and then deploy this template the secedit.exe tool.
0
 
bruintjeCommented:
Hello itbabe,

using WMI you can do a lot you could look at
source: http://www.cruto.com/resources/vbscript/vbscript-examples/vbscript-sitemap.asp

hope this helps a bit
bruintje
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.