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

Featured Replies

I have created an unattended XP CD which has the following information:

Winnt.sif

; Generated by nLite 1.0 beta 5

[Data]
Autopartition = 0
MsDosInitiated = 0
UnattendedInstall = Yes

[Unattended]
UnattendMode = DefaultHide
UnattendSwitch = Yes
OemPreinstall = Yes
OemSkipEula = Yes
FileSystem = *
WaitForReboot = No
NoWaitAfterTextMode = 1
NoWaitAfterGUIMode = 1
TargetPath = Windows
DriverSigningPolicy = Ignore
NonDriverSigningPolicy = Ignore

[Display]
Xresolution = 1024
Yresolution = 768
BitsPerPel = 32
Vrefresh = 75

[GuiUnattended]
EncryptedAdminPassword = No
AdminPassword = ""
TimeZone = 110
OEMSkipRegional = 1
OemSkipWelcome = 1

[Components]

[UserData]
ProductKey = ""
FullName = "Merconet"
OrgName = "Merconet"

[RegionalSettings]
Language = 0409

[Networking]
InstallDefaultComponents = Yes

[Identification]
JoinWorkgroup = Workgroup

CMDLINES.TXT

[COMMANDS]
"Startup.cmd"

STARTUP.CMD

@Echo off

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

REG ADD %KEY% /V TITLE /D "Joining Merconet.be Domain" /f
REG ADD %KEY%\005 /V 1 /D "cmd /c start /wait netdom.exe join %computername% /domain:merconet.be /UserD administrator /PasswordD *"

It looks like it is executed, but the Computer isn't added to the domain, but when I manually execute 'startup.cmd' it is added to the domain as expected


@Echo off

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

REG ADD %KEY% /V TITLE /D "Joining Merconet.be Domain" /f
REG ADD %KEY%\005 /V 1 /D "cmd /c start /wait netdom.exe join %computername% /domain:merconet.be /UserD administrator /PasswordD *"

where is the /f at the end of the line.....

i think it should be like this:

@Echo off

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

REG ADD %KEY% /V TITLE /D "Joining Merconet.be Domain" /f
REG ADD %KEY%\005 /V 1 /D "cmd /c start /wait netdom.exe join %computername% /domain:merconet.be /UserD administrator /PasswordD *" /f

maybe it will help......

Edited by maniaq

  • Author

I added the /f at the end, but it didn't help anything.

The computer still isn't added to the domain.

Perhaps an alternative for adding a computer to the domain?

Edited by sfonvill

Use unattend.txt directly...

[Identification]
DomainAdmin="domain_account"
DomainAdminPassword="domain_password"
JoinDomain = "domain_name"

It's my understanding that network connectivity isn't "guarenteed" during GUIRunOnce. I think I read that at M$ anyway...

  • Author

I changed it to just the netdom part at RunOnceEx, but then nothing happens, just a cmd box with a blinking cursor which exits after a few seconds.

Adding it in winnt.sif isn't an option, since we frequently change the password and this way it becomes more flexible

Edited by sfonvill

  • 1 month later...

Do you have netdom.exe on your system? it is not default in winXP SP2.

Download Windows XP Service Pack 2 Support Tools end copy netdom.exe to system32 end tray it

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.