SCCM – installing client via GPO

If you dont have sms / sccm client in your gold disk then GPO is the next best thing to get the SCCM client out into your environment.

This is a real nice and clean install script for IE 7 which i have modified to install SCCM. http://www.symantec.com/connect/blogs/installing-application-using-vbscript

object.Run(strCommand, [intWindowStyle],[bWaitOnReturn])  

'INSTALL MS INTERNET EXPLORER 7 USING VBScript    
Set objShell = WScript.CreateObject("WScript.Shell")
spath = objShell.CurrentDirectory

If fso.FileExists(spath & "\IE7-WindowsXP-x86-enu.exe") Then
	path = """" & spath & "\IE7-WindowsXP-x86-enu.exe" & """ /passive /norestart /update-no"
	objShell.Run(path, 1 ,True)
	i = 0
	'INSTALL MICROSOFT INTERNET EXPLORER 7    
	i = objShell.Run(path, 1 ,True)
	If (i = 0) Or (i = 3010) Then 
		'WRITE EXIT CODE [0-success/3010-success&requires reboot] TO EVENTLOG
		objShell.LogEvent vbLogSuccess, sLogHeader & "Microsoft Internet Explorer 7 installation completed successfully." & VbCrLf & "Exit code: " & i
	Else
		MsgBox "The installation of Microsoft Internet Explorer 7 returned an error: " & i & VbCrLf & _
		"Please contact IT Support to report this error.", vbOKOnly
		objShell.LogEvent vbLogError, sLogHeader & "Installation returned failure code: " & VbCrLf & "Exit code: " & i
	End If

Else
	WScript.Quit (1)
End If

set fso = Nothing
set WSHShell = Nothing
Wscript.Quit

 

160 Replies to “SCCM – installing client via GPO”

  1. Safest the world toasts are made to captivate and also faithfulness to your wedding couple. Beginner sound system watching high decibel locations would be wise to always remember some sort of vital secret created by presentation, which is your auto. best man speeches funny

  2. you’re really a good webmaster. The web site loading pace is incredible. It kind of feels that you are doing any distinctive trick. Furthermore, The contents are masterpiece. you have performed a fantastic process in this subject!

  3. Its like you read my mind! You seem to know a lot about this, like you wrote the book in it or something. I think that you can do with some pics to drive the message home a little bit, but instead of that, this is excellent blog. An excellent read. I’ll definitely be back.

  4. Hello very cool web site!! Guy .. Beautiful .. Amazing .. I will bookmark your website and take the feeds also¡KI am satisfied to search out numerous useful info here in the publish, we’d like work out more strategies in this regard, thanks for sharing. . . . . .

  5. I am writing to let you understand of the notable encounter my friend’s girl found visiting your web site. She discovered a good number of issues, most notably what it is like to have a wonderful helping spirit to let certain people completely know just exactly chosen grueling matters. You truly did more than her expected results. Many thanks for producing those good, dependable, revealing and also cool tips on your topic to Tanya.

  6. I as well as my friends were found to be analyzing the nice key points on your website and so at once came up with a terrible feeling I had not expressed respect to the blog owner for them. The young boys ended up as a result joyful to see them and have in actuality been using these things. Thank you for truly being very thoughtful and for getting this kind of tremendous themes most people are really needing to understand about. My sincere regret for not saying thanks to earlier.

  7. It is appropriate time to make some plans for the future and it’s time to be happy. I have read this post and if I could I want to suggest you some interesting things or advice. Perhaps you could write next articles referring to this article. I desire to read more things about it!