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.

GuiRunOnce not working

Featured Replies

I have this in my winnt.sif script...

[GuiRunOnce]

"%systemdrive%\install\finaltweaks.cmd"

The cmd file works perfectly when I double click it after install, but it won't run at the end of the installation automatically.

Any ideas?


It should be

[GuiRunOnce]
    Command0="%systemdrive%\install\finaltweaks.cmd"

  • Author

Many thanks for that,

I tried it yet still it doesn't run it!

Please advise.

Chris

  • Author

Will do - just trying one more thing.

I've used the manager program to create a new .sif file - and it seems it doesn't include " marks around the actual command. I'll try this first.

Chris.

Also, just as a little note, the serial I use can be shown here for all to see - it's the generic serial provided by MS that is unactivatable, very handy for those doing installs, you can change the serial number after your install.

The generic serial numbers are...(followed by sequence number)

Whistler Tech Beta Program

(All Platforms)

PXRQ3-7VPMV-CQWXR-8Y4KX-RD786

010053298

Windows XP

Home Edition

Full product

JKTVX-HCRXC-J2YC9-MX3K4-G9X26

005037750

Windows XP

Home Edition

Upgrade

C84VB-JYVFD-P7HF4-6KKRJ-7M6XH

010000182

Windows XP Professional

Full product

DR8GV-C8V6J-BYXHG-7PYJR-DB66Y

005072760

Windows XP Professional

Upgrade

FKTW8-Q7MJ7-JK6GW-9J9RV-HC3C2

010000212

Windows XP

Home Edition

System Builder (Full)

KGVXT-F9HVW-XGW9X-QVYVX-HQ9RD

120000613

Windows XP Professional

System Builder (Full)

TTGHK-3RC33-BT9DR-3BVYV-BTQ98

120000607

Please do not be under any illusion that these are illegal serials, they are provided by microsoft here ...

http://www.microsoft.com/technet/prodtechn...oy/wpadepl.mspx

Very handy!

Chris

  • Author

Here's my winnt.sif ...

;SetupMgrTag

[Data]

AutoPartition=0

MsDosInitiated="0"

UnattendedInstall="Yes"

AutomaticUpdates=no

[unattended]

FileSystem=*

UnattendMode=FullUnattended

OemSkipEula=Yes

OemPreinstall=Yes

TargetPath=\WINDOWS

UnattendSwitch="yes"

KeyboardLayout="United Kingdom"

[GuiUnattended]

AdminPassword=*

EncryptedAdminPassword=NO

OEMSkipRegional=1

TimeZone=85

OemSkipWelcome=1

[Display]

AutoConfirm=1

[userData]

ProductKey=KGVXT-F9HVW-XGW9X-QVYVX-HQ9RD

FullName="Valued Client of Digitopia"

OrgName=""

ComputerName=DigitopiaPC

[TapiLocation]

CountryCode=44

Dialing=Tone

AreaCode=01942

[RegionalSettings]

LanguageGroup=1

SystemLocale=00000809

UserLocale=00000809

InputLocale=0809:00000809

[identification]

JoinWorkgroup=WORKGROUP

[Networking]

InstallDefaultComponents=Yes

[Components]

msmsgs=off

msnexplr=off

zonegames=off

[shell]

CustomDefaultThemeFile = "%WinDir%\Resources\Themes\Digitopia.theme"

[GuiRunOnce]

Command0=%SystemDrive%\Install\tweaks.cmd

In all likelihood, I am horribly wrong, but doesn't [GuiRunOnce] run after you are logged in?

I don't see AutoLogon=Yes and AutoLogonCount=### properties in your [GuiUnattended] section.

  • Author

Mate, in all likelyhood, my whole damned unattend CD is horribly wrong so any input is appreciated!

Gives me another angle - but if anyone in the know could help me out still. Is Asin right? I doubt that's the problem though because with only one user, the sysem logs on anyway to the default - so after log on - it's GUIRUNONCE Time!!! Or should be.

Heeelllpp.

  • Author

I'm still struggling here, GUIRUNONCE does NOT want to work!

Please help.

Try adding AutoLogon=Yes and AutoLogonCount=1 like I said. Also try quotes around your GuiRunOnce command.

  • Author

If I manually browse to C: - Barracade is on, would this stop my GuiRunOnce looking at c:\install?

What is %cdrom% ? Is it the root of the install CD? I wonder if I should store my tweaks there and run from there?

Any ideas P L E A S E ?????????????????

Also, you should remove your Serial number from your post

Edited by Gee

What's the name of your command file?

This thread references two files: tweaks.cmd and finaltweaks.cmd. The former of which shows up in your winnt.sif file.

Gee, as supertoast already mentioned, those are public serial numbers released by Microsoft for testing purposes.

Edited by Asin

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.