?
Solved

PSEXEC

Posted on 2012-12-30
9
Medium Priority
?
1,597 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 72

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 72

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 72

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
For anyone that has accidentally used newSID with Server 2008 R2 (like I did) and hasn't been able to get the server running again because you were unlucky (as I was) and had no backups - I was able to get things working by doing a Registry Hive rec…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

568 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