Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Run a program automatically when XP Setup loads?

Featured Replies

Hello! This is my first post here. This site is sure a great Windows resource! The "Threads of Interest" thread helped me to find lots of things I needed!

Anyways, here's my question. Is it possible to automatically launch a program when the GUI portion of Windows XP loads?

not that i am aware of.

you can launch an app from the t-13 cmdlines.txt point, though :)

  • Author
not that i am aware of.

you can launch an app from the t-13 cmdlines.txt point, though :)

What do you mean by "t-13 cmdlines.txt"?

I think it is possible, because Norton popped up asking me to activate when I was repairing my Windows.

well, any application can be run from there.

but there is no file that you can add a line that will execute a command line or program right when the GUI part starts.

the t-13 cmdlines.txt is a file called CMDLINES.TXT that you put in your OEM folder and when the GUI setup reaches the 13 minute mark, it will execute any batch file that you have entered in CMDLINEX.TXT.

Example of cmdlines.txt.

[COMMANDS]
"REGEDIT /S regtweaks.reg"
"RunOnceEx.cmd"
"makeuser.cmd"

for me, i have the CMDLINES.TXT execute the list of programs that i want to install upon first boot, and i have it add many registry tweaks, and create five user accounts. :)

Well, I run a silently extracting EXE at the time when graphical setup starts (you know, the time just before it starts detecting and installing devices, when it says "39 minutes remaining"). And this is how:

[GuiUnattended]
   DetachedProgram="%systemroot%\PnPdrvrs.exe"
   Arguments="-y /q /r:n"

This code should be in winnt.sif - and the above lines are self-explanatory (one line is the EXE to run, the next is the switches to run it with).

Note that very few programs can be successfully run at this stage.

  • Author
Well, I run a silently extracting EXE at the time when graphical setup starts (you know, the time just before it starts detecting and installing devices, when it says "39 minutes remaining"). And this is how:
[GuiUnattended]
   DetachedProgram="%systemroot%\PnPdrvrs.exe"
   Arguments="-y /q /r:n"

This code should be in winnt.sif - and the above lines are self-explanatory (one line is the EXE to run, the next is the switches to run it with).

Note that very few programs can be successfully run at this stage.

Thank you very much prathapml!

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.