• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 749
  • Last Modified:

Delaying logon scipts until the a network is present

Hi,

Does anyone know how to put a delay into a Windows Logon Script.

The reason being, I have installed a wireless solution and whenever a users logs in via the wireless the script runs and fails due to there being no network present. Is there a delay I could add or anyway other way that I could set the script to, only, run once a network connection is present??

I am using a cmd file that points to a KIX.32 script running from our AD netlogon share.

Regards,

Scott..
0
CreamyG
Asked:
CreamyG
1 Solution
 
Big5250Commented:
You could use sleep.exe, but that isn't really efficient way of doing it.  You could build in some logic into the script to detect whether the connection is there, and then execute the sleep command.
0
 
beaconlightboyCommented:
it sounds like you have a local batch file that runs to initiate a login script file on your server.  i recommend not using a local login script for this user.  for your wireless user(s) place your login script file in %systemroot%\SYSVOL\sysvol\domain_name\scripts on your DC. Then in AD, select the user, then properties, and under the profile tab enter the name of the script file.  then the script will only run when the network is connected and the user logs into it.  

this is how we do it for all of our staff wireless and non-wireless.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now