-
TO:琥珀兄
你的意思是...
將USER.cmd~
CLS
TITLE Creating User Accounts
ECHO.
ECHO Please wait while Windows sets up your user accounts
ECHO.
set _USER=@@
net user %_USER% /add
net localgroup administrators "%_USER%" /add
net localgroup users "%_USER%" /delete
%SystemRoot%\system32\reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "DefaultUserName" /d "%_USER%" /f
%SystemRoot%\system32\reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "DefaultUserPassword" /d "" /f
%SystemRoot%\system32\reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "AutoAdminLogon" /d "1" /f
ECHO.
改成~USER.cmd~
CLS
TITLE Creating User Accounts
ECHO.
ECHO Please wait while Windows sets up your user accounts
ECHO.
net user "@@" /add
net localgroup Administrators "@@" /add
net localgroup Users "@@" /del
%systemroot%\regedit /s logon.reg
ECHO.
這樣嗎??
-
.......SORRY~~
"@@"的帳號好像要手動加入才可以耶...
敢問各位大大有什麼方法可以把"@@"弄成自動的呢??
-
[url=http://www.cctips.com/Unattended]無人值守Windows XP安裝光盤(簡體)[/url]
如需自動翻譯, IE 請安裝Alibabar, Firefox 請安裝同人堂
-
;SetupMgrTag
[Data]
AutoPartition=0
MsDosInitiated="0"
UnattendedInstall="Yes"
AutomaticUpdates=yes
[Unattended]
OemSkipEula=Yes
OemPreinstall=YES
TargetPath=\WINDOWS
Repartition=No
UnattendSwitch=yes
WaitForReboot=No
DriverSigningPolicy=Ignore
ProgramFilesDir="C:\My Program Files"
KeyboardLayout="美式鍵盤 (中文)"
[GuiUnattended]
AdminPassword=*
EncryptedAdminPassword=NO
OEMSkipRegional=1
TimeZone=220
OemSkipWelcome=1
ProfilesDir="C:\Documents and Settings\"
[Display]
BitsPerPel=32
Xresolution=1024
Yresolution=768
Vrefresh=60
[UserData]
ProductKey=XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
FullName="USER"
OrgName=""
ComputerName=Insert Name
[TapiLocation]
CountryCode=886
Dialing=Tone
AreaCode=886
[RegionalSettings]
LanguageGroup=7,1,9,10
Language=00000404
[Identification]
JoinWorkgroup=MSHOME
[Networking]
InstallDefaultComponents=Yes
[Components]
msmsgs=off
msnexplr=off
[Shell]
CustomDefaultThemeFile = YES
DefaultStartPanelOff = NO
DefaultThemesOff = YES
[IEPopupBlocker]
AllowedSites=www.microsoft.com
BlockPopups=Yes
FilterLevel=Medium
ShowInformationBar=Yes
[WindowsFirewall]
Profiles=WindowsFirewall.TurnOffFirewall
[WindowsFirewall.TurnOffFirewall]
Mode=0
.................................................................
以上我是哪裡打錯了?
安裝時卻顯示
line 37 of the INF file \I386\winnt.sif is invalid
Setup cannot continue.Press any key to exit.
-
;SetupMgrTag
[Data]
AutoPartition=0
MsDosInitiated="0"
UnattendedInstall="Yes"
AutomaticUpdates=yes
[Unattended]
OemSkipEula=Yes
OemPreinstall=YES
TargetPath=\WINDOWS
Repartition=No
UnattendSwitch=yes
WaitForReboot=No
DriverSigningPolicy=Ignore
ProgramFilesDir="C:\My Program Files"
KeyboardLayout="美式鍵盤 (中文)"
[GuiUnattended]
AdminPassword=*
EncryptedAdminPassword=NO
OEMSkipRegional=1
TimeZone=220
OemSkipWelcome=1
ProfilesDir="C:\Documents and Settings\"
[Display]
BitsPerPel=32
Xresolution=1024
Yresolution=768
Vrefresh=60
[UserData]
ProductKey=XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
FullName="USER"
OrgName=""
ComputerName=Insert Name
[TapiLocation]
CountryCode=886
Dialing=Tone
AreaCode=886
[RegionalSettings]
LanguageGroup=7,1,9,10
Language=00000404
[Identification]
JoinWorkgroup=MSHOME
[Networking]
InstallDefaultComponents=Yes
[Components]
msmsgs=off
msnexplr=off
[Shell]
CustomDefaultThemeFile = YES
DefaultStartPanelOff = NO
DefaultThemesOff = YES
[IEPopupBlocker]
AllowedSites=www.microsoft.com
BlockPopups=Yes
FilterLevel=Medium
ShowInformationBar=Yes
[WindowsFirewall]
Profiles=WindowsFirewall.TurnOffFirewall
[WindowsFirewall.TurnOffFirewall]
Mode=0
.................................................................
以上我是哪裡打錯了?
安裝時卻顯示
line 37 of the INF file \I386\winnt.sif is invalid
Setup cannot continue.Press any key to exit.
-
ComputerName=Insert Name
你忘了雙引號和輸入名稱....
-
謝謝大大!!...終於可以進入到規劃硬碟的步驟了
但還有個問題
Alcohol%120跟PowerDVD6.0這兩個軟體要怎麼無值人守安裝
-
謝謝大大!!
PowerDVD6.0這個軟體要怎麼無值人守安裝
start /wait C:\Windows\System32\Shutdown.exe -r -t 60
萬一碰到系統不是安裝在C槽時要怎麼辦
-
用 %windir% 或 %systemroot% 都可以。
-
[QUOTE='琥珀']用 %windir% 或 %systemroot% 都可以。[/QUOTE]
成功了,謝謝你