The cause of pit father
- At first, the company’s computer may have some problems when other colleagues install some certificates, resulting in requests for wechat API, downloading Maven package and other requests requiring HTTPS will be reported
PKIX path building failedRelated errors, but this is not always reported. It will not be reported after multiple requests. It will be reported later. You can refer to some of the original discussionsHTTPS PKIX path building failed。
- I can’t help it. It takes too much time. I want to reinstall the system, but I just found out
win10You can upgrade to a new version, so upgrade first and use it directly
20H2, and then tested the HTTPS interface. Great, normal, no more problems, but then the tragedy came, request
java -versionWhen an error is found, open the environment variable and all
D:\java...It’s all turned into
*:\java...And not just
javaNo, as long as the path correlation installed in the D disk becomes an asterisk, there is no way but to modify all environment variables in batch.
- But after modification, it doesn’t work at all. A search on the Internet also needs to modify the registry. I exported the whole registry and searched the next keywords in batches
*:\, there are more than 10000 entries, which are a little confused. They are modified in batch (search and modify by keyword, because some
*:\It doesn’t have to be replaced with
D:\）Then, when importing the registry, you will be prompted that you do not have permission… Um…
- Related software
- Related operations
Registry Finder, open as Administrator
cmd, switch to
PsExecUnzip the directory and run the command
Psexec.exe - I - D - s registry finder application full path, it opens like this
registry finderYou have permission to modify the registry.
Registry FinderI won’t elaborate on the operation of. Right click the root directory to search for keywords, such as
*:\Program, search it out in the navigation bar
Replace in Find Results, find input for
*:\Program, replaced input
D:\ProgramThen it will be replaced.
*:\ProgramI search and replace in batches according to the directory keywords in disk D, because I find it directly
*:\There may be some places that are asterisks themselves. Instead, there may be problems.
- Reference documents:Solution to insufficient permission of windows to delete / modify registry