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/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.
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.