当前位置:网站首页>公司电脑强制休眠的3种解决方案
公司电脑强制休眠的3种解决方案
2022-06-30 02:37:00 【CDamogu】
强推方案3
解决方案1,VBS
比较适合纯挂机,会打开一个记事本然后数星星,如果你打开其他界面他就会在你其他能输入的地方开始继续数星星,如果只是挂机使用还行。
启动 start.vbs
Set ws=createobject("wscript.shell")
ws.run "notepad"
wscript.sleep 5000
For i = 0 To 90
For j = 0 To 90
wscript.sleep 5000
ws.sendkeys(" ")
ws.sendkeys(i*10+j)
Next
ws.sendkeys("{ENTER}")
Next
ws.run "cmd.exe /c taskkill /f /im notepad.exe /t",0
wscript.quit
关闭 end.vbs
Set ws=createobject("wscript.shell")
ws.run "cmd.exe /c taskkill /f /im wscript.exe /t",0
wscript.quit
解决方案2,JavaScript
用 ie浏览器 打开,然后该给权限的给权限,然后该点是的点是
keep_still_working.html 内容如下
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>I need you still work!</title>
</head>
<body bgcolor="#215E21">
<script type="text/javascript"> function PressKey(){
var objWs = new ActiveXObject("Wscript.Shell"); objWs.SendKeys("{SCROLLLOCK}"); } setInterval("PressKey()",10000);//按下按键的间隔时间。 </script>
</body>
</html>
解决方案3,Edge拓展插件
Keep Awake (Screen Only) | Download , 通过浏览器拓展商店搜索或者网址都行
优点:
- 支持系统
- Windows
- Linux
- MacOs
- 支持浏览器
- Google浏览器
- Firefox浏览器
- Microsoft Edge
- 可以随时干其他的工作不影响
边栏推荐
- DHU programming exercise
- Recheck on February 15, 2022
- 新考纲下的PMP考试有多难?全面解析
- SQLite使用
- Simple distinction between break and continue
- 2.< tag-动态规划和0-1背包问题>lt.416. 分割等和子集 + lt.1049. 最后一块石头的重量 II
- Unity3D UGUI强制刷新Layout(布局)组件
- Unity timeline data binding
- How to display all keys through redis cli- How to show ALL keys through redis-cli?
- JS advanced -h5 new features
猜你喜欢
![[on] [DSTG] dynamic spatiotemporalgraph revolutionary neural networks for traffic data impact](/img/c3/f9d6399c931a006ca295bb1e3ac427.png)
[on] [DSTG] dynamic spatiotemporalgraph revolutionary neural networks for traffic data impact

NPDP产品经理国际认证考试报名有什么要求?

Digicert、Sectigo、Globalsign代码签名证书的区别

主流CA吊销俄罗斯数字证书启示:升级国密算法SSL证书,助力我国网络安全自主可控

桶排序

FDA mail security solution

Shell Sort

Can autojs code be encrypted? Yes, display of autojs encryption skills

如何预防钓鱼邮件?S/MIME邮件证书来支招

Implementation of Sanzi chess with C language
随机推荐
What is the difference between a layer 3 switch and a layer 2 switch
Créer des compétences exquises dans l'éducation des créateurs
Traffic, but no sales? 6 steps to increase website sales
1380. lucky numbers in matrices
三层交换机和二层交换机区别是什么
论文回顾:Playful Palette: An Interactive Parametric Color Mixer for Artists
Raii memory management
归并排序
002 color classification
What is a self signed certificate? Advantages and disadvantages of self signed SSL certificates?
Wechat applet page Jump and parameter transfer
Network neuroscience——网络神经科学综述
CMake教程系列-01-最小配置示例
IBM websphere通道联通搭建和测试
Time complexity analysis
Playful palette: an interactive parametric color mixer for artists
Some configuration details about servlet initial development
True love forever valentine's Day gifts
Entering Jiangsu writers and poets carmine Jasmine World Book Day
DHU programming exercise