Jump to content

unattended user


Recommended Posts

when i use unattended setup to greate a user for myzelf i dont cat admin right`s

but low user right`s by defauld.

i use this useraccounts.cmd:

net user laurens code /add
net localgroup Administrators laurens /add
net accounts /maxpwage:unlimited
REGEDIT /S autologon.reg
EXIT

and this autologon.reg

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
"DefaultUserName"="laurens"
"DefaultPassword"="code"
"AutoAdminLogon"="1"

and this is my winnt.sif

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

[Unattended]
   UnattendMode=FullUnattended
   OemSkipEula=Yes
   OemPreinstall=Yes
   TargetPath=\WINDOWS
   UnattendSwitch="yes"
   WaitForReboot="No"
   OemPnPDriversPath="Drivers\000_graphics"
   DriverSigningPolicy=Ignore
   ProgramFilesDir="E:\Program Files"
   CommonProgramFilesDir="E:\Program Files\Common Files"

[GuiUnattended]
   AdminPassword=*
   EncryptedAdminPassword=NO
   OEMSkipRegional=1
   TimeZone=110
   OemSkipWelcome=1
   ProfilesDir="D:\Documents and Settings\"

[UserData]
   ProductKey=XXXX-XXXX-XXXX-XXXX-XXXX
   FullName="Laurens"
   OrgName=""
   ComputerName=Laurens

[TapiLocation]
   CountryCode=31

[Branding]
   BrandIEUsingUnattended=Yes

[URL]
   Home_Page=www.zdnet.nl

[Proxy]
   Proxy_Enable=0
   Use_Same_Proxy=1

[Identification]
   JoinWorkgroup=MSHOME

[Networking]
   InstallDefaultComponents=Yes

[Components]
   msmsgs=off
   freecell=off
   hearts=off
   minesweeper=off
   pinball=off
   solitaire=off
   spider=off
   zonegames=off
   Mswordpad =off

[Shell]
   CustomDefaultThemeFile = "%WinDir%\Resources\Themes\mce.theme"

[Display]
  ConfigureAtLogon=0
  AutoConfirm=1
  BitsPerPel=32
  Xresolution=1024
  Yresolution=768
  Vrefresh=85

Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...