How to use a script to install the Windows Services for UNIX 3.5 password synchronization component on a domain controller

This article has been archived. It is offered "as is" and will no longer be updated.
INTRODUCTION
This article contains a script that you can use to install the Microsoft Windows Services for UNIX 3.5 password synchronization component on a domain controller.

The Windows Services for UNIX 3.5 password synchronization component must be installed on all the domain controllers in a domain. You can use this script to remotely install the password synchronization component.
MORE INFORMATION
Microsoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements. To remotely install the Windows Services for UNIX 3.5 password synchronization component, run a script that is similar to the following.

Note You can run this script from a member server. However, you must use an account with domain administrator rights to log on to the server.
'set variables	Computer = InputBox("Domain controller name")	MSIlocation = "sfusetup.msi" 'must be complete path of package	CmdLineOptions = "ADDLOCAL=PasswdSync" PIDKEY=<key> SFUDIR=<location> /q	AllUsers = FALSE 'install for current user only; set to TRUE to install for all users	'bind to winmgmnt	Set WMI = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & Computer & "\root\cimv2")	'obtain an instance of the products object	Set WMIapp = WMI.Get("Win32_Product")	'install the program	WMIApp.Install MSIlocation, CmdLineOptions, AllUsers
Note You can modify this script to loop through a list of domain controllers.
REFERENCES
For additional information about Windows Services for UNIX 3.5, visit the following Microsoft Web sites:
Single Sign-on ssod sso password sync
Properties

Article ID: 891768 - Last Review: 01/17/2015 09:44:28 - Revision: 4.2

  • Microsoft Windows Services for UNIX 3.5
  • kbnosurvey kbarchive kbhowto kbinfo KB891768
Feedback