Jump to content

Wait for finishing a logout script before logging out / shuttingdown


Recommended Posts

Posted

Hi,

 

 

 

From win7pro I need to run a 3rd party file synch application

 

(mysynch.exe) from a vbs script invoked from a domain GPO's User Logoff

 

Script folder.

 

 

 

Is the user has selected Shut Down instead of Log Off, the script would

 

actually run when windows has started the process of shutting down.

 

Hence I wonder how to call mysynch.exe from my vbs script ensuring that

 

windows waits until this process has finished before continuing the

 

shutdown process (i.e. which parameters to set, and other possible

 

issues in this situation)

 

 

 

I crosspost to vista.general to have possible comments about other

 

techniques to safely run and wait for applications at logout / shutdown.

 

Thanks a bunch for help on this

 

 

 

regards

 

 

 

Tor

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...