当前位置:网站首页>The startup mode of cloudbase init is \Cloudbase init has hidden dangers
The startup mode of cloudbase init is \Cloudbase init has hidden dangers
2022-06-24 07:43:00 【shawyang】
Suggest cloudbase-init The startup mode of is changed to “ Local system accounts ”, Now find .\cloudbase-init The startup mode of exists explorer.exe Abnormal probability
Abnormal phenomenon :
explorer loop crash(explorer loop crash, In a flash ,appplication.evtx There are multiple appplication error journal )
perhaps
explorer No icon on solid background , Need to send Ctrl Alt Del Call up the task manager to run explorer To pull up the Explorer
It is recommended to adjust the image when making it cloudbase-init Start mode of , Several considerations for creating images :
If the original machine is useful userdata, Do not perform cleanup cloudbase-init The registry , as a result of , If a message is passed when the machine is created userdata, and userdata There is code for writing operations in the code , So you deleted cloudbase-init The registry of causes initialization to be marked as 0, The next time I turn on cloudbase-init You will think that the machine has not been initialized , It's a new machine , It will automatically trigger the re execution userdata Code in , The severity assumption , Suppose there is an operation to format the data disk in the code , Don't you want to be cool
1、 uninstall winagent( If there is one , No, please skip ) sc.exe stop winagent 2>$null 1>$null sc.exe config winagent start= disabled 2>$null 1>$null sc.exe delete winagent 2>$null 1>$null schtasks.exe /delete /tn "WinAgentKeepAlive" /F 2>$null 1>$null 2、 Turn off cloud monitoring 、 Cloud security services stop-service BaradAgentSvc 2>$null 1>$null stop-service StargateSvc 2>$null 1>$null stop-service YDLive 2>$null 1>$null stop-service YDService 2>$null 1>$null 3、 Enable group policy password complexity ( Cannot be disabled , It has to be Enabled )
4、 Set up cloudbase-init For the local system account 、 Clean up local users and groups cloudbase-init user
services.msc ( Change the startup mode in the service list to “ Local system account ”)
lusrmgr.msc ( Delete cloudbase-init account number )
sysdm.cpl( Delete cloudbase-init Home directory , After deleting the user name, it will be displayed as “ Unknown ”)
5、 Turn off cloud monitoring 、 Cloud security services , Clean up old logs
stop-service BaradAgentSvc 2>$null 1>$null
stop-service StargateSvc 2>$null 1>$null
stop-service YDLive 2>$null 1>$null
stop-service YDService 2>$null 1>$null
del "C:\Program Files\Cloudbase Solutions\Cloudbase-Init\log\cloudbase-init.log" 2>$null 1>$null
del "C:\Program Files\QCloud\Logs\*" 2>$null 1>$null
del "C:\Program Files\QCloud\Monitor\Barad\logs\*" 2>$null 1>$null
del "C:\Program Files\QCloud\Stargate\logs\*" 2>$null 1>$null
del "C:\Program Files\QCloud\YunJing\log\*" 2>$null 1>$null
6、disable network location wizard
In order to avoid the right side of the newly purchased machine network location wizard, It can be executed 2 Sentence command
reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Profiles" /f 2>&1 > $null
reg add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NewNetworkWindowOff" /f
7、 Clean up the system log
wevtutil el | Foreach-Object {wevtutil cl "$_" 2>$null}
wevtutil cl security 2>$null
wevtutil cl system 2>$null
边栏推荐
- Domain environment importing Tencent cloud considerations
- UTC、GMT、CST
- Hubei College Upgraded to undergraduate - Hushi family planning department
- Spark stage and shuffle for daily data processing
- 【NILM】非入侵式负荷分解模块nilmtk安装教程
- [special session] SME growth plan - ECS special session
- 图形技术之管线概念
- Phonics
- 《canvas》之第2章 直线图形
- What industries and scenarios can the easynvr/easygbs/easycvr platform developed by tsingsee green rhino video be used in?
猜你喜欢

阿里云全链路数据治理

Combine with (& &) logic or (||), dynamic binding and ternary operation
![[wustctf2020] climb](/img/b6/4a0582144c3125e7a0666bbbbfe29d.png)
[wustctf2020] climb

鸿蒙os开发三

【008】表格数据逐行筛选,跳出for循环及跳过本次循环思路_#VBA

【Django中运行scrapy框架,并将数据存入数据库】

爬虫基础B1——Scrapy(B站学习笔记)

Ultra wideband pulse positioning scheme, UWB precise positioning technology, wireless indoor positioning application
![[pointnet] matlab simulation of 3D point cloud target classification and recognition based on pointnet](/img/86/5db689cdac2a927a23dff3fb9594b0.png)
[pointnet] matlab simulation of 3D point cloud target classification and recognition based on pointnet

Maxcompute remote connection, uploading and downloading data files
随机推荐
Group policy disables command prompt bypass
Black box and white box models for interpretable AI
[understanding of opportunity -29]: Guiguzi - internal dialogue - five levels of communication with superiors
In the era of industrial Internet, there are no more centers in the real sense, and these centers just turn tangible into intangible
L2TP connection failure guide in VPN
光照使用的简单总结
RDD的执行原理
timer使用备注
Terminal network in VPN client connection settings of router
New ways to play web security [6] preventing repeated use of graphic verification codes
UE常用控制台命令
洛谷 P1051 谁拿了最多奖学金
[GUET-CTF2019]zips
Obtain the package name, application name, icon, etc. of the uninstalled APK through packagemanager. There is a small message
tuple(元组)备注
Alibaba cloud full link data governance
How VPN works
Commandes de console communes UE
屏幕截图推荐—Snipaste
Deploy L2TP in VPN (Part 2)