【求助】無人值守, 自動化安裝XP光碟製作一問 - 第2頁 - PCZONE 討論區

返回   PCZONE 討論區 > ▲ -- 電 腦 軟 體 討 論 區 > -- Windows 討 論 版


PCZONE 討論區



通知

-- Windows 討 論 版 包括 Windows 95/98/ME、Windows NT/2000/XP/Server 2003 等的疑難雜症解答與經驗分享。

會員

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~~
"@@"的帳號好像要手動加入才可以耶...
敢問各位大大有什麼方法可以把"@@"弄成自動的呢??
回覆
FYI
會員

無人值守Windows XP安裝光盤(簡體)
如需自動翻譯, 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% 都可以。
回覆
會員

引用:
作者: 琥珀
用 %windir% 或 %systemroot% 都可以。
成功了,謝謝你



回覆


類似的主題
主題 主題作者 討論版 回覆 最後發表
【求助】無人值守 CD一問 ywc -- Windows 討 論 版 2 2004-06-25 01:45 PM






 XML   RSS 2.0   RSS 
本站使用 vBulletin 合法版權程式
站務信箱 : [email protected]

本論壇所有文章僅代表留言者個人意見,並不代表本站之立場,討論區以「即時留言」方式運作,故無法完全監察所有即時留言,若您發現文章可能有異議,請 email :[email protected] 處理。