mac登录时发生意外错误_意外导航到错误的注册表项时该怎么办

mac登录时发生意外错误

mac登录时发生意外错误

wrgt_top

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_USERHKEY_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

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

Registry Editor immediately takes you to the corresponding value in the other hive.

注册表编辑器会立即将您带到另一个配置单元中的相应值。

wrgt_3

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.

请记住,只有在另一个配置单元中存在相同的密钥路径时,此方法才有效–如果您只是完全使用了错误的密钥,则不会起作用。 尽管如此,如果您花了任何时间在注册表中,此功能仍可以为您节省很多点击。 并且,尽管可以在注册表中进行复杂的工作,但可以节省任何时间。

翻译自: https://www.howtogeek.com/251396/what-to-do-when-you-accidentally-navigate-to-the-wrong-registry-key/

mac登录时发生意外错误

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值