3,217
edits
Changes
m
no edit summary
Below settings for Active Directory - screenshots are in German, but I think anyone who doesn't know German, but saw Active Directory will know what to do:
<gallery>
Image:Wpkg-ad1.png|First, run dsa.msc
Image:Wpkg-ad2.png|Then navigate to the group of computers, and select "Eigenschaften"
Image:Wpkg-ad3.png|Next, select "Gruppenrichtlinie" and select "Bearbeiten"
</gallery>
Next, you have to choose the right settings for the execution of scripts:
<gallery>
Image:Wpkg-ad4.png|Correct settings for script execution
</gallery>
Navigate to '''Computerkonfiguration -> Administrative Vorlagen -> System -> Skripts'''.
Make sure that "'''Startscripts asynchron ausführen'''" is set to "'''Aktiviert'''".
This make sure that the user can log in, even though the software is still being installed.
It's a good choice, because some unpatient users will just press Reboot button when they can't log in immediately, which can have unexpected results (software not installed properly etc.).
Next thing to set is setting "'''Maximale Wartezeit für Gruppenrichtlinienskripts'''". Default is 600 seconds (10 minutes), which can be often not enough for installing some software, or when you install more than one software package. So a safe bet is 1800 seconds (30 minutes).
<gallery>
Image:Wpkg-ad5.png|Selecting a script
</gallery>
The last thing you have to do, is to select a script which will start WPKG on a system start.
This script is located in a batch file:
'''\\server\path\to\WPKG\wpkg-start.bat'''
and contains the folowing line which starts WPKG:
'''cscript \\server\path\to\WPKG\wpkg.js /synchronize /quiet /nonotify'''
<gallery>
Image:Wpkg-ad1.png|First, run dsa.msc
Image:Wpkg-ad2.png|Then navigate to the group of computers, and select "Eigenschaften"
Image:Wpkg-ad3.png|Next, select "Gruppenrichtlinie" and select "Bearbeiten"
</gallery>
Next, you have to choose the right settings for the execution of scripts:
<gallery>
Image:Wpkg-ad4.png|Correct settings for script execution
</gallery>
Navigate to '''Computerkonfiguration -> Administrative Vorlagen -> System -> Skripts'''.
Make sure that "'''Startscripts asynchron ausführen'''" is set to "'''Aktiviert'''".
This make sure that the user can log in, even though the software is still being installed.
It's a good choice, because some unpatient users will just press Reboot button when they can't log in immediately, which can have unexpected results (software not installed properly etc.).
Next thing to set is setting "'''Maximale Wartezeit für Gruppenrichtlinienskripts'''". Default is 600 seconds (10 minutes), which can be often not enough for installing some software, or when you install more than one software package. So a safe bet is 1800 seconds (30 minutes).
<gallery>
Image:Wpkg-ad5.png|Selecting a script
</gallery>
The last thing you have to do, is to select a script which will start WPKG on a system start.
This script is located in a batch file:
'''\\server\path\to\WPKG\wpkg-start.bat'''
and contains the folowing line which starts WPKG:
'''cscript \\server\path\to\WPKG\wpkg.js /synchronize /quiet /nonotify'''