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

Article translations Article translations
Article ID: 891768 - View products that this article applies to.
Expand all | Collapse all

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:
http://technet.microsoft.com/en-us/interopmigration/bb380242.aspx
http://technet.microsoft.com/en-us/interopmigration/bb380242.aspx

Properties

Article ID: 891768 - Last Review: November 5, 2007 - Revision: 4.2
APPLIES TO
  • Microsoft Windows Services for UNIX 3.5
Keywords: 
kbhowto kbinfo KB891768

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com