Thanks to group policies, you can define many policies, but also preferences for computer configuration and user configuration. These preferences are also called GPPs for : Group Policy Preferences.
The main difference being that :
In this tutorial, we will quickly show you what preferences can be set for computer and user through Group Policies.
For each type of preference, you can choose an action :
Using preferences, you will be able to create and/or update environment variables on the client computer.
To do this, select "Environment" in the left list and right click "New -> Environment variable" in the right part.
Select the desired action (usually : update), as explained at the start of the tutorial.
Then, in the case of environment variables, you will have the option to create, replace, update or delete custom environment variables on the client PC.
But, you can also edit the "PATH" environment variable which contains many paths to different system folders.
Using preferences, you will be able to create, update or delete files on the client computer.
To do this, select "Files" in the list on the left and right click "New -> File" in the right part.
As you will quickly understand, you can create a file on the computer from an existing file accessible via the network.
In this case, we created a shared folder named "shared_data" on our domain controller and created an "app-config.ini" file there.
Then, on the client PC, the file "\\DC\shared_data\app-config.ini" (accessible via the network) will be copied to its local folder "C:\Program Files (x86)\My App\app-config.ini".
You can also create folders on the client computer.
To do this, select "Folders" in the list on the left and right click "New -> Folder" in the right part.
To create a new folder, specify its path to create the corresponding tree structure on the client PC.
In the "Ini Files" section, you can create ".ini" files.
To create a new ".ini" file, you must specify :
To create, update or delete a new registry key, go to the "Registry" section and right click "New -> Registry Item".
In registry properties, you can :
If the key to be created on the computer also exists on your server, you can click on the "..." button in the "Key Path" line.
You will be able to browse the registry of your server and select the data in the desired key.
This will automatically fill in all the required fields correctly.
Windows Server 8/27/2021
Windows Server 7/23/2021
Windows Server 7/31/2021
Windows Server 7/3/2021
® InformatiWeb-Pro.net - InformatiWeb.net 2008-2021 - © Lionel Eppe - All rights reserved.
Total or partial reproduction of this site is prohibited and constitutes an infringement punishable by articles L.335-2 and following of the intellectual property Code.