自动关闭Office2010 OSPPSVC.EXE

按“win+R”,打开运行,输入“regedit”,确定即可打开注册表编辑器。依次打开HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\OfficeSoftwareProtectionPlatform,右键-新建-DWORD(32-位)值(D),命名为“InactivityShutdownDelay”(不包括引号)。如下图所示

双击上一步建立的dword值,基数选择十进制或者十六进制都可以,如果选择了十进制,数值数据可以填写“10”,如果选择了十六进制,可以填写“a”。数值数据中的数字表示,在所有的Office程序退出之后自动终止osppsvc.exe进程的等候时间,单位是”秒“。建议不要设定为10以下的数字,否则在某些情况下可能会引起问题。

设定完毕后,确定即可。关闭注册表编辑器。

重启一下osppsvc服务

重启一下osppsvc服务

重启一下osppsvc服务

这是重点好多地方都没有说明这个,重启这个服务后,才会重载刚才的配置。老外的英文原帖是有提的。

现在可以把所有的office软件退出后,再打开,关闭。看看10秒钟后这个进程是不是自己就退了。

英文原帖:

The Office Software Protection Platform service is generally started on demand when a user has started Office, however, there are license types which can start the service otherwise (such as those using a Key Management Server). As for stopping the service, there are several reasons we do not automatically shut down the service by default. These reasons are based on Office's cross OS version compatibility, communications from our users about their Office usage profile, preferences, resource usage profile, and differing ways in utilizing the service between Office and Windows.

     That said, while we do not default our service to timing out after inactivity, if this is something your organization values, you have the ability to control this. You may set the following registry key:

Key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\OfficeSoftwareProtectionPlatform

ValueName: InactivityShutdownDelay

ValueType: DWORD

ValueData: The number in seconds, that the Office Software Protection Platform will stay running for, after the most recent activity. The windows default for this is 300 seconds.

After setting this key, simply restart the Office Software Protection Platform Service to use the new settings.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值