windows10安装教程官方(Windows10:简单的系统安装方法)

过去的男人能上房揭瓦,现在的男人会装系统。大家好,我是板板,带你装系统,学电脑,解决电脑故障。今日我们来学习在PE下安装windows10操作系统(系统启动不了的情况)。首先,我们需要使用U盘,制

过去的男人能上房揭瓦,现在的男人会装系统。大家好,我是板板,带你装系统,学电脑,解决电脑故障。今日我们来学习在PE下安装 windows10 操作系统(系统启动不了的情况)。

首先,我们需要使用U盘,制作一个PE启动盘。关于启动盘的制作方法,网上已经很多了,这里不在唠叨。我们需要重点了解的是,基本上PE启动盘中都会带一个工具,叫WinNTSetup。其运行界面如下图:

windows10安装教程官方(Windows10:简单的系统安装方法)

 

在使用这个工具时,几个主要的地方,及其概念我们需要明白。

选择Windows安装源。支持iso光盘镜像和wim镜像。意思是我们下载windows10的安装镜像iso文件,放到U盘或者硬盘中,在这里选择就可以了。

选择引导驱动器选择安装驱动器。这里的驱动器,就是我们所说的分区。Windows系统,将文件分成两个部分,一个是用于引导操作系统启动的引导文件,一个是操作系统本身的文件。这两部分文件,在MBR磁盘模式时(Lagecy启动),可以分别放在两个不同的分区中,也可以放在同一分区中。对于GPT磁盘模式(UEFI启动),引导文件在ESP分区中,系统分区是我们常看到的C盘。

启动分区的容量通常在100MB到300MB,比较容易识别,而且是磁盘的第一个分区。

不过有时候,我们看不见引导分区,无法选择。这时候,我们需要给没显示出来的引导分区分配一个盘符,然后就可以看见了。下图展示了ESP分区的位置,且没有分配盘符,而C盘就是我们的系统分区(安装驱动器),MSR分区可以不必理会。

windows10安装教程官方(Windows10:简单的系统安装方法)

 

当选择好引导驱动器和安装驱动器后,最好将两者都格式化一下。

如果你的电脑是MBR磁盘模式,没有分配独立的引导分区,那么引导驱动器和安装驱动器,就都选择C盘。

在选项中的“版本”下拉列表框中,我们选择需要安装的系统版本,也就是家庭版、专业版、企业版等。这是因为微软的wim镜像文件,一个镜像文件,可以同时包含多个系统版本。

接下来,我们想跳过繁琐的设置,比如建立账户、语言选择、设置隐私等,直接采用administrator账户 登录系统。为了达到这个目的,我们需要一个自动应答文件,代替我们响应用户输入。下面是板板做好的内容,你只需要用记事本(notepad)建立一个xml类型的文本文件,然后把下面的内容粘贴进去,保存,本例中为unattend.xml。

<span></span><span><<span>unattend</span> <span>xmlns</span>=<span>\"urn:schemas-microsoft-com:unattend\"</span>></span>    <span><<span>settings</span> <span>pass</span>=<span>\"generalize\"</span>></span>        <span><<span>component</span> <span>name</span>=<span>\"Microsoft-Windows-PnpSysprep\"</span> <span>processorArchitecture</span>=<span>\"amd64\"</span> <span>publicKeyToken</span>=<span>\"31bf3856ad364e35\"</span> <span>language</span>=<span>\"neutral\"</span> <span>versionScope</span>=<span>\"nonSxS\"</span> <span>xmlns:wcm</span>=<span>\"http://schemas.microsoft.com/WMIConfig/2002/State\"</span> <span>xmlns:xsi</span>=<span>\"http://www.w3.org/2001/XMLSchema-instance\"</span>></span>            <span><<span>DoNotCleanUpNonPresentDevices</span>></span>true<span></<span>DoNotCleanUpNonPresentDevices</span>></span>            <span><<span>PersistAllDeviceInstalls</span>></span>true<span></<span>PersistAllDeviceInstalls</span>></span>        <span></<span>component</span>></span>    <span></<span>settings</span>></span>    <span><<span>settings</span> <span>pass</span>=<span>\"specialize\"</span>></span>        <span><<span>component</span> <span>name</span>=<span>\"Microsoft-Windows-Deployment\"</span> <span>processorArchitecture</span>=<span>\"amd64\"</span> <span>publicKeyToken</span>=<span>\"31bf3856ad364e35\"</span> <span>language</span>=<span>\"neutral\"</span> <span>versionScope</span>=<span>\"nonSxS\"</span> <span>xmlns:wcm</span>=<span>\"http://schemas.microsoft.com/WMIConfig/2002/State\"</span> <span>xmlns:xsi</span>=<span>\"http://www.w3.org/2001/XMLSchema-instance\"</span>></span>            <span><<span>RunSynchronous</span>></span>                <span><<span>RunSynchronousCommand</span> <span>wcm:action</span>=<span>\"add\"</span>></span>                    <span><<span>Order</span>></span>1<span></<span>Order</span>></span>                    <span><<span>Path</span>></span>net user administrator /active:yes<span></<span>Path</span>></span>                    <span><<span>WillReboot</span>></span>Never<span></<span>WillReboot</span>></span>                    <span><<span>Description</span>></span>Enable Admin Account<span></<span>Description</span>></span>                <span></<span>RunSynchronousCommand</span>></span>            <span></<span>RunSynchronous</span>></span>        <span></<span>component</span>></span>        <span><<span>component</span> <span>name</span>=<span>\"Microsoft-Windows-Shell-Setup\"</span> <span>processorArchitecture</span>=<span>\"amd64\"</span> <span>publicKeyToken</span>=<span>\"31bf3856ad364e35\"</span> <span>language</span>=<span>\"neutral\"</span> <span>versionScope</span>=<span>\"nonSxS\"</span> <span>xmlns:wcm</span>=<span>\"http://schemas.microsoft.com/WMIConfig/2002/State\"</span> <span>xmlns:xsi</span>=<span>\"http://www.w3.org/2001/XMLSchema-instance\"</span>></span>            <span><<span>CopyProfile</span>></span>true<span></<span>CopyProfile</span>></span>            <span><<span>TimeZone</span>></span>China Standard Time<span></<span>TimeZone</span>></span>        <span></<span>component</span>></span>        <span><<span>component</span> <span>name</span>=<span>\"Microsoft-Windows-UnattendedJoin\"</span> <span>processorArchitecture</span>=<span>\"amd64\"</span> <span>publicKeyToken</span>=<span>\"31bf3856ad364e35\"</span> <span>language</span>=<span>\"neutral\"</span> <span>versionScope</span>=<span>\"nonSxS\"</span> <span>xmlns:wcm</span>=<span>\"http://schemas.microsoft.com/WMIConfig/2002/State\"</span> <span>xmlns:xsi</span>=<span>\"http://www.w3.org/2001/XMLSchema-instance\"</span>></span>            <span><<span>Identification</span>></span>                <span><<span>JoinWorkgroup</span>></span>WORKGROUP<span></<span>JoinWorkgroup</span>></span>            <span></<span>Identification</span>></span>        <span></<span>component</span>></span>        <span><<span>component</span> <span>name</span>=<span>\"Microsoft-Windows-MicrosoftEdgeBrowser\"</span> <span>processorArchitecture</span>=<span>\"amd64\"</span> <span>publicKeyToken</span>=<span>\"31bf3856ad364e35\"</span> <span>language</span>=<span>\"neutral\"</span> <span>versionScope</span>=<span>\"nonSxS\"</span> <span>xmlns:wcm</span>=<span>\"http://schemas.microsoft.com/WMIConfig/2002/State\"</span> <span>xmlns:xsi</span>=<span>\"http://www.w3.org/2001/XMLSchema-instance\"</span>></span>            <span><<span>FavoriteBarItems</span>></span>                <span><<span>FavoriteBarItem</span> <span>wcm:action</span>=<span>\"add\"</span>></span>                    <span><<span>ItemFavIconFile</span>></span>http://dh.lanfutun.com/favicon.ico<span></<span>ItemFavIconFile</span>></span>                    <span><<span>ItemKey</span>></span>lanfutun<span></<span>ItemKey</span>></span>                    <span><<span>ItemName</span>></span>官网导航<span></<span>ItemName</span>></span>                    <span><<span>ItemUrl</span>></span>http://dh.lanfutun.com<span></<span>ItemUrl</span>></span>                <span></<span>FavoriteBarItem</span>></span>            <span></<span>FavoriteBarItems</span>></span>        <span></<span>component</span>></span>    <span></<span>settings</span>></span>    <span><<span>settings</span> <span>pass</span>=<span>\"oobeSystem\"</span>></span>        <span><<span>component</span> <span>name</span>=<span>\"Microsoft-Windows-Shell-Setup\"</span> <span>processorArchitecture</span>=<span>\"amd64\"</span> <span>publicKeyToken</span>=<span>\"31bf3856ad364e35\"</span> <span>language</span>=<span>\"neutral\"</span> <span>versionScope</span>=<span>\"nonSxS\"</span> <span>xmlns:wcm</span>=<span>\"http://schemas.microsoft.com/WMIConfig/2002/State\"</span> <span>xmlns:xsi</span>=<span>\"http://www.w3.org/2001/XMLSchema-instance\"</span>></span>            <span><<span>OOBE</span>></span>                <span><<span>ProtectYourPC</span>></span>2<span></<span>ProtectYourPC</span>></span>                <span><<span>SkipMachineOOBE</span>></span>true<span></<span>SkipMachineOOBE</span>></span>                <span><<span>SkipUserOOBE</span>></span>true<span></<span>SkipUserOOBE</span>></span>            <span></<span>OOBE</span>></span>            <span><<span>UserAccounts</span>></span>                <span><<span>LocalAccounts</span>></span>                    <span><<span>LocalAccount</span> <span>wcm:action</span>=<span>\"add\"</span>></span>                        <span><<span>Description</span>></span>Default Administrator Account<span></<span>Description</span>></span>                        <span><<span>DisplayName</span>></span>Administrator<span></<span>DisplayName</span>></span>                        <span><<span>Group</span>></span>Administrators<span></<span>Group</span>></span>                        <span><<span>Name</span>></span>Administrator<span></<span>Name</span>></span>                    <span></<span>LocalAccount</span>></span>                <span></<span>LocalAccounts</span>></span>            <span></<span>UserAccounts</span>></span>        <span></<span>component</span>></span>    <span></<span>settings</span>></span>    <span><<span>settings</span> <span>pass</span>=<span>\"windowsPE\"</span>></span>        <span><<span>component</span> <span>name</span>=<span>\"Microsoft-Windows-Setup\"</span> <span>processorArchitecture</span>=<span>\"amd64\"</span> <span>publicKeyToken</span>=<span>\"31bf3856ad364e35\"</span> <span>language</span>=<span>\"neutral\"</span> <span>versionScope</span>=<span>\"nonSxS\"</span> <span>xmlns:wcm</span>=<span>\"http://schemas.microsoft.com/WMIConfig/2002/State\"</span> <span>xmlns:xsi</span>=<span>\"http://www.w3.org/2001/XMLSchema-instance\"</span>></span>            <span><<span>EnableFirewall</span>></span>false<span></<span>EnableFirewall</span>></span>            <span><<span>EnableNetwork</span>></span>false<span></<span>EnableNetwork</span>></span>            <span><<span>Restart</span>></span>Restart<span></<span>Restart</span>></span>            <span><<span>UserData</span>></span>                <span><<span>AcceptEula</span>></span>true<span></<span>AcceptEula</span>></span>                <span><<span>ProductKey</span>></span>                    <span><<span>Key</span>></span><span></<span>Key</span>></span>                <span></<span>ProductKey</span>></span>            <span></<span>UserData</span>></span>        <span></<span>component</span>></span>        <span><<span>component</span> <span>name</span>=<span>\"Microsoft-Windows-International-Core-WinPE\"</span> <span>processorArchitecture</span>=<span>\"amd64\"</span> <span>publicKeyToken</span>=<span>\"31bf3856ad364e35\"</span> <span>language</span>=<span>\"neutral\"</span> <span>versionScope</span>=<span>\"nonSxS\"</span> <span>xmlns:wcm</span>=<span>\"http://schemas.microsoft.com/WMIConfig/2002/State\"</span> <span>xmlns:xsi</span>=<span>\"http://www.w3.org/2001/XMLSchema-instance\"</span>></span>            <span><<span>SetupUILanguage</span>></span>                <span><<span>UILanguage</span>></span>zh-CN<span></<span>UILanguage</span>></span>            <span></<span>SetupUILanguage</span>></span>            <span><<span>InputLocale</span>></span>en-US;zh-CN<span></<span>InputLocale</span>></span>            <span><<span>LayeredDriver</span>></span>1<span></<span>LayeredDriver</span>></span>            <span><<span>SystemLocale</span>></span>zh-CN<span></<span>SystemLocale</span>></span>            <span><<span>UILanguage</span>></span>zh-CN<span></<span>UILanguage</span>></span>            <span><<span>UserLocale</span>></span>zh-CN<span></<span>UserLocale</span>></span>            <span><<span>UILanguageFallback</span>></span>en-US<span></<span>UILanguageFallback</span>></span>        <span></<span>component</span>></span>    <span></<span>settings</span>></span>    <span><<span>cpi:offlineImage</span> <span>cpi:source</span>=<span>\"wim:e:/osdiy/install.wim#wps\"</span> <span>xmlns:cpi</span>=<span>\"urn:schemas-microsoft-com:cpi\"</span> /></span><span></<span>unattend</span>></span>

有了unattend.xml自动应答文件,在WinNTSetup中,勾选左下角的”无人值守“,并通过右侧下拉列表选择我们的自动应答文件。

最后,点击右下角“开始安装”,待完成后,重启电脑,然后呢,等着进桌面就可以了。

本站部分文章来自网络或用户投稿,如无特殊说明或标注,均为本站原创发布。涉及资源下载的,本站旨在共享仅供大家学习与参考,如您想商用请获取官网版权,如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
科技百科

苹果电脑大写键盘怎么开(Mac电脑键盘大写按键失灵处理技巧)

2023-4-10 19:53:41

科技百科

笔记本电脑wifi已连接不可上网是什么原因(路由器连接上但上不了网解决方法)

2023-4-10 19:53:43

搜索