5 replies
by starschip Accepted solution
by robo_dev Accepted solution
http://techtasks.com/code/viewbookcode/378
' From the book "Windows XP Cookbook"
' ISBN: 0596007256
' ------ SCRIPT CONFIGURATION ------
strUserName = "" ' e.g. rallen
strFullName = "" ' e.g. Robbie Allen
strDescr = "" ' e.g. Employee account
strPassword = ""
strComputer = ""
' ------ END CONFIGURATION ---------
set objSystem = GetObject("WinNT://" & strComputer)
set objUser = objSystem.Create("user", strUserName)
objUser.FullName = strFullName
objUser.Description = strDescr
objUser.SetPassword strPassword
objUser.SetInfo
WScript.Echo objUser.Name & " created"
by starschip Accepted solution
local user already creted, need to assign local user to regkey
the key is in \HKEY_LOCAL_MACHINE\Software\Software App here
I can add the local user o the software key and assign permissions by clicking on properties of the software key while in the registry. I need to script process this without physically accessing each machine registry.
thanks
gary
by cweber Accepted solution
In Group policy management the setting that you want is under
Computer Configuration\Windows Settings\Security Settings\Registry
Add the registry key and the desired permission.
by starschip Accepted solution
This discussion is closed to new replies.
Trending Windows Forum posts
Sort by Trending