Is there a way of executing a batch file once a dial-up connection has been established on windows xp machines? This needs to be setup on individual pc's.
Both of these options have been reviewed and dismissed because,
1. They do not log on to the domain (ruling out login scripts). I think this is what you were referring to in point 1 above although your point is not perfectly clear and I could be wrong.
2. Batch files were previously placed on users desktop but they did not initiate it.
For this batch file to run the user needs to be connected to the network via dun and then run it (which they are not doing). We require a script to run upon connection to the network via a dun connection, at present the only way I can see possible is via a scp script (which would then call a batch file located on local machine)....which unfortunately is a skill I lack. I cannot find away of running a standard bat file at present.
To be fair to bobej's thought above, there is are available under several features of XP that may help:
. Under Group Policy, you can assign a script at logon (and logoff);
. Under the Scheduled Task Service, you can assign a .bat, .cmd or script to additional options: at startup, at, at logon, etc. Please explore these options.
Create the .bat, .cmd or script, and point Scheduled Tasks to these already created files. The scheduling option (and not too the opportunity to use alternate credentials) may well resolve your issue.
One additional .bat or scripting occasion that could possibly help is the use of "Event triggers." It strikes me that an Event trigger could be created as the result of a DUN connection, although honestly I have never had occasion to write one personally.
Thanks for the info the event triggers have worked stright away thats great! I hadnt previously used this functinality and seems a perfect solution as it completes the task after connection to the network via dun. Sorry if I came across badly in my previous post I had already assessed all possible solutions for running scripts etc.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.