![mac登录时发生意外错误](https://i-blog.csdnimg.cn/blog_migrate/2b5b214967fa71b5d7e1e40ae1a9df63.png)
mac登录时发生意外错误
![wrgt_top](https://i-blog.csdnimg.cn/blog_migrate/321eb7432d0b574fefdc0a221e0097a0.png)
If you use the Windows Registry Editor with any regularity, you’ve probably found more than once that you’ve drilled down to a key in the wrong hive. Maybe you drilled down to a key in HKEY_CURRENT_USER
when you really meant HKEY_LOCAL_MACHINE
. Instead of backing all the way out and clicking your way down to the right hive, we’ve got an easier way.
如果定期使用Windows注册表编辑器,则可能会发现不只一次地发现了错误的配置单元中的键。 也许当您真正想使用HKEY_LOCAL_MACHINE
时,您会深入到HKEY_CURRENT_USER
的键。 不用一路后退并单击您的方式到正确的配置单元,我们有了一个更简单的方法。
As you know, you can do a lot of cool stuff with the Windows Registry, but you can also do a fair bit of harm if you’re not careful. And if you’re new to messing around in the Registry, make sure you read up on how to use it first. And also make sure that you back up the Registry (and also your computer) before making changes.
如您所知,您可以使用Windows注册表做很多很酷的事情,但是如果您不小心的话,也可能会造成相当大的伤害。 而且,如果您不熟悉注册表中的内容,请务必先阅读如何使用它。 还要确保在进行更改之前备份注册表(以及计算机)。
Part of being careful is double-checking that the key or value you’re about to edit is indeed the right one. When you’ve found your location (and before making any edits), verify that you’re in the right place by checking out the status bar at the bottom of the window. A lot of the keys and values are the same in different hives. In particular, you’ll see a lot of similar locations in both the HKEY_CURRENT_USER
and HKEY_LOCAL_MACHINE
hives, which also happen to be the two you’ll make changes in the most frequently. Fortunately, the Registry Editor provides a handy way to jump between keys with the same path in different hives.
要谨慎一点,就是仔细检查一下您要编辑的键或值确实是正确的。 找到位置后(以及进行任何编辑之前),请检查窗口底部的状态栏,以确保您位于正确的位置。 在不同的配置单元中,许多键和值是相同的。 特别是,您会在HKEY_CURRENT_USER
和HKEY_LOCAL_MACHINE
配置单元中看到很多相似的位置,它们恰好是您最经常更改的两个位置。 幸运的是,注册表编辑器提供了一种方便的方法,可以在不同配置单元中具有相同路径的键之间跳转。
NOTE: This shortcut is only available in Windows 10, so unfortunately Windows 7 and 8 users are out of luck and will have to re-nagivate the Registry from scratch.
注意:此快捷方式仅在Windows 10中可用,因此不幸的是Windows 7和8用户不走运,必须从头开始重新命名注册表。
Say, for example, that you’ve drilled down into the following key:
举例来说,假设您已深入研究以下密钥:
HKEY_CURRENT_USER\System\CurrentControlSet\Policies
![wrgt_1](https://i-blog.csdnimg.cn/blog_migrate/d5ab5eb889eed502f34ee30f32fa0618.png)
Then you realize that you meant to go to System\CurrentControlSet\Policies
the HKEY_LOCAL_MACHINE
hive instead. Whoops!
然后,您意识到,您打算转而使用System\CurrentControlSet\Policies
HKEY_LOCAL_MACHINE
配置单元。 哎呀!
No need to start from scratch. Just right-click the current key (in this case, Policies
). As long as there is a matching path in another hive, a special “Go to” command will appear at the bottom of the context menu (in our example, “Go to HKEY_LOCAL_MACHINE"
). Click it to make the switch.
无需从头开始。 只需右键单击当前键(在本例中为Policies
)。 只要另一个配置单元中有匹配的路径,上下文菜单底部就会出现一个特殊的“转到”命令(在我们的示例中为“转到HKEY_LOCAL_MACHINE"
),单击以进行切换。
![wrgt_2](https://i-blog.csdnimg.cn/blog_migrate/6b3f73f790fa5be1e2a9cd162f6be4d4.png)
Registry Editor immediately takes you to the corresponding value in the other hive.
注册表编辑器会立即将您带到另一个配置单元中的相应值。
![wrgt_3](https://i-blog.csdnimg.cn/blog_migrate/d3f39dd695c66d0d0076e33fcc3041fe.png)
Remember, this only works if the same key path exists in another hive–it won’t work if you just went to the wrong key entirely. Still, this feature can save you a lot of clicking if you spend any time in the Registry. And, as complicated as working in the Registry can be, any time saved is welcome.
请记住,只有在另一个配置单元中存在相同的密钥路径时,此方法才有效–如果您只是完全使用了错误的密钥,则不会起作用。 尽管如此,如果您花了任何时间在注册表中,此功能仍可以为您节省很多点击。 并且,尽管可以在注册表中进行复杂的工作,但可以节省任何时间。
mac登录时发生意外错误