Instructions on preparation before reinstalling the system, backup and system optimization after reinstallation, usage habits, etc.

foreword

The company's computer is really stuck, to what extent is it stuck, so stuck that I go to work every day and swear at the company, all caused by the computer lag, it is really annoying.

The memory and hard disk are full from time to time. I thought it was a memory problem. After all, I only have one 8G 2666 memory stick. If I open chrome and idea and add others, the usage is 70% to 80%, and it goes up to 100% from time to time 100% soaring.

Then I went to the company to apply for additional memory. After adding it, the memory will not be full, but the hard disk is still the same, it takes up 100% every time, and the card is outrageous. Especially when the project is packaged and deployed, and when someone reports a bug to you and you are eager to fix it, it is really blood pressure and you want to smash the computer. When the remote deployment copies the package to the past, it often gets stuck, especially when the progress is only 5% left.

I still can't figure it out. It stands to reason that the configuration of this computer is not bad. i5-10400 + 16g memory + 512g solid state, it should be more than enough to write a code for a business, so it won't be stuck there every time! I even downloaded 360 to check if my computer was poisoned, but it was not poisoned after scanning!

I have thought about reinstalling the system for a long time, but I feel that the cost is a bit high, and I feel that reinstalling is very troublesome. Many configurations need to be reconfigured, especially some environment variable configurations, configuration settings of development tools, usage habits, etc., so I think it is better to bear with it. I finally couldn't bear it anymore, I finally decided to reinstall the system some time ago! Before starting to reinstall, I did a series of tools for reinstalling the system, as well as some preparations such as configuration backups.

The following is a summary after I reinstalled the system and adjusted the usage habits of the system, for your reference if you want to reinstall. You can refer to my instructions to backup the backup and set the settings.

start

1. Environment variable backup

To reinstall the system, the first thing is to back up the environment variables.

1. Manual backup

Right click on My Computer, Properties, Advanced System Settings, Environment Variables. In the opened window, manually copy the environment variables to be backed up and save them.
For example:

EXE4J_JAVA_HOME:D:\Java\jdk\jdk8\jre

PathD:\Java\jdk\apache-maven-3.6.3\bin
		D:\Java\jdk\mysql-8.0.30\bin
		D:\Java\jdk\jdk8\bin
		D:\Java\jdk\jdk8\jre\bin
		D:\Java\jdk\jdk8\lib\dt.jar
		D:\Java\jdk\jdk8\lib\tools.jar
		D:\Java\jdk\SQLite
		D:\Program Files\DevTools\nodejs\
		D:\Program Files\DevTools\TortoiseGit\bin
		D:\Program Files\DevTools\Git\cmd

2. Registry export backup

The location of the system environment variable in the registry:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment

You can directly right-click Environment to export it as a registry file, and execute the registry after reinstalling the system; you can also double-click the name you want to back up in the name on the right, copy the value and save it, and after reinstalling, put These values ​​are copied back.

The location of the user environment variable in the registry:

HKEY_USERS\S-1-5-21-xxxxxxx\Environment

2. Idea settings backup and unlimited reset trial period plug-in backup

The next step is the idea. First, you need to export the settings for backup. This contains all the settings of the idea, which are all your own usage habits. If there is no backup, it means that after reinstalling the system, these usage habits need to be reset, which is also very troublesome, so it must be saved.

insert image description here

After installing the system, select import settings to import the previously exported backup settings.


Unlimited reset trial period plug-in: IDE Eval Reset
can download the plug-in directly in the plug-in store, or use the following compressed package for offline installation (I put the compressed package in the link at the end of the article)

3. Navicat software installation package and registration machine preparation

After the idea-related backup is completed, the next step is the database tool navica-related backup.

Like idea, if you reinstall the system, you don’t actually need to reinstall it, because there is a plug-in that resets the trial period, it doesn’t matter whether you reinstall it or not. But navicat is more troublesome and needs to be reinstalled. The old installation directory can be found and deleted directly.

The installation package can be downloaded from the official website. The following mainly talks about the use of the registration machine (the registration machine is placed in the link at the end of the article).

A、安装好navicat后先不要打开,先断开网络,然后打开注册机NavicatCracker.exe 软件,选择navicat 的安装目录,点击PathB、生成序列号并复制到剪贴板。

C、运行navicat,注册,粘贴序列号,点击手动激活。

D、将navicat的请求码复制到注册机中,点击Generate Activation Code,生成激活码,将激活码复制到navicat中,点击激活即可。

insert image description here
For specific detailed operations, please refer to: navicat registration activation

4. Development tool plug-in backup/record

Then the plug-ins of other development tools are backed up. This depends on what development tools you have.

Remember the plug-ins used by the development editor you use, so that you can reinstall these plug-ins after reinstalling the system.

For example, the VSCode plug-in is placed in the C:\Users\username.vscode folder. You can try to back up this folder directly. After installing the system, put it back in the C:\Users\username\ directory , and then restart vscode to see if it works, otherwise you need to reinstall the plugin.

Then there are other settings that need to be backed up, because generally their settings are saved in the C drive. Once the system is not backed up and the system is reinstalled, it needs to be reset, which is very troublesome.
insert image description here

5. Other software installation packages that need to be reinstalled

Here are a few development tools to reinstall:

Git: Git download

TortoiseGit: TortoiseGit and language pack downloads

Navicat: navicat16 installation package download

6. Prepare the system image and micro PE

We will back up the settings/plug-ins and reactivation of the development tools (this is almost what I use myself, if you use other tools, please add them). The next step is to prepare the tools and image files for reinstalling the system, which I will put at the end of the article.

Seven, Win10 system activation tool

After reinstalling, we need to activate the system, and the activation tool is at the end of the article.

8. System optimization

After the system is activated, the next step is to configure your own usage habits and optimize some systems.

1. Close the hibernation file

Win + R —> cmd —> powercfg -h off, restart the computer

2. Change/close virtual memory

Right-click My Computer; Properties; Advanced System Settings; Performance—>Settings; Advanced Tab; Change Button; System Disk Select No Paging File—>Settings, so that the paging file size of the system disk is "None" (at this step Turn off the virtual memory, if you don’t need to set the virtual memory, you don’t need to set it later);

Then select any other disk other than the system disk, such as D disk, and select the size associated with the system -> Settings, so that the paging file size of D disk is "managed system".

The picture below is what I set up, changing the virtual memory from the C drive to the D drive.
insert image description here

3. Set the notification area on the taskbar, which icons are displayed on the taskbar

4. Use the Dism++ system optimization function to close or open related items according to your usage habits

5. Use the right-click .exe program to optimize the right-click menu

6. Use notepad2 to replace the system notepad

Open with Notepad Replace System Notepad.reg

将 D:\Program Files\DevTools\Notepad2\Notepad2.exe\

Change this directory to the directory where your own notepad2 is located, save it, and then double-click to run it. (It may be necessary to restart the computer, or try ctrl+alt+delete to log out)

7. Right-click files and folders to add copy path menu

8. Set the default installation path of the software

Open the registry and navigate to

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion

Select CurrentVersion, and set the value of the name under this item to the directory of other disks, do not use the default C disk directory. As shown below:
insert image description here

Next are some beautification methods, those who do not want to beautify can be ignored.

9. The taskbar is transparent, double-click to execute the taskbar transparent.bat

10. Change the hard disk icon

Unzip and change the hard disk icon file, and put the two files into the root directory of the hard disk, such as the D drive (you can use your favorite ico icon). If the name of the ico icon is changed, open autorun.inf with Notepad, and change the name of the ico icon accordingly (you can rename the hard disk name after setting, the hard disk icon will change, and then change the hard disk name back. Or Do you want to restart Explorer?).

Finally, set these two files as read-only and hidden to prevent accidental deletion.

11. Set the resource manager background

Unzip the background file of the folder, which contains instructions for use.

12. Custom post bar emoji mouse pointer

Unzip the mouse pointer file, which contains some mouse pointers I use myself.

Nine, finally

After installing the system, if there is a green version (installation-free) for any software you want to install in the future, try to download the green version, so that you can use it immediately after downloading and decompressing, no need to install, and it will not be affected every time you reinstall the system in the future.

If there is no green version to install, those that can be installed on other disks should be installed on other disks, so that the next time the system is reinstalled, the affected software will be very small. Because in fact, after a lot of software is installed, even if the software is not reinstalled the next time the system is reinstalled, it can still run without affecting the use. For example, some commonly used software: WeChat, Baidu Netdisk, NetEase Cloud Music, Aliyun Disk, ApiPost, idea, etc., are installed in the D drive at the beginning. After I reinstall the system next time, I will not reinstall them, and they will still work normally. use.




PS: After I reinstalled it, I never got stuck again! ! ! Sure enough, it is a system problem. The home version I used before is a hot chicken! ! ! After the reinstallation, the usage rate of CPU, memory, and disk has been reduced by not a little bit, and the production efficiency has been greatly improved, and there is no more cursing in the company because of the freeze problem! The whole person is calm, and the blood pressure is normal!

So a suitable and easy-to-use system is really the top priority for computer work!

10. Resources used

I put the system image file here , the extraction code: fhua. There are also system activation tools and tools for reinstalling the system here.

Explanation: In terms of the system, it is a streamlined and optimized system that does not forget the original intention. I am using it myself. I installed the beautified version of win10. It is no problem for daily office work and playing games, and then the graphics card driver needs to be installed by myself. The main reason is that this system is really ok, and many unnecessary services and processes have been streamlined. After I installed it, the system occupies only about 10 G, which is half the size compared to the 20 G of the home version I used before! However, there are many versions of the streamlined system he made. For daily office use and games, it is recommended to install the pure streamlined version, the beautified version, and the game version . I use the beautified version of the company's computer, and the pure and simplified version of my own computer, and there is no problem. I haven't experienced that deep streamlined version , but it should be so small that many things have been castrated.

If you want to know more about it, you can go to station B to search for the keywords of the original heart system, and watch the video to learn more. You can also go to the blog website to learn about Baidu's original intention blog, where each system optimization and streamlining item will be listed.

Of course, if you don't want to use a third-party streamlined system, it doesn't matter, you can go to MSDN to download it.

Then there are other tools mentioned above, I have organized them in a document, online disk sharing , extraction code: fhua, or 123 disk , extraction code: fhua.

Guess you like

Origin blog.csdn.net/weixin_43165220/article/details/129988062