Solved

Force Install Application Outside of GPO

Posted on 2012-03-31
14
446 Views
Last Modified: 2012-04-15
I need to install VNC on many computers but need to be able to push it out on demand outside of GPO. I can't wait for user's to logoff/ logon. What's the best way to do this?
0
Comment
Question by:DarthRater
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 4
  • 2
14 Comments
 
LVL 6

Expert Comment

by:awaggoner
ID: 37792193
How many is many?

Most of your options are not free, integrate with AD, or require installation of a client.

Are the machines even on,nsince you can't wait for user logon?
0
 

Author Comment

by:DarthRater
ID: 37793251
About 200. I may just use GPO and then SpecopS GPupdate to mass reboot them.
0
 
LVL 6

Assisted Solution

by:awaggoner
awaggoner earned 167 total points
ID: 37793270
Using group policy would be the easiest if possible.  Plus, it's free.

http://support.microsoft.com/kb/816102

I didn't think VNC required a reboot after installation.  It is normally available immediately after installation.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 23

Assisted Solution

by:yo_bee
yo_bee earned 333 total points
ID: 37793554
You will need to script this and it can get confusing.

You will need to have the script Ping for availability {True |False}
If True copy files to a temp locations on the host computer.
Then you will need to start a remote process running the command line for vnc silent install on the host computer.

'********************************************
'Reads Line by line host name and passes to *
'Ping Function                              *
'********************************************

Const ForReading = 1
Const ForWriting = 2

Set objShell = CreateObject("WScript.Shell")
Set objFSO = CreateObject("Scripting.FileSystemObject")
strHostFile = <Enter the text file that contains your computer names>  'Line needs to be edited for your environment 
set objTextStream = objFSO.OpenTextFile(strHostFile,1)

Do Until objtextStream.AtEndOfStream
strcomputer = objtextStream.Readline

	blnping = PingHost
	If blnping = true then 
		Runinstall 
	end if


Loop



'********************************************
'Pings the host to see if it's available  *
'******************************************** 

Function PingHost

Set objShell = CreateObject("WScript.Shell")
Set objExec = objShell.Exec("ping -n 2 -w 1000 " & strcomputer)
strPingResults = LCase(objExec.StdOut.ReadAll)
If InStr(strPingResults, "reply from") Then
  PingHost = True
wscript.echo "True"
Else
	PingHost = False
wscript.echo "false"
End If

End Function


'********************************************
'Remote install                             *
'********************************************

Function RunInstall
strCommand = "calc.exe"  	'Change the Exe that you want to run
				'Leave Calc.exe for testing

Set objWMIService = GetObject("winmgmts:" & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set objProcess = objWMIService.Get("Win32_Process")

errReturn = objProcess.Create(strCommand, null, null, intProcessID)

If errReturn = 0 Then
Wscript.Echo "notepad.exe was started with a process ID: " & intProcessID
Else
Wscript.Echo "notepad.exe could not be started due to error: " & errReturn
End If
End Function

Open in new window

0
 
LVL 23

Expert Comment

by:yo_bee
ID: 37793576
Here is another option

this is a little web demo
http://www.metacafe.com/watch/1477483/remotely_install_vnc_over_a_network/

The app they use is call FastPush from http://www.darkage.co.uk/
0
 
LVL 23

Accepted Solution

by:
yo_bee earned 333 total points
ID: 37793582
Just one more

Sysinternals is a great source for a plethora of utilities
Here is a link to PSEXEC  and should work really well.

http://technet.microsoft.com/en-us/sysinternals/bb897553 

I like this one because it is backed up by MS.
0
 

Author Comment

by:DarthRater
ID: 37798836
I've requested that this question be deleted for the following reason:

Poor answers, most likely my question was poorly posed.
0
 
LVL 23

Expert Comment

by:yo_bee
ID: 37798837
I object with the reason for deleting this question.

I think I understood your question pretty clearly .
You want a solution to push applications to machines without having to use GP log on or logoff scripts.

I gave three very viable solutions outside the scope of using GPO.

Did you even read any of my suggestions?

PSEXEC will accomplish what you need, but I am not going to look or search for VNC's install switch variables.
This is something you should find on your own.
0
 

Author Comment

by:DarthRater
ID: 37798874
I stand by my request to close based on poor responses. I read all your suggestions but they are neither scalable nor feasible for the workload I have in front of me. It just isn't a solution that I can award points on. I also mentioned a reason for the closing that my question was also posed poorly.
0
 

Author Comment

by:DarthRater
ID: 37798959
I've requested that this question be deleted for the following reason:

Reason already stated.
0
 
LVL 23

Expert Comment

by:yo_bee
ID: 37798960
You are saying that you cannot stage 200 machines to install VNC silently using any one of these solutions.
What do you want done. A snap of your fingers and poof all machines patched.

What angle are you think of.  Please enlighten us on this.

I gave you a VBS that will ping a list of computers then if they respond the install starts.
The second one seems pretty nice, but I have not tested.
The third I have used multiple times to patch or install on environments that are your size.

The other option is what awaggoner suggested, but sort of not truly address your question.

If feel you are in the wrong by saying these are poor solutions.  

So when a moderator reads these replies I hope he stands his ground with asking you to reward points where they are due.
I spent time putting the script together for you as well as giving you a couple of alternatives.
0
 
LVL 23

Expert Comment

by:yo_bee
ID: 37798977
What VNC are you looking to deploy?
0

Featured Post

Free NetCrunch network monitor licenses!

Only on Experts-Exchange: Sign-up for a free-trial and we'll send you your permanent license!

Here is what you get: 30 Nodes | Unlimited Sensors | No Time Restrictions | Absolutely FREE!

Act now. This offer ends July 14, 2017.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Uncontrolled local administrators groups within any organization pose a huge security risk. Because these groups are locally managed it becomes difficult to audit and maintain them.
This program is used to assist in finding and resolving common problems with wireless connections.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Suggested Courses

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question