In addition to Weibo, there is also WeChat
Please pay attention

WeChat public account
Shulou
2025-11-07 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
It is believed that the first thing most Windows administrators do when they get the deployment application of the operating system is to turn off the firewall, IE enhanced security settings, and so on.
As for why, because there are too many holes in it.
But clicks again and again are easy to miss, and troublesome, specially sorted out a disabled script for your reference
Function Disable-Firewall
{
Set-NetFirewallProfile-Enabled False-All
Write-Host "Firewall turned off"-ForegroundColor Yellow
}
Function Disable-IEESC
{
$AdminKey = "HKLM:\ SOFTWARE\ Microsoft\ Active Setup\ Installed Components {A509B1A7-37EF-4b3f-8CFC-4F3A74704073}"
$UserKey = "HKLM:\ SOFTWARE\ Microsoft\ Active Setup\ Installed Components {A509B1A8-37EF-4b3f-8CFC-4F3A74704073}"
Set-ItemProperty-Path $AdminKey-Name "IsInstalled"-Value 0 | Out-Null
Set-ItemProperty-Path $UserKey-Name "IsInstalled"-Value 0 | Out-Null
Write-Host "IE enhanced Security Settings disabled"-ForegroundColor Yellow
}
Function Disable-UAC
{
Set-ItemProperty "HKLM:\ SOFTWARE\ Microsoft\ Windows\ CurrentVersion\ Policies\ System"-Name "ConsentPromptBehaviorAdmin"-Value 00000000 | Out-Null
Set-ItemProperty-Path registry::HKEY_LOCAL_MACHINE\ Software\ Microsoft\ Windows\ CurrentVersion\ Policies\ System-Name EnableLUA-Value 0 | Out-Null
Write-Host "account access Control (UAC) disabled"-ForegroundColor Yellow
}
Disable-Firewall
Disable-IEESC
Disable-UAC
Start-Sleep-s 3
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.

The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope





About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.