+ Post New Thread
Page 2 of 2 FirstFirst 12
Results 16 to 19 of 19
Windows Thread, Using PSexec To Install in Technical; I could possibly do that I just don't like waiting. I would still like to have a log though of ...
  1. #16

    Join Date
    Oct 2005
    Location
    Corpus Christi Sports College
    Posts
    153
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Re: Using PSexec To Install

    I could possibly do that I just don't like waiting.

    I would still like to have a log though of which processes are a success.

  2. #17

    Join Date
    Nov 2005
    Location
    Preston, Lancs
    Posts
    43
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Re: Using PSexec To Install

    Does psexec not have an option for logging or dumping output to a text file?
    It has been a while since I used psexec but I remember that it has a load of different switches and arguments that do all sorts of stuff (I haven't even looked at half of them, never mind used them). It might have one for logging output or status.

    If it doesn't it may be worth using a 3rd party logging tool or using something like Sawmill to process the Windows system logs.

  3. #18
    ajbritton's Avatar
    Join Date
    Jul 2005
    Location
    Wandsworth
    Posts
    1,632
    Thank Post
    23
    Thanked 75 Times in 45 Posts
    Rep Power
    34

    Re: Using PSexec To Install

    Pear,

    Not sure what you mean by waiting. The uninstall will run the next time the PC is restarted. If you need to cause the restart in a hurry, use shutdown.exe or PSSHUTDOWN.

    As for logging, I maintain a hidden share on a server for logging. As long as permissions are set correctly, you should be able to redirect output using UNC path
    e.g. \\(servername)\(log share)\(process name)\%COMPUTERNAME%.LOG
    This would give you a log for each PC. If you create your log in CSV format then you can import all the logs into Access or similar to compare results.

  4. #19

    Join Date
    Nov 2005
    Posts
    43
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Re: Using PSexec To Install

    Quote Originally Posted by ajbritton
    @ChrisH:

    But surely the script would execute under the context of the remote user if executed by PSTOOLS, which would mean that UserName would return a non-null value....?

    You can ask psexec to run in the system account.. in which case the username would not be blank.

SHARE:
+ Post New Thread
Page 2 of 2 FirstFirst 12

Similar Threads

  1. FMS Install
    By Craig_W in forum MIS Systems
    Replies: 27
    Last Post: 22nd May 2008, 03:31 PM
  2. Install guides
    By GrumbleDook in forum Educational Software
    Replies: 0
    Last Post: 5th October 2007, 10:01 AM
  3. Sky Install
    By russdev in forum General Chat
    Replies: 6
    Last Post: 23rd August 2007, 11:55 AM
  4. Install of LNM Servers.
    By tosca925 in forum Learning Network Manager
    Replies: 12
    Last Post: 20th December 2006, 12:02 PM
  5. ISA 2004 SP2 - DO NOT INSTALL!!
    By ZeroHour in forum Windows
    Replies: 6
    Last Post: 11th April 2006, 06:26 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •