Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

PSEXEC

Posted on 2012-12-30
9
Medium Priority
?
1,563 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
  • 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 71

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
Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

 

Author Comment

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

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 71

Accepted Solution

by:
Qlemo earned 2000 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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

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…
After seeing many questions for JRNL_WRAP_ERROR for replication failure, I thought it would be useful to write this article.
This tutorial will walk an individual through locating and launching the BEUtility application and how to execute it on the appropriate database. Log onto the server running the Backup Exec database. In a larger environment, this would generally be …
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…

916 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