- 积分
- 2666
- 最后登录
- 2024-3-29
- 精华
- 0
- 阅读权限
- 50
- 主题
- 696
- UID
- 732095
- 帖子
- 6230
- PB币
- 23060
- 威望
- 29
- 贡献
- 0
- 技术
- 1101
- 活跃
- 4330
- UID
- 732095
- 帖子
- 6230
- PB币
- 23060
- 贡献
- 0
- 技术
- 1101
- 活跃
- 4330
|
发表于 2014-11-15 20:10:06
IP属地香港
|显示全部楼层
Windows 10TP(Build 9879)企业版进一步扩充自动升级功能
我在Win8.1时曾报导了Win8.1企业版新增自动升级功能(setup.exe /autoupgrade), 现在MS新发布的Win10TP企业版更把这功能进一步扩充, 加进不少各种指针(swtches/parameters):
挂载Win10E(Build 9879) ISO, 在CMD 转路径到CD, 输入 "setupexe /?"便可参看详细说明(相信中文企业版便显示中文描述):
Microsoft Windows [Version 6.3.9600]
© 2013 Microsoft Corporation. All rights reserved.
J:\Windows\system32>cd /d k:
K:\>setup.exe /?
K:\>Setup.exe installs or upgrades Windows. The following command line argumen
can be used to modify the behavior of Windows installationSwitch: / auto <mig
tion choice>
Parameters : Upgrade; DataOnly; Clean
Action : Automate install with migration choice for the installation. The medi
setup UI and progress screens are shown by default, but are automated.This swi
h also assumes the following default configurations : EULA acceptance, Dynamic
pdate is enabled, telemetry collection and upload opt - in, OOBE will be skipp
, PBR will be updated or created.
Example : setup.exe / auto upgrade
Switch : / quiet
Parameters : N / A
Action : The quiet flag will suppress any setup UX, including rollback UX
Example : setup.exe / auto upgrade / quiet
Switch : / pkey <product key>
Parameters : 5x5 product key
Action : Supplies setup with the specified product key.This parameter is not n
essary when upgrading with volume licensed media or media that contains a pid.
t in the sources folder.
Example : setup.exe / auto upgrade / pkey ABC12 - DEF34 - GHI56 - JKL78 - MNP9
Switch : / showoobe <parameter>
Parameters : Full; None
Action : When / showoobe is set to Full, the end user must interactively compl
e OOBE.Alternatively, when / showoobe is set to None, OOBE is skipped and comp
ents are set to their default settings.
Example : setup.exe / auto upgrade / showoobe full
Switch : / noreboot
Parameters : N / A
Action : Setup will not automatically reboot the PC when it completes down - l
el OS tasks.The next time the PC is rebooted, setup will continue.
Example : setup.exe / auto upgrade / noreboot
Switch : / DynamicUpdate <parameter>
Parameters : Enable; Disable
Action : Specifies whether setup will perform Dynamic Update operations(search
download, and install updates).
Example : setup.exe / auto upgrade DynamicUpdate disable
Switch : / Postoobe <location>\setupcomplete.cmd
Parameters : Local file path or UNC network path to a file named setupcomplete
md
Action : Injects setupcomplete.cmd file from the specified location.Setupcompl
e.cmd is a customized script to perform tasks after the installation completes
ut before first user login.It is run with System privileges.
Example : setup.exe / auto upgrade / postoobe c : \script\setupcomplete.cmd
Switch : / Postrollback <location>
Parameters : Local file path or UNC network path to a file named setuprollback
md
Action : Injects setuprollback.cmd file from the specified location.Setuprolba
.cmd is a customized script to perform tasks after the installation fails and
e PC has rolled back to its previous OS.It is run with the same privileges as
e user or process that launched setup.
Example : setup.exe / auto upgrade / postrollback \MyShare\script\setuprollbac
cmd
Switch : / installfrom <location>
Parameters : Local file path or network path to a specific.wim
Action : Specifies location for installation source media / files
Example : setup.exe / auto clean / installfrom d : \myWim\customwim.wim
Switch : / PBRUpdate <parameter>
Parameters : Enable; Disable
Action : When / PBRUpdate is set to Enable, setup will update or create the PB
partition.Conversely, when / PBRUpdate is set to Disable, setup will not updat
or create the PBR partition
Example : setup.exe / auto upgrade / PBRupdate disable
Switch : / migratealldrivers <paramenter>
Parameters : All; None
Action : When / migratealldrivers is set to All, setup will attempt to migrate
ll drivers as part of the installation.In contrast, when / migratealldrivers i
set to None, setup will not migrate any drivers as part of the installation.
NOTE : this switch should only be used in testing and test envoriments.It shou
not be used in production.
Example : setup.exe / auto upgrade / migratealldrivers none
Switch : / installdrivers <location>
Parameters : Local file path or UNC network path to a folder that contains.inf
iles
Action : Setup will inject all driver.infs found in the specified location dur
g the installation process.Setup will recursively search through all the subfo
ers of the specified location.
Example : setup.exe / auto upgrade / installdrivers c : \myUpgrade\drivers
Switch : / Telemetry <parameter>
Parameters : Enable; Disable
Action : When / Telemetry is set to Enable, setup will collect and upload tele
try generated by the installation.However, when / Telemetry is set to Disable,
etup will not collect and upload installation - related telemetry.
Example : setup.exe / auto upgrade / Telemetry enable
Switch : / copylogs <location>
Parameters : Local file paths and UNC network paths
Action : Upon failure, setup will copy or upload compressed logs to the specif
d location.Please note that the PC and / or user must have permission and netw
k access to the specified file path.This command runs in the system context s
may not have permissions to copy to locations that require user permissions
Example : setup.exe / auto upgrade / copylogs \MyShare\UpgradeLogs
Scenario - Based Usage
An admin wants to upgrade the departments PCs from Windows 7 Enterprise overni
t.She does not want the setup user interface to appear, but she does want the
d users to manually go through the Out of box experience(known as OOBE) experi
ce.The following command line can be used to orchestrate the full upgrade to W
dows vNext, requiring user input only once the machine reaches OOBE :
Setup.exe / auto upgrade / quiet / showoobe full
Alternatively, a deployment engineer may want to collect logs and other diagno
ic information from test PCs in the event of a failure.The following command l
e instructs setup invoke the setuprollback.cmd script after an installation fa
ure :
Setup.exe / auto upgrade / installdrivers c : \myUpgrade\drivers / postrollbac
c : \setuprollback.cmd
|
-
2
查看全部评分
-
|