Solved

PSEXEC

Posted on 2012-12-30
9
1,536 Views
Last Modified: 2013-01-02
Try to deploy Chrome to several workstation. If I use the syntax a, it could deploy properly but not for b. It script keep running but no error code is return. However, the .msi could be installed properly on the target computer. Any idea ?

Thanks


a. PSEXEC \\%%A -accepteula C:\Temp\ChromeSetup.exe /install

b. PSEXEC \\%%A msiexec.exe /i  C:\Temp\GoogleChromeStandaloneEnterprise.msi  /install
0
Comment
Question by:AXISHK
[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
  • 5
  • 3
9 Comments
 
LVL 13

Expert Comment

by:rhinoceros
ID: 38732087
0
 

Author Comment

by:AXISHK
ID: 38732249
Try to run the following command. The script starts but it doesn't seem to be end.

PSEXEC \\LT-0172 -u mydomain\admin -p myPassword msiexec.exe /i  "\\hkchk01\d$\copy\GoogleChromeStandaloneEnterprise.msi"  /install
0
 
LVL 70

Expert Comment

by:Qlemo
ID: 38732466
Did you monitor the remote PC? Maybe there is a prompt, though it shouldn't be that way.
0
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

 

Author Comment

by:AXISHK
ID: 38732530
Yes, but nothing appears on the remote PC.
0
 
LVL 70

Expert Comment

by:Qlemo
ID: 38732691
Strange. I assume it just works if you call that MSI locally?
Does psexec still wait for something if you use it to execute the MSI remotely, or do I get that wrong?
0
 

Author Comment

by:AXISHK
ID: 38735513
As a test, I use PDQDeploy and it works fine. I have coped the following command and deploy using the psexec. Still get the same problem. No prompting on the target workstation.

 PSEXEC \\%%A msiexec.exe /i  \\HKFSVR01\share_drive\public\Google Chrome\GoogleChromeStandaloneEnterprise.msi ALLUSERS=1 /q /norestart


The MSI is downloaded from the following :
http://www.google.com/intl/en/chrome/business/browser/

Is there a chance to take a run on your workstation and see how it goes ?

Thanks
0
 
LVL 70

Accepted Solution

by:
Qlemo earned 500 total points
ID: 38737155
Oh, there is a path with spaces! That does not work. Strange enough, msiexec seems to wait for something in that case - I could not see what exactly happens, there are no prompts or hidden windows, and no debug trace.

Try if that one works:
PSEXEC \\%%A msiexec.exe /i  "\\HKFSVR01\share_drive\public\Google Chrome\GoogleChromeStandaloneEnterprise.msi" ALLUSERS=1 /q /norestart

Open in new window

0
 

Author Comment

by:AXISHK
ID: 38738912
Run the following :

psexec  \\LT-0172  msiexec /i "\\hkfsvr01\e$\share_drive\corporate\public\Google Chrome\GoogleChromeStandaloneEnterprise.msi" ALLUSERS=1 /q /norestart

It returns the error  "msiexec exited on LT-0172 with error code 1619".

Any idea ?

Thanks
0
 

Author Closing Comment

by:AXISHK
ID: 38739215
Problem fix after adding "-u mydomain\admin -p xxxxx". Tks
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

AutoHotkey is an excellent, free, open source programming/scripting language for Windows. It started out as a keyboard/mouse macros product, but has expanded into a robust language. This article provides an introduction to it, with links to addition…
Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
Suggested Courses

630 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