Difference between revisions of "WPKG with Active Directory"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m
Line 3: Line 3:
 
<gallery>
 
<gallery>
 
Image:Wpkg_ad1.png|First, run dsa.msc
 
Image:Wpkg_ad1.png|First, run dsa.msc
Image:Wpkg_ad2.png|Then navigate to the group of computers, and select "Eigenschaften"
+
Image:Wpkg_ad2.png|Then navigate to the group of computers, and select "Eigenschaften" ("Properties")
 
Image:Wpkg_ad3.png|Next, select "Gruppenrichtlinie" and select "Bearbeiten"
 
Image:Wpkg_ad3.png|Next, select "Gruppenrichtlinie" and select "Bearbeiten"
 
</gallery>
 
</gallery>
Line 14: Line 14:
  
 
Navigate to '''Computerkonfiguration -> Administrative Vorlagen -> System -> Skripts'''.
 
Navigate to '''Computerkonfiguration -> Administrative Vorlagen -> System -> Skripts'''.
 +
('''Computer Configuration -> Administrative Templates -> System -> Scripts''')
  
 
Make sure that "'''Startscripts asynchron ausführen'''" is set to "'''Aktiviert'''".
 
Make sure that "'''Startscripts asynchron ausführen'''" is set to "'''Aktiviert'''".
 +
('''Apply Startup scripts asynchronously''' is set to '''activated''')
  
 
This make sure that the user can log in, even though the software is still being installed.
 
This make sure that the user can log in, even though the software is still being installed.

Revision as of 17:52, 10 March 2006

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:


Next, you have to choose the right settings for the execution of scripts:

Navigate to Computerkonfiguration -> Administrative Vorlagen -> System -> Skripts. (Computer Configuration -> Administrative Templates -> System -> Scripts)

Make sure that "Startscripts asynchron ausführen" is set to "Aktiviert". (Apply Startup scripts asynchronously is set to activated)

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).


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


NOTE!
Sometimes, for an unknown reason, a group policy is not applied when it is set up and the workstations are rebooted for the first time. This may look like WPKG not working, but a second reboot proves that it's an issue with the Active Directory.