[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 172
  • Last Modified:

Is it possible to change local computer policies with vbscript ?

is this included in vbs.
0
itbabe
Asked:
itbabe
1 Solution
 
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
 
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

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now