Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use vbs to realize the script of registry switch

2025-02-14 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

This article mainly introduces how to use vbs to achieve the registry switch script, the article introduces in great detail, has a certain reference value, interested friends must read!

Dim WSHShell,r,M,v,t,g,i On Error Resume Next Set WSHShell=WScript.CreateObject ("WScript.Shell") v = "HKCU\ Software\ Microsoft\ Windows\ CurrentVersion\ Policies\ System\ DisableRegistryTools" I = "REG_DWORD" t = "registry switch" r=WSHShell.RegRead (v) gloss1 If (raster 1) Then gend0 If gend1 Then WSHShell.RegWrite v M=MsgBox ("do you want to restrict the registry editor?", 4) Else WSHShell.RegDelete v M=MsgBox ("do you want to lift the registry editor restrictions?", 4 T) the above End If is all the contents of the article "how to use vbs to implement the registry switch script" Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report