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.

Integrating ***.cmd files to Unattended XP

Featured Replies

Hello all! I recently have gotten into customizing my XP CD for my use and I have come across some pretty nice tweaks that I would liek to implement into my CD. Thay are command line items that tweak objects in the registry mainly and, using the guide on MSFN, I can't figure how to implement them?

I want them to be implemented on the CD already. Or they can be run after the installation is done. I can't think of anyway to get them to run. I use the windows deployment tools and I figured the Run After section would work but I dont know the commands.

Can anyone help me?

*EDIT*

I think I will try the GUIRunOnce option... Altho im not sure how to implement it. Does the "%systemdrive%\install\batch_file1.cmd" mean it will look for and execute the "batch file" in "C:\install"? Meaning I jsut put a folder named "install" on my XP_CD and it will execute the batch files there?

Do I list a different command for each batch file? Or can I list them sequentially with a comma(s)?

This is what I have so far

[GuiRunOnce]
"%systemdrive%\Install\xp_tweaks.cmd"
"%systemdrive%\Install\SFC_Hack.cmd"
"%systemdrive%\Install\network.cmd"

Edited by I_(USE)_*Nix

no u must creat this path in ur CD $OEM$\$1\install and put your cmd files on it it will work with

[GuiRunOnce]

"%systemdrive%\Install\xp_tweaks.cmd"

"%systemdrive%\Install\SFC_Hack.cmd"

"%systemdrive%\Install\network.cmd"

  • Author

So my folder now looks like this in relation to where the batch files are located...

C:...\XPCD\$OEM$\$1\install\network.cmd

etc...

This will then proceed to run the tweaks?

But I thought the code in the WINNT.SIF meant it to read from c:\install, but now that I think of it, i suppose it makes more sense your way, tho Im not sure what the $OEM$\$1 refers too?

  • Author

Oh

I think I got it now.

Hmm... I will go test this in VM. Thanks for the help.

Edited by I_(USE)_*Nix

  • Author

So after installling in VM I get an error that said "Windows could not find C:\Install\network.cmd" Did I miss something? And the actual path does NOT exist on my c drive. Why didnt it get created?

  • Author

I think I knwo why it wasn't working. I had put the

%systemdrive%\Install\network.cmd

in quotes... It isnt supposed to be I dun think. So Ill try that and see waht happens.

BTW, I have read that page a few times... But I think I got it now. so well see

  • Author

nope... Didnt work... Same error as before. Is there anything I need to run WITH the GUIRunOnce option? Im at a loss here...

Pls check the directory structure on the CD if the dir didn't get copied over.

  • Author

I think I was supposed to turn on the ""OemPreinstall" I had it to "No"... Which is probly why it wasn't working. I switched it too yes, so I will see if that is why nothing was getting copied over.

yeah, that would prolly be your problem. I forgot that too when i first started these CD's and same thing happened.....nothing.

Please sign in to comment

You will be able to leave a comment after signing in

Sign In Now

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Search

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.