Windows 8 禁用智能卡即插即用 [英] windows 8 disable smartcard plug and play

查看:54
本文介绍了Windows 8 禁用智能卡即插即用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在读取智能卡时遇到延迟问题,我认为这可能是智能卡即插即用服务的问题.

I have a delay problem reading my smartcard and I think that is possible to be a problem with Smartcard Plug and Play service.

我在谷歌上搜索了这个,发现可以使用 gpedit.msc 禁用.问题是 gpedit.msc 在 Windows 8(非专业)下无法访问.

I googled about this and found that is possible to disable with gpedit.msc ..the problem is that gpedit.msc is not accesible with Windows 8 (non professional).

在 Windows 7 中有一个名为 EnableScPnP 的注册表可以工作,但我在 Win 8 中没有找到.

In windows 7 there is a registry called EnableScPnP that works, but I didn't found this at Win 8.

如何在 win8 中禁用智能卡即插即用?

How can I disable Smartcard Plug and Play with win8?

推荐答案

尝试设置相同的 EnableScPnp 注册表项(见下文)并重新启动.根据文档,它不应该需要重新启动,但我已经验证此设置需要重新启动.根据我的阅读,EnableScPnp 应该可以在 W7 或 W8 或 W8.1 上运行.根据 SmartCard.admx,它肯定没有更改注册表项.

Try setting the same EnableScPnp registry key (see below) and rebooting. According to the docs, it's not supposed to require a reboot, but I've verified a reboot is required for this setting. From what I've read, EnableScPnp should work on W7 or W8 or W8.1. According to SmartCard.admx, it certainly hasn't changed registry keys.

奇怪的是,如果我在 W7/W8/W8.1 上设置注册表项,它并没有说它是在 gpedit.msc 中设置的.不应该有 W7/W8 策略缓存,是吗?不太确定这是如何工作的.我以为手动注册表编辑会出现在 gpedit.msc 中,在过去大约是 XP?

Oddly if I set the registry key on W7/W8/W8.1, it doesn't say it is set in gpedit.msc. There isn't supposed to be a W7/W8 policy cache, is there? Not quite sure how that works. I thought manually registry edits showed up in gpedit.msc, in the old days circa XP?

可能我忘记重新启动,但我在 W8.1 上看到的一个潜在问题是有一个称为组策略缓存的新功能,它会干扰直接写入任何组策略注册表项.例如有某种缓存C:\Windows\System32\GroupPolicy\Machine\Registry.pol".我不知道如何在不使用 gpedit.msc 的情况下更新策略缓存.您可以禁用策略缓存(尽管您再次需要 gpedit.msc).但是我很确定如果您重新启动,策略缓存中的任何值都会覆盖任何注册表项(如果我运行 gpupdate/force 这当然是正确的).

Possibly I forgot to reboot, but a potential issue I saw on W8.1 is that there is a new feature called Group Policy Caching which interferes with writing directly to any group policy registry key. There is some kind of cache in e.g. "C:\Windows\System32\GroupPolicy\Machine\Registry.pol". I don't know how to update the policy cache without using gpedit.msc. You can disable policy caching though (although again you would need gpedit.msc). But I'm pretty sure if you rebooted, any value in the policy cache would overwrite any registry key (if I run gpupdate /force this is certainly true).

我搜索了一些,但我没有从 Microsoft 或其他地方找到任何关于人们现在应该如何修改策略缓存的信息.鉴于 8.1 的新版本,我预计很多技术人员很快就会开始抱怨这一点,因为许多技巧博客都提供了要修改的注册表项,而这些注册表项可能不再起作用(如果您有策略缓存),您将不得不使用 gpedit.msc 或其他一些未知机制来修改所有这些设置.

I searched a bit, but I haven't found any information from Microsoft or elsewhere on how people are supposed to modify the policy cache now. Given how new 8.1 is, I expect many tech people will start to complain about this very soon, since many tip blogs give registry keys to modify, which may no longer work (if you have a policy cache), and you'll have to use gpedit.msc or some other unknown mechanism to modify all these settings going forward.

如果您使用的是 W7,那么您很幸运"...我发现最终 PnP 逻辑只会出现故障并永远停止工作,即使在重新启动后也是如此.我喜欢 Windows.

If you are on W7, you are in "luck"... I've found that eventually the PnP logic just craters and stops working forever, even after a reboot. I love Windows.

作为参考,这是应该在 W7/8/8.1 中工作的值:

For reference, this is the value that's supposed to work in W7/8/8.1:

gpedit.msc -> 本地计算机策略 -> 计算机配置 -> 管理模板 -> Windows 组件 -> 智能卡:打开智能卡即插即用服务"=已禁用"

gpedit.msc -> Local Computer Policy -> Computer Configuration -> Administrative Templates -> Windows Components -> Smart Card : "Turn on Smart Card Plug and Play service" = "Disabled"

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\ScPnP]"EnableScPnP"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\ScPnP] "EnableScPnP"=dword:00000000

** 请务必在设置策略或注册表项后重新启动.

** Be sure to reboot after setting the policy or registry key.

这篇关于Windows 8 禁用智能卡即插即用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆