VMware virtual machine packaging windows10: system personalized settings + mother disk streamlining (with video)

Preparation:

In the previous article, the windows10 system has been installed, and the system is used as the system master disk, and the operation is performed on this basis

Move to the above link: https://blog.csdn.net/u014588173/article/details/128727204

The system simplification in this section mainly includes the following contents:

  1. Enable local administrator

  1. Create a new disk partition

  1. Uninstall the system software

  1. Close File Explorer hot folders

  1. Turn on Power Options Superior Performance

  1. Turn on the system to display the timing seconds

  1. Uninstall the system edge browser + system antivirus

  1. Install personal software

  1. clear system cache

  1. delete system hibernation file

  1. dismm++ space reclamation

The above content can be customized according to personal usage

    • Enable local administrator

Open the virtual machine and open the desktop icon:

Desktop - right click - personalization - theme - related settings - desktop icon settings - check the corresponding desktop icon according to personal circumstances

Enable local administrator:

By default, the local administrator is disabled, and the administrator needs to be unlocked after the administrator is turned on to prevent the screen from being locked.

Open method:

As shown in the picture: desktop icon-this computer-right-click-management-local users and groups-user-administrator-right-click-properties-uncheck the account is disabled

    • Create a new disk partition

Purpose: Due to the virtual machine package, it is necessary to copy the files and software to be used to the virtual machine. Here, the method of disk mapping is used to realize

As shown in the picture: desktop icon-this computer-right-click-management-disk management-select the disk to be divided into new partitions-right-click-compress volume

As shown in the figure: Enter the size of the compressed volume-compress-click the next step all the time

Note: 1GB=1024Mb and so on

As shown in the figure: get a 20GB unallocated space

As shown in the figure: Select unallocated space - right click - create a new simple volume

As shown in the figure: get a new volume

Change drive letter and path

As shown in the figure: select the drive letter to be changed - right click - change the drive letter and path - change - select the changed drive letter - OK

Note: If the drive letter to be changed is occupied, you need to change the occupied drive letter to another drive letter.

For example: if you already have D, you need to change E to D, first change D to f or others, and then change E to D

Get a new partition as shown in the figure

Virtual machine disk mapping:

As shown in the figure: the virtual machine is shut down, double-click the hard disk - select the hard disk - map

Select the partition that needs to be mapped - OK

As shown in the figure: Copy the software and files needed to the mapped drive

Note: After the file copy is complete, you need to close all file managers - disconnect the mapping - OK - and then operate the virtual machine

    • 卸载系统内置软件(以下部分内容来自互联网)

可通过命令和相关软件进行卸载

这里通过命令进行卸载

系统自带软件详细命令说明:

以管理员身份运行PowerSell,再运行以下命令

1.查看已安装的应用清单

Get-AppxPackage | Select Name, PackageFullName

2.卸载所有内置软件

Get-AppXPackage | Remove-AppxPackage

3.卸载所有用户内置软件(运行该命令后,将卸载本机所有已有账户的内置应用)

Get-AppxPackage -AllUsers | Remove-AppxPackage

4.卸载新建用户自带内置软件(运行该命令后,所有新建的用户不在自带内置应用)

Get-AppXProvisionedPackage -online | Remove-AppxProvisionedPackage –online

5.单个应用卸载

Get-AppxPackage -allusers *xxxx* | Remove-AppxPackag

其中“xxxx”代表应用名

列如:需要卸载:“电影和电视”

get-appxpackage *zunevideo* | remove-appxpackage

6.其他应用卸载

OneNote:

Get-AppxPackage *OneNote* | Remove-AppxPackage

3D打印:

Get-AppxPackage *3d* | Remove-AppxPackage

Camera相机:

Get-AppxPackage *camera* | Remove-AppxPackage

邮件和日历:

Get-AppxPackage *communi* | Remove-AppxPackage

新闻订阅:

Get-AppxPackage *bing* | Remove-AppxPackage

Groove音乐、电影与电视:

Get-AppxPackage *zune* | Remove-AppxPackage

人脉:

Get-AppxPackage *people* | Remove-AppxPackage

手机伴侣(Phone Companion):

Get-AppxPackage *phone* | Remove-AppxPackage

照片:

Get-AppxPackage *photo* | Remove-AppxPackage

纸牌游戏:

Get-AppxPackage *solit* | Remove-AppxPackage

录音机:

Get-AppxPackage *soundrec* | Remove-AppxPackage

Xbox:

Get-AppxPackage *xbox* | Remove-AppxPackage

7.卸载错误恢复

注:封装后的系统可能不适用,因为系统精简过程中,可能已经删除对应内置应用的相关文件

7.1单独恢复某一个应用

例如恢复“计算器”

Windows PowerShell管理员运行

Get-AppxPackage -allusers *windowscalculator* 查看计算器信息

再输入以下命令:

Add-AppxPackage -register "C:\Program Files\WindowsApps\Microsoft.WindowsCalculator_10.1903.21.0_x64__8wekyb3d8bbwe\appxmanifest.xml" -DisableDevelopmentMode

安装计算器," "中就是InstallLocation的路径\appxmanifest.xml,根据自己的路径改

原文链接:https://blog.csdn.net/Ver_Chen/article/details/90613239

7.2运行以下命令恢复所有内置应用

Get-AppxPackage -AllUsers| Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}

如图,相关卸载过程,卸载过程中,报错等信息无需理会。等待下载完成即可

    • 关闭文件资源管理器常用文件夹

复制以下信息到文本文件,保存为.reg,以管理员运行即可

Windows Registry Editor Version 5.00

;如需还原去除上语句前减号即可

;取消我的电脑"视频"文件夹

[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{f86fa3ab-70d2-4fc7-9c99-fcbf05467f3a}]

;取消我的电脑"文档"文件夹

[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{d3162b92-9365-467a-956b-92703aca08af}]

;取消我的电脑"桌面"文件夹

[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{B4BFCC3A-DB2C-424C-B029-7FE99A87C641}]

;取消我的电脑"音乐"文件夹?

[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{3dfdf296-dbec-4fb4-81d1-6a3438bcf4de}]

;取消我的电脑"下载"文件夹

[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{088e3905-0323-4b02-9826-5d99428e115f}]

;取消我的电脑"图片"文件夹

[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{24ad3ad4-a569-4530-98e1-ab02f9417aa8}]

;取消我的电脑"3D对象"文件夹

[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{0DB7E03F-FC29-4DC6-9020-FF41B59E513A}]

关闭前后对比

关闭前如图:

关闭后如图

    • 开启电源选项卓越性能

Windows PowerShell管理员运行以下内容

powercfg -duplicatescheme e9a42b02-d5df-448d-aa00-03f14749eb61

如图:开启前

开启后

    • 开启系统显示时机秒

修改注册表信息如下:

运行:regedit打开注册表

以此找到以下路径:HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced

点击Advanced-右键-新建DWORD(32位)值-命名为ShowSecondsInSystemClock-右键修改数值数据:1

修改完成后重启资源管理器,或重启系统生效

显示前

显示后

    • 卸载系统edge浏览器+系统杀毒

因各命令卸载不太完美,这里使用小鱼儿的系统封装优化设置辅助工具

下载地址:https://www.yrxitong.com/h-nd-100.html

如图:功能强大,根据需要选择

    • 安装个人常用软件

将个人常用软件,预先安装,列如输入法,压缩软件等

9.清理系统缓存

有很多清理办法和清理软件,可自行百度

这里使用软梅清理大师,根据需要进行选择清理

10.删除系统休眠文件

如有快速启动的需求,谨慎操作

休眠文件占用系统空间很大部分,关闭后可以缩小很多系统空间

powercfg -h off 关闭休眠文件

powercfg -h on 开启休眠文件

11.dism++空间回收

使用dism++再次进行空间优化缩小,直接全选-扫描-清除就好

系统精简基本差不多了。下一节进行系统封装

系统精简方法较多,软件较多,因人,环境,需求而已,根据自己使用习惯,或公司需求需要进行自定义设置,本文仅记录过程

视频链接

视频链接第一段:https://v.ixigua.com/kgU4VSr/

视频链接第二段:https://v.ixigua.com/kgUWHrt/

Guess you like

Origin blog.csdn.net/u014588173/article/details/128732467
Recommended