In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
For the computer that joins the domain, because the domain controller policy is set to automatically enter the lock screen state without action for 3 minutes, you can use the following script:
Save as never-lockout.vbs as follows
Set ws=Wscript.CreateObject ("Wscript.Shell") If ws.expandenvironmentstrings ("% strikkeyflag%") = ("on") Then wscript.echo ("Screen Never Lockout") ws.Environment ("user"). Item ("strikkeyflag") = "off" set mi=getobject ("winmgmts:win32_process"). Instances_ for each p in mi if ucase (p.name) = ucase ("wscript.exe") then p.terminate End If Next wscript.quitElse wscript.echo ("Screen Never Lockout") ws.Environment ("user") Item ("strikkeyflag") = "on" do set WshShell = CreateObject ("WScript.Shell") WshShell.SendKeys "{ScrollLock}" wscript.sleep (280000) Loopend if
Save as run.bat as follows
Wscript "C:\ Users\ ame-dt\ never-lockout.vbs"
Click the right mouse button to select to run with the administrator
Then just keep the window open.
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.