| Forum Home | ||||
| Press F1 | ||||
| Thread ID: 56331 | 2005-04-02 06:15:00 | Startup command/script | craig.b (6571) | Press F1 |
| Post ID | Timestamp | Content | User | ||
| 340639 | 2005-04-02 06:15:00 | I have made a . vbs script that I want to run every time my computer (running windowsXP Pro) starts up . It is a simple script that changes a background image . I have tried adding it to the run key under local machine, and current user, in the registry, and I have tried putting it in the user logon scripts and in the machine startup scripts area in the group policies . All of these places ran the script just fine . However, they are running it at the wrong time (or at least not the time I want it to run) . In all four cases the script is run when a user logs on, while I want it to run before the logon prompt is even displayed . Is there a way to run the script when the machine starts? or failing that, is there a way I can run a basic DOS copy command prior to windowsXP loading at all? Thanks, Craig . |
craig.b (6571) | ||
| 340640 | 2005-04-02 06:30:00 | You could use Autoexec.bat. You need to setup windows to show hidden system files | Dannz (1668) | ||
| 340641 | 2005-04-02 06:36:00 | In Win XP its called Autoexec.nt, and I don't think this is able to be opened in Notepad like autoexec.bat used to be. | Myth (110) | ||
| 340642 | 2005-04-02 08:38:00 | Thanks for the suggestions but unfortunately autoexec.bat is not used in XP other than to handle legacy SET commands, which are again parsed at login, not at machine start. Autoexec.nt and config.nt are used to setup a dos environment only when a dos application is run by a user. These also don't run at machine start. Anyone got any other ideas?? Cheers, Craig. |
craig.b (6571) | ||
| 340643 | 2005-04-02 11:13:00 | Havent tried it but this looks like it may help... www.pestpatrol.com |
Parry (5696) | ||
| 340644 | 2005-04-03 01:05:00 | just a quick excerpt from the site posted by parry: "A logon script is a set of instructions that executes automatically when a user logs in" not quite what I am after. I have also found an exe that allows .vbs scripts to be run as services under XP. Unfortunately this didn't work either. Even services set to start automatically start after the logon prompt is displayed. What I really need is a way to run a simple dos copy command before windowsXP even starts. This will have the effect I am after. Cheers, Craig. |
craig.b (6571) | ||
| 340645 | 2005-04-03 13:07:00 | This is supposed to work - ms kb (support.microsoft.com) However, some reports say otherwise (i.e. it don't work) I seem to remember some group policy settting that forced windows wait until all services are running properly before allowing a use rlogin to proceed (but maybe I'm mistaken). Probably you need an actual executable to run (or a simple batch file) when done so early in the boot process. |
gibler (49) | ||
| 1 | |||||