Running startup script once

Associate
Joined
14 Sep 2003
Posts
652
Location
The City of Dis
Hi there,

Is there any way of getting to run a startup script (vbs) once, preferably without using a .bat file.

Using Windows XP and 2003 Server, if that helps.

Cheers.
 
Ok, next question:

How do I get all the machines on the network to get the path configured?

I could use a startup script to add the reg path but then it wouldnt be running once.

Any solutions?
 
Overload said:
Ok, next question:

How do I get all the machines on the network to get the path configured?

I could use a startup script to add the reg path but then it wouldnt be running once.

Any solutions?
Stolen from google:
How to create your own .reg files
Applying .reg files is useful, but best of all, you could create your own .reg files. Here is how you can do it

Launch Regedit (Start, Run, Regedit)
Navigate to the area of the registry you are interested in.
Select File (menu), Export and save as .reg file.
Note: Export Range at the bottom of the diagram and choose: Selected Branch.


Once you have mastered the technique to create .reg files, keep a look out for repetitive tasks where you need the same settings on multiple servers. Enabling the Security Tab on Exchange Servers is a classic use for this .reg file technique.
 
jdickerson said:
Stolen from google:


All very well but if I make a startup script to enter the path to the Runonce key then each time that the user logs on it will keep adding the key to the runonce path.

Thus it isn't running once at all. All I need to do is run a command once when someone logs on and then that is all (hence using the runonce key)

Thanks.
 
Back
Top Bottom