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.

Help creating a user.

Featured Replies

Windows isn't creating a user unattended. Here are my files. (*s used to hide sensitive data)

\I386\Winnt.sif

;SetupMgrTag
[Data]
   AutoPartition=0
   MsDosInitiated="0"
   UnattendedInstall="Yes"

[Unattended]
   UnattendMode=FullUnattended
   OemSkipEula=Yes
   OemPreinstall=Yes
   TargetPath=\WINDOWS
   OemPreinstall=Yes
   UnattendSwitch="Yes"

[GuiUnattended]
   AdminPassword=*
   EncryptedAdminPassword=NO
   OEMSkipRegional=1
   TimeZone=4
   OemSkipWelcome=1

[UserData]
   ProductKey=*****-*****-*****-*****-*****
   FullName="***** ******"
   OrgName=""
   ComputerName=Compaq

[Display]
   BitsPerPel=32
   Xresolution=1024
   YResolution=768

[TapiLocation]
   CountryCode=1
   Dialing=Tone
   AreaCode=818

[RegionalSettings]
   LanguageGroup=2,1

[Identification]
   JoinWorkgroup=Home

[Networking]
   InstallDefaultComponents=Yes

[Components]
   msmsgs=off
   msnexplr=off
   freecell=off
   hearts=off
   minesweeper=off
   pinball=off
   solitaire=off
   spider=off
   zonegames=off
   AccessOpt=off
   fp_extensions=off
   media_clips=off
   rec=off

[GuiRunOnce]
  %systemdrive%\install\batch.bat

[Shell]
  DefaultStartPanelOff=yes

\$OEM$\cmdlines.txt

.\user.cmd

\$OEM$\user.cmd

CLS
@ECHO OFF
ECHO Adding Default User...
net user ***** ****** /add
net localgroup "administrators" User /add
ECHO.
ECHO Applying Root Registry Tweaks...
REGEDIT /S %systemdrive%\install\Reg_Root_Tweaks.reg
ECHO.
EXIT

\$OEM$\$1\install\Reg_Root_Tweaks.reg

Windows Registry Editor Version 5.00 

;This will allow you to autologin.
;Replace InsertName value with the Username you want to autologin with.
;Replace InsertPassword value with the password corresponding to the Username specified.
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
"DefaultUserName"="***** ******"
"DefaultPassword"=""
"AutoAdminLogon"="1"


The syntax to add the user is correct, asuming that the first set of "sensitive data" is the user name, and the second set is the password. If you have a blank in the user name that would be a problem. Use quotes.

Unless you created a user name "User", the command to add the user to the Administrators group cannot work. Should be:

NET LOCALGROUP Administrators ***** /ADD

(or possibly)

NET LOCALGROUP Administrators "***** ******" /ADD

The group (Administrators in this case) does not need quotes if it has no blank in it.

Debug it yourself! This is just a batch commad, and as such can be run from a command prompt window. If there is an error, it will indicate it to you.

Hello everybody

[this is my first post here :) ]

In my former Windows XP Super CD, i used to write this :

NET USER User Password /ADD

NET LOCALGROUP group User /ADD

where User is the user name, between "" if it is composed of 2 words or more,

Password ... follows the same rule

and Group is the user group, such as "administrators"...

PS : Excuse-me for my poor english, but it is not my mother tongue so... i've to work on it

  • Author

OK. But will the user be added after the Windows XP setup?

EX:

Setup is finished.

v

Computer reboots after setup has finished.

v

Computer boots into the new user account created.

Does this create two user accounts with the same username? One is created in the user.cmd and then later create another same user account that is specified in the

[userData]

ProductKey=removed

FullName="Sky"

OrgName="Home"

ComputerName=Skyee

-Kenneth

The UserData section of WINNT.SIF specifies the Registered User Information, not a Windows User Account, thus the code above does not create an account. Furthermore, it is impossible to create 2 accounts with the same name.

I see... The reason that I'm asking is because last night, when I do my first test on my unattended file, I notice in the user profile folder, there is two user accounts called Sky and Sky.Sky profile is created.

In my unattended file, I specified UnattendSwitch="Yes" instead of UnattendSwitch="No". Also, I'm not using the cmd.txt that you guys suggested yet on my first test. The only reason that I could come up with is that the user account was created automatically the UserData section and then tring to create the same Sky in Welcome Screen that I inputted and didn't prompt me any error but instead created Sky.Sky.

More testings to come...

-Kenneth

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.