I want to make a script that edits the Registry of the user workstations
.
30 users = Win XP sp3
.
I am a VB programmer but have not ever tried to make a windows script
.
Objective1: Desktop Display Proteries Window : Disable/Hide all tabs EXCEPT for 'Settings Tab'
Objective2: Place in a GPO to execute on workstation startup
.
I have confirmed that a manual entry of the registry works
.
Here are the registry parts:
intDWORDValueData = 1
-------------- END SCRIPT --------------
Windows Server 2008Windows XP
Last Comment
PAGANED
8/22/2022 - Mon
NJComputerNetworks
you can use a STARTUP or shutdown script in a GPO to launch your VBS script... Group Policy Scripts Extension Overview
The Group Policy infrastructure includes a Scripts extension that consists of the following components:
A Microsoft Management Console (MMC) server-side extension of the Group Policy Object Editor MMC snap-in that is used for administering and configuring scripts. The administrator uses the scripts extension to specify scripts policy settings in a Group Policy object (GPO), and then links the GPO to the site, domain, or organizational unit to which the administrator wants to assign the scripts.
The Group Policy Object Editor snap-in includes two extensions for script deployment:
Scripts (Startup/Shutdown). Administrators use this extension to specify scripts that run when the computer starts up or shuts down. These scripts run as Local System. Scripts (Startup/Shutdown) is located under the Computer Configuration\Windows Settings node of Group Policy Object Editor.
Scripts (Logon/Logoff). Administrators use this extension to specify scripts that run when the user logs on or logs off the computer. These scripts run as User, not as Administrator. Scripts (Logon/Logoff) is located under the User Configuration\Windows Settings node of Group Policy Object Editor.
A client-side extension, which is a dynamic-link library (DLL) on the client computer that interacts with the Group Policy infrastructure and implements Group Policy scripts on the client computer. A separate process called Userinit.exe runs the scripts.
.
I was not clear on what I am looking for
.
I know how to put a script into a GPO
But what I have never done is create a script.
.
I have the registry path
I have the registry DWORD items
I have the DWORD value
.
How do I make a script ?
Can you make a script out of the registry entries, so that I can see it and learn from it ?
.
.
Ok Johnb6767 : thank you . I will do that.
Works perfectly for GPO.
.
But could someone make a script out of my information so that I may still learn about creating them in the future ?
.
The Group Policy infrastructure includes a Scripts extension that consists of the following components:
A Microsoft Management Console (MMC) server-side extension of the Group Policy Object Editor MMC snap-in that is used for administering and configuring scripts. The administrator uses the scripts extension to specify scripts policy settings in a Group Policy object (GPO), and then links the GPO to the site, domain, or organizational unit to which the administrator wants to assign the scripts.
The Group Policy Object Editor snap-in includes two extensions for script deployment:
Scripts (Startup/Shutdown). Administrators use this extension to specify scripts that run when the computer starts up or shuts down. These scripts run as Local System. Scripts (Startup/Shutdown) is located under the Computer Configuration\Windows Settings node of Group Policy Object Editor.
Scripts (Logon/Logoff). Administrators use this extension to specify scripts that run when the user logs on or logs off the computer. These scripts run as User, not as Administrator. Scripts (Logon/Logoff) is located under the User Configuration\Windows Settings node of Group Policy Object Editor.
A client-side extension, which is a dynamic-link library (DLL) on the client computer that interacts with the Group Policy infrastructure and implements Group Policy scripts on the client computer. A separate process called Userinit.exe runs the scripts.
something like this: http://windows.stanford.edu/Public/Infrastructure/localgroup.html
http://technet.microsoft.com/en-us/library/cc179134.aspx
http://blogs.technet.com/odsupport/archive/2009/12/17/how-to-deploy-a-patch-using-a-startup-script-via-gpo.aspx