[TÓPICO OFICIAL] Windows 10

Seu Oscar

know-it-all Member
Registrado
22/12/2007
886
422
31
ideia fantastica manda bala
Primeira versão. Só colar no bloco de notas e salvar como .bat, e executar como administrador. Se alguém tiver sugestões de tweaks ou correções, me avise:
Código:
@rem *** Desabilitar alguns serviços ***
sc stop DiagTrack
sc stop diagnosticshub.standardcollector.service
sc stop dmwappushservice
sc stop WMPNetworkSvc
sc stop WSearch

sc config DiagTrack start= disabled
sc config diagnosticshub.standardcollector.service start= disabled
sc config dmwappushservice start= disabled
REM sc config RemoteRegistry start= disabled
REM sc config TrkWks start= disabled
sc config WMPNetworkSvc start= disabled
sc config WSearch start= disabled
REM sc config SysMain start= disabled

REM *** Tweaks de tarefas agendadas ***
REM schtasks /Change /TN "Microsoft\Windows\AppID\SmartScreenSpecific" /Disable
schtasks /Change /TN "Microsoft\Windows\Application Experience\Microsoft Compatibility Appraiser" /Disable
schtasks /Change /TN "Microsoft\Windows\Application Experience\ProgramDataUpdater" /Disable
schtasks /Change /TN "Microsoft\Windows\Application Experience\StartupAppTask" /Disable
schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\Consolidator" /Disable
schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\KernelCeipTask" /Disable
schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\UsbCeip" /Disable
schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\Uploader" /Disable
schtasks /Change /TN "Microsoft\Windows\Shell\FamilySafetyUpload" /Disable
schtasks /Change /TN "Microsoft\Office\OfficeTelemetryAgentLogOn" /Disable
schtasks /Change /TN "Microsoft\Office\OfficeTelemetryAgentFallBack" /Disable
schtasks /Change /TN "Microsoft\Office\Office 15 Subscription Heartbeat" /Disable

REM schtasks /Change /TN "Microsoft\Windows\Autochk\Proxy" /Disable
REM schtasks /Change /TN "Microsoft\Windows\CloudExperienceHost\CreateObjectTask" /Disable
REM schtasks /Change /TN "Microsoft\Windows\DiskDiagnostic\Microsoft-Windows-DiskDiagnosticDataCollector" /Disable
REM schtasks /Change /TN "Microsoft\Windows\DiskFootprint\Diagnostics" /Disable *** Not sure if should be disabled, maybe related to S.M.A.R.T.
REM schtasks /Change /TN "Microsoft\Windows\FileHistory\File History (maintenance mode)" /Disable
REM schtasks /Change /TN "Microsoft\Windows\Maintenance\WinSAT" /Disable
REM schtasks /Change /TN "Microsoft\Windows\NetTrace\GatherNetworkInfo" /Disable
REM schtasks /Change /TN "Microsoft\Windows\PI\Sqm-Tasks" /Disable
REM The stubborn task Microsoft\Windows\SettingSync\BackgroundUploadTask can be Disabled using a simple bit change. I use a REG file for that (attached to this post).
REM schtasks /Change /TN "Microsoft\Windows\Time Synchronization\ForceSynchronizeTime" /Disable
REM schtasks /Change /TN "Microsoft\Windows\Time Synchronization\SynchronizeTime" /Disable
REM schtasks /Change /TN "Microsoft\Windows\Windows Error Reporting\QueueReporting" /Disable
REM schtasks /Change /TN "Microsoft\Windows\WindowsUpdate\Automatic App Update" /Disable

@rem *** Remover Telemetria e Coleta de Dados ***
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Device Metadata" /v PreventDeviceMetadataFromNetwork /t REG_DWORD /d 1 /f
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\DataCollection" /v "AllowTelemetry" /t REG_DWORD /d 0 /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\MRT" /v DontOfferThroughWUAU /t REG_DWORD /d 1 /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\SQMClient\Windows" /v "CEIPEnable" /t REG_DWORD /d 0 /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\AppCompat" /v "AITEnable" /t REG_DWORD /d 0 /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\AppCompat" /v "DisableUAR" /t REG_DWORD /d 1 /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DataCollection" /v "AllowTelemetry" /t REG_DWORD /d 0 /f
reg add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\AutoLogger\AutoLogger-Diagtrack-Listener" /v "Start" /t REG_DWORD /d 0 /f
reg add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\AutoLogger\SQMLogger" /v "Start" /t REG_DWORD /d 0 /f

@REM Settings -> Privacy -> General -> Let apps use my advertising ID...
reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo" /v Enabled /t REG_DWORD /d 0 /f
REM - SmartScreen Filter for Store Apps: Disable
reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\AppHost" /v EnableWebContentEvaluation /t REG_DWORD /d 0 /f
REM - Let websites provide locally...
reg add "HKCU\Control Panel\International\User Profile" /v HttpAcceptLanguageOptOut /t REG_DWORD /d 1 /f

@REM WiFi Sense: HotSpot Sharing: Disable
reg add "HKLM\Software\Microsoft\PolicyManager\default\WiFi\AllowWiFiHotSpotReporting" /v value /t REG_DWORD /d 0 /f
@REM WiFi Sense: Shared HotSpot Auto-Connect: Disable
reg add "HKLM\Software\Microsoft\PolicyManager\default\WiFi\AllowAutoConnectToWiFiSenseHotspots" /v value /t REG_DWORD /d 0 /f

@REM Change Windows Updates to "Notify to schedule restart"
reg add "HKLM\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings" /v UxOption /t REG_DWORD /d 1 /f
@REM Disable P2P Update downlods outside of local network
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\DeliveryOptimization\Config" /v DODownloadMode /t REG_DWORD /d 0 /f

@REM *** Desabilitar Cortana e Telemetria ***
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v "AllowCortana" /t REG_DWORD /d 0

REM *** Hide the search box from taskbar. You can still search by pressing the Win key and start typing what you're looking for ***
REM 0 = hide completely, 1 = show only icon, 2 = show long search box
reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Search" /v "SearchboxTaskbarMode" /t REG_DWORD /d 0 /f

REM *** Disable MRU lists (jump lists) of XAML apps in Start Menu ***
REM reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "Start_TrackDocs" /t REG_DWORD /d 0 /f

REM *** Set Windows Explorer to start on This PC instead of Quick Access ***
REM 1 = This PC, 2 = Quick access
REM reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "LaunchTo" /t REG_DWORD /d 1 /f

REM *** Disable Suggestions in the Start Menu ***
reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SystemPaneSuggestionsEnabled" /t REG_DWORD /d 0 /f

@rem Remove Apps
PowerShell -Command "Get-AppxPackage *3DBuilder* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *Cortana* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *Getstarted* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *WindowsAlarms* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *WindowsCamera* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *bing* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *MicrosoftOfficeHub* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *OneNote* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *people* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *WindowsPhone* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *photos* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *SkypeApp* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *solit* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *WindowsSoundRecorder* | Remove-AppxPackage"
REM PowerShell -Command "Get-AppxPackage *xbox* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *windowscommunicationsapps* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *zune* | Remove-AppxPackage"
REM PowerShell -Command "Get-AppxPackage *WindowsCalculator* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *WindowsMaps* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *Sway* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *CommsPhone* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *ConnectivityStore* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *Microsoft.Messaging* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *ContentDeliveryManager* | Remove-AppxPackage"
REM PowerShell -Command "Get-AppxPackage *Microsoft.WindowsStore* | Remove-AppxPackage"


@rem NOW JUST SOME TWEAKS
REM *** Show hidden files in Explorer ***
reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "Hidden" /t REG_DWORD /d 1 /f
REM *** Show super hidden system files in Explorer ***
reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "ShowSuperHidden" /t REG_DWORD /d 1 /f

REM *** Show file extensions in Explorer ***
REM reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t  REG_DWORD /d 0 /f



REM *** Uninstall OneDrive ***
REM start /wait "" "%SYSTEMROOT%\SYSWOW64\ONEDRIVESETUP.EXE" /UNINSTALL
REM rd C:\OneDriveTemp /Q /S >NUL 2>&1
REM rd "%USERPROFILE%\OneDrive" /Q /S >NUL 2>&1
REM rd "%LOCALAPPDATA%\Microsoft\OneDrive" /Q /S >NUL 2>&1
REM rd "%PROGRAMDATA%\Microsoft OneDrive" /Q /S >NUL 2>&1
REM reg add "HKEY_CLASSES_ROOT\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}\ShellFolder" /f /v Attributes /t REG_DWORD /d 0 >NUL 2>&1
REM reg add "HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}\ShellFolder" /f /v Attributes /t REG_DWORD /d 0 >NUL 2>&1
REM echo OneDrive has been removed. Windows Explorer needs to be restarted.
REM pause
REM start /wait TASKKILL /F /IM explorer.exe
REM start explorer.exe

REM ***Remove Unused Features***
DISM.exe /Online /Disable-Feature /featurename:SimpleTCP  /Remove
DISM.exe /Online /Disable-Feature /featurename:SNMP   /Remove
DISM.exe /Online /Disable-Feature /featurename:WMISnmpProvider /Remove
DISM.exe /Online /Disable-Feature /featurename:Windows-Identity-Foundation  /Remove
DISM.exe /Online /Disable-Feature /featurename:DirectoryServices-ADAM-Client /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-WebServerRole /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-WebServer /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-CommonHttpFeatures /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-HttpErrors /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-HttpRedirect /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-ApplicationDevelopment /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-NetFxExtensibility /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-NetFxExtensibility45 /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-HealthAndDiagnostics /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-HttpLogging /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-LoggingLibraries /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-RequestMonitor /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-HttpTracing  /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-Security /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-URLAuthorization /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-RequestFiltering /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-IPSecurity /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-Performance /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-HttpCompressionDynamic /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-WebServerManagementTools /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-ManagementScriptingTools /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-IIS6ManagementCompatibility /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-Metabase /Remove
DISM.exe /Online /Disable-Feature /featurename:WAS-WindowsActivationService /Remove
DISM.exe /Online /Disable-Feature /featurename:WAS-ProcessModel /Remove
DISM.exe /Online /Disable-Feature /featurename:WAS-NetFxEnvironment /Remove
DISM.exe /Online /Disable-Feature /featurename:WAS-ConfigurationAPI /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-HostableWebCore /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-CertProvider /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-WindowsAuthentication /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-DigestAuthentication /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-ClientCertificateMappingAuthentication /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-IISCertificateMappingAuthentication /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-ODBCLogging /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-StaticContent /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-DefaultDocument /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-DirectoryBrowsing /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-WebDAV /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-WebSockets /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-ApplicationInit /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-ASPNET /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-ASPNET45 /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-ASP /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-CGI /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-ISAPIExtensions /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-ISAPIFilter /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-ServerSideIncludes /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-CustomLogging /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-BasicAuthentication /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-HttpCompressionStatic /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-ManagementConsole /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-ManagementService /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-WMICompatibility /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-LegacyScripts /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-LegacySnapIn /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-FTPServer /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-FTPSvc /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-FTPExtensibility /Remove
DISM.exe /Online /Disable-Feature /featurename:MSMQ-Container /Remove
DISM.exe /Online /Disable-Feature /featurename:MSMQ-Server /Remove
DISM.exe /Online /Disable-Feature /featurename:MSMQ-Triggers /Remove
DISM.exe /Online /Disable-Feature /featurename:MSMQ-ADIntegration /Remove
DISM.exe /Online /Disable-Feature /featurename:MSMQ-HTTP /Remove
DISM.exe /Online /Disable-Feature /featurename:MSMQ-Multicast /Remove
DISM.exe /Online /Disable-Feature /featurename:MSMQ-DCOMProxy /Remove
DISM.exe /Online /Disable-Feature /featurename:WCF-HTTP-Activation45 /Remove
DISM.exe /Online /Disable-Feature /featurename:WCF-TCP-Activation45 /Remove
DISM.exe /Online /Disable-Feature /featurename:WCF-Pipe-Activation45 /Remove
DISM.exe /Online /Disable-Feature /featurename:WCF-MSMQ-Activation45 /Remove
DISM.exe /Online /Disable-Feature /featurename:WCF-HTTP-Activation /Remove
DISM.exe /Online /Disable-Feature /featurename:WCF-NonHTTP-Activation /Remove
DISM.exe /Online /Disable-Feature /featurename:NetFx4Extended-ASPNET45 /Remove
DISM.exe /Online /Disable-Feature /featurename:MediaPlayback /Remove
DISM.exe /Online /Disable-Feature /featurename:WindowsMediaPlayer /Remove
DISM.exe /Online /Disable-Feature /featurename:Microsoft-Windows-MobilePC-Client-Premium-Package-net /Remove
DISM.exe /Online /Disable-Feature /featurename:Printing-XPSServices-Features /Remove
DISM.exe /Online /Disable-Feature /featurename:RasCMAK /Remove
DISM.exe /Online /Disable-Feature /featurename:RasRip /Remove
DISM.exe /Online /Disable-Feature /featurename:MSRDC-Infrastructure /Remove
DISM.exe /Online /Disable-Feature /featurename:TelnetClient /Remove
DISM.exe /Online /Disable-Feature /featurename:TelnetServer /Remove
DISM.exe /Online /Disable-Feature /featurename:TFTP /Remove
DISM.exe /Online /Disable-Feature /featurename:TIFFIFilter /Remove
DISM.exe /Online /Disable-Feature /featurename:WorkFolders-Client /Remove
DISM.exe /Online /Disable-Feature /featurename:SMB1Protocol /Remove
DISM.exe /Online /Disable-Feature /featurename:Microsoft-Hyper-V-All  /Remove
DISM.exe /Online /Disable-Feature /featurename:Microsoft-Hyper-V-Tools-All   /Remove
DISM.exe /Online /Disable-Feature /featurename:Microsoft-Hyper-V /Remove
DISM.exe /Online /Disable-Feature /featurename:Microsoft-Hyper-V-Management-Clients /Remove
DISM.exe /Online /Disable-Feature /featurename:Microsoft-Hyper-V-Management-PowerShell /Remove

REM ***Instalar Chocolatey***
@echo off

SET DIR=%~dp0%

::download install.ps1
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "((new-object net.webclient).DownloadFile('https://chocolatey.org/install.ps1','%DIR%install.ps1'))"
::run installer
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& '%DIR%install.ps1' %*"

REM ***Instalar Clientes Jogos***
choco install goggalaxy
choco install steam
choco install origin
choco install uplay
choco install epicgameslauncher

REM ***Instalar Outros Aplicativos***
REM choco install dropbox
REM choco install nvidia-display-driver
REM choco install realtek-hd-audio-driver
REM choco install office365proplus
REM choco install 7zip.install
REM choco install bleachbit
REM choco install calibre
REM choco install ccleaner
REM choco install falkon
REM choco install foobar2000
REM choco install kodi
REM choco install launchy-beta
REM choco install chromium
REM choco install compactgui
REM choco install defraggler
REM choco install discord
REM choco install firefox
REM choco install f.lux
REM choco install hwinfo
REM choco install irfanview
REM choco install libreoffice-fresh
REM choco install mpc-hc
REM choco install eset.nod32
REM choco install kis
REM choco install notepadplusplus
REM choco install openal
REM choco install directx
REM choco install opera
REM choco install paint.net
REM choco install playnite
REM choco install quicklook
REM choco install rainmeter
REM choco install recuva
REM choco install renamer
REM choco install rocketdock
REM choco install speccy
REM choco install sumatrapdf
REM choco install vivaldi
REM choco install wiztree
REM choco install xplorer2
REM choco install multicommander
 
Última edição:
  • Curtir
Reações: Dalai Brahma

Alberth-OC

New Member
Registrado
13/04/2014
3,933
22,749
0
ola a todos seguinte: atualizei ontem meu pc para ultima versão do windows, apos essa atualização o google chrome so fica carregando demorando d+ para abrir qualquer pagina , em quanto o edge funciona normalmente , alguém sabe a Solução ?? obrigado.
eu to passando pela mesma situacao, o explorer ta normal, mas o chrome ta complicado, queria tbm uma solucao pra isso

Tmb estou passando por isso desde que instalei o Windows 10 num laptop pra minha mãe ficar mexendo. Em qualquer navegador demora um zilhão de anos pra carregar msm desabilitando proxy, DNS e o escambau, mas no Edge funciona perfeitamente. Eu sinceramente não sei o que é, mas que isso é chato, é! Parece coisa do Windows pra impedir de eu usar outro navegador, alguém ai sabe como resolver este problema? Pq senão eu simplesmente instalo o Windows 7 pra ela, já que os jogos que ela gosta de jogar são do Facebook.
 

Primeira versão. Só colar no bloco de notas e salvar como .bat, e executar como administrador. Se alguém tiver sugestões de tweaks ou correções, me avise:
Código:
@rem *** Desabilitar alguns serviços ***
sc stop DiagTrack
sc stop diagnosticshub.standardcollector.service
sc stop dmwappushservice
sc stop WMPNetworkSvc
sc stop WSearch

sc config DiagTrack start= disabled
sc config diagnosticshub.standardcollector.service start= disabled
sc config dmwappushservice start= disabled
REM sc config RemoteRegistry start= disabled
REM sc config TrkWks start= disabled
sc config WMPNetworkSvc start= disabled
sc config WSearch start= disabled
REM sc config SysMain start= disabled

REM *** Tweaks de tarefas agendadas ***
REM schtasks /Change /TN "Microsoft\Windows\AppID\SmartScreenSpecific" /Disable
schtasks /Change /TN "Microsoft\Windows\Application Experience\Microsoft Compatibility Appraiser" /Disable
schtasks /Change /TN "Microsoft\Windows\Application Experience\ProgramDataUpdater" /Disable
schtasks /Change /TN "Microsoft\Windows\Application Experience\StartupAppTask" /Disable
schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\Consolidator" /Disable
schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\KernelCeipTask" /Disable
schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\UsbCeip" /Disable
schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\Uploader" /Disable
schtasks /Change /TN "Microsoft\Windows\Shell\FamilySafetyUpload" /Disable
schtasks /Change /TN "Microsoft\Office\OfficeTelemetryAgentLogOn" /Disable
schtasks /Change /TN "Microsoft\Office\OfficeTelemetryAgentFallBack" /Disable
schtasks /Change /TN "Microsoft\Office\Office 15 Subscription Heartbeat" /Disable

REM schtasks /Change /TN "Microsoft\Windows\Autochk\Proxy" /Disable
REM schtasks /Change /TN "Microsoft\Windows\CloudExperienceHost\CreateObjectTask" /Disable
REM schtasks /Change /TN "Microsoft\Windows\DiskDiagnostic\Microsoft-Windows-DiskDiagnosticDataCollector" /Disable
REM schtasks /Change /TN "Microsoft\Windows\DiskFootprint\Diagnostics" /Disable *** Not sure if should be disabled, maybe related to S.M.A.R.T.
REM schtasks /Change /TN "Microsoft\Windows\FileHistory\File History (maintenance mode)" /Disable
REM schtasks /Change /TN "Microsoft\Windows\Maintenance\WinSAT" /Disable
REM schtasks /Change /TN "Microsoft\Windows\NetTrace\GatherNetworkInfo" /Disable
REM schtasks /Change /TN "Microsoft\Windows\PI\Sqm-Tasks" /Disable
REM The stubborn task Microsoft\Windows\SettingSync\BackgroundUploadTask can be Disabled using a simple bit change. I use a REG file for that (attached to this post).
REM schtasks /Change /TN "Microsoft\Windows\Time Synchronization\ForceSynchronizeTime" /Disable
REM schtasks /Change /TN "Microsoft\Windows\Time Synchronization\SynchronizeTime" /Disable
REM schtasks /Change /TN "Microsoft\Windows\Windows Error Reporting\QueueReporting" /Disable
REM schtasks /Change /TN "Microsoft\Windows\WindowsUpdate\Automatic App Update" /Disable

@rem *** Remover Telemetria e Coleta de Dados ***
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Device Metadata" /v PreventDeviceMetadataFromNetwork /t REG_DWORD /d 1 /f
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\DataCollection" /v "AllowTelemetry" /t REG_DWORD /d 0 /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\MRT" /v DontOfferThroughWUAU /t REG_DWORD /d 1 /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\SQMClient\Windows" /v "CEIPEnable" /t REG_DWORD /d 0 /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\AppCompat" /v "AITEnable" /t REG_DWORD /d 0 /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\AppCompat" /v "DisableUAR" /t REG_DWORD /d 1 /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DataCollection" /v "AllowTelemetry" /t REG_DWORD /d 0 /f
reg add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\AutoLogger\AutoLogger-Diagtrack-Listener" /v "Start" /t REG_DWORD /d 0 /f
reg add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\AutoLogger\SQMLogger" /v "Start" /t REG_DWORD /d 0 /f

@REM Settings -> Privacy -> General -> Let apps use my advertising ID...
reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo" /v Enabled /t REG_DWORD /d 0 /f
REM - SmartScreen Filter for Store Apps: Disable
reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\AppHost" /v EnableWebContentEvaluation /t REG_DWORD /d 0 /f
REM - Let websites provide locally...
reg add "HKCU\Control Panel\International\User Profile" /v HttpAcceptLanguageOptOut /t REG_DWORD /d 1 /f

@REM WiFi Sense: HotSpot Sharing: Disable
reg add "HKLM\Software\Microsoft\PolicyManager\default\WiFi\AllowWiFiHotSpotReporting" /v value /t REG_DWORD /d 0 /f
@REM WiFi Sense: Shared HotSpot Auto-Connect: Disable
reg add "HKLM\Software\Microsoft\PolicyManager\default\WiFi\AllowAutoConnectToWiFiSenseHotspots" /v value /t REG_DWORD /d 0 /f

@REM Change Windows Updates to "Notify to schedule restart"
reg add "HKLM\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings" /v UxOption /t REG_DWORD /d 1 /f
@REM Disable P2P Update downlods outside of local network
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\DeliveryOptimization\Config" /v DODownloadMode /t REG_DWORD /d 0 /f

@REM *** Desabilitar Cortana e Telemetria ***
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v "AllowCortana" /t REG_DWORD /d 0

REM *** Hide the search box from taskbar. You can still search by pressing the Win key and start typing what you're looking for ***
REM 0 = hide completely, 1 = show only icon, 2 = show long search box
reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Search" /v "SearchboxTaskbarMode" /t REG_DWORD /d 0 /f

REM *** Disable MRU lists (jump lists) of XAML apps in Start Menu ***
REM reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "Start_TrackDocs" /t REG_DWORD /d 0 /f

REM *** Set Windows Explorer to start on This PC instead of Quick Access ***
REM 1 = This PC, 2 = Quick access
REM reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "LaunchTo" /t REG_DWORD /d 1 /f

REM *** Disable Suggestions in the Start Menu ***
reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SystemPaneSuggestionsEnabled" /t REG_DWORD /d 0 /f

@rem Remove Apps
PowerShell -Command "Get-AppxPackage *3DBuilder* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *Cortana* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *Getstarted* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *WindowsAlarms* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *WindowsCamera* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *bing* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *MicrosoftOfficeHub* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *OneNote* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *people* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *WindowsPhone* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *photos* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *SkypeApp* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *solit* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *WindowsSoundRecorder* | Remove-AppxPackage"
REM PowerShell -Command "Get-AppxPackage *xbox* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *windowscommunicationsapps* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *zune* | Remove-AppxPackage"
REM PowerShell -Command "Get-AppxPackage *WindowsCalculator* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *WindowsMaps* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *Sway* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *CommsPhone* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *ConnectivityStore* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *Microsoft.Messaging* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *ContentDeliveryManager* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *Microsoft.WindowsStore* | Remove-AppxPackage"


@rem NOW JUST SOME TWEAKS
REM *** Show hidden files in Explorer ***
reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "Hidden" /t REG_DWORD /d 1 /f
REM *** Show super hidden system files in Explorer ***
reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "ShowSuperHidden" /t REG_DWORD /d 1 /f

REM *** Show file extensions in Explorer ***
REM reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t  REG_DWORD /d 0 /f



REM *** Uninstall OneDrive ***
REM start /wait "" "%SYSTEMROOT%\SYSWOW64\ONEDRIVESETUP.EXE" /UNINSTALL
REM rd C:\OneDriveTemp /Q /S >NUL 2>&1
REM rd "%USERPROFILE%\OneDrive" /Q /S >NUL 2>&1
REM rd "%LOCALAPPDATA%\Microsoft\OneDrive" /Q /S >NUL 2>&1
REM rd "%PROGRAMDATA%\Microsoft OneDrive" /Q /S >NUL 2>&1
REM reg add "HKEY_CLASSES_ROOT\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}\ShellFolder" /f /v Attributes /t REG_DWORD /d 0 >NUL 2>&1
REM reg add "HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}\ShellFolder" /f /v Attributes /t REG_DWORD /d 0 >NUL 2>&1
REM echo OneDrive has been removed. Windows Explorer needs to be restarted.
REM pause
REM start /wait TASKKILL /F /IM explorer.exe
REM start explorer.exe

REM ***Remove Unused Features***
DISM.exe /Online /Disable-Feature /featurename:SimpleTCP  /Remove
DISM.exe /Online /Disable-Feature /featurename:SNMP   /Remove
DISM.exe /Online /Disable-Feature /featurename:WMISnmpProvider /Remove
DISM.exe /Online /Disable-Feature /featurename:Windows-Identity-Foundation  /Remove
DISM.exe /Online /Disable-Feature /featurename:DirectoryServices-ADAM-Client /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-WebServerRole /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-WebServer /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-CommonHttpFeatures /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-HttpErrors /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-HttpRedirect /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-ApplicationDevelopment /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-NetFxExtensibility /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-NetFxExtensibility45 /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-HealthAndDiagnostics /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-HttpLogging /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-LoggingLibraries /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-RequestMonitor /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-HttpTracing  /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-Security /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-URLAuthorization /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-RequestFiltering /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-IPSecurity /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-Performance /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-HttpCompressionDynamic /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-WebServerManagementTools /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-ManagementScriptingTools /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-IIS6ManagementCompatibility /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-Metabase /Remove
DISM.exe /Online /Disable-Feature /featurename:WAS-WindowsActivationService /Remove
DISM.exe /Online /Disable-Feature /featurename:WAS-ProcessModel /Remove
DISM.exe /Online /Disable-Feature /featurename:WAS-NetFxEnvironment /Remove
DISM.exe /Online /Disable-Feature /featurename:WAS-ConfigurationAPI /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-HostableWebCore /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-CertProvider /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-WindowsAuthentication /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-DigestAuthentication /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-ClientCertificateMappingAuthentication /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-IISCertificateMappingAuthentication /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-ODBCLogging /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-StaticContent /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-DefaultDocument /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-DirectoryBrowsing /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-WebDAV /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-WebSockets /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-ApplicationInit /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-ASPNET /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-ASPNET45 /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-ASP /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-CGI /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-ISAPIExtensions /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-ISAPIFilter /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-ServerSideIncludes /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-CustomLogging /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-BasicAuthentication /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-HttpCompressionStatic /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-ManagementConsole /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-ManagementService /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-WMICompatibility /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-LegacyScripts /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-LegacySnapIn /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-FTPServer /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-FTPSvc /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-FTPExtensibility /Remove
DISM.exe /Online /Disable-Feature /featurename:MSMQ-Container /Remove
DISM.exe /Online /Disable-Feature /featurename:MSMQ-Server /Remove
DISM.exe /Online /Disable-Feature /featurename:MSMQ-Triggers /Remove
DISM.exe /Online /Disable-Feature /featurename:MSMQ-ADIntegration /Remove
DISM.exe /Online /Disable-Feature /featurename:MSMQ-HTTP /Remove
DISM.exe /Online /Disable-Feature /featurename:MSMQ-Multicast /Remove
DISM.exe /Online /Disable-Feature /featurename:MSMQ-DCOMProxy /Remove
DISM.exe /Online /Disable-Feature /featurename:WCF-HTTP-Activation45 /Remove
DISM.exe /Online /Disable-Feature /featurename:WCF-TCP-Activation45 /Remove
DISM.exe /Online /Disable-Feature /featurename:WCF-Pipe-Activation45 /Remove
DISM.exe /Online /Disable-Feature /featurename:WCF-MSMQ-Activation45 /Remove
DISM.exe /Online /Disable-Feature /featurename:WCF-HTTP-Activation /Remove
DISM.exe /Online /Disable-Feature /featurename:WCF-NonHTTP-Activation /Remove
DISM.exe /Online /Disable-Feature /featurename:NetFx4Extended-ASPNET45 /Remove
DISM.exe /Online /Disable-Feature /featurename:MediaPlayback /Remove
DISM.exe /Online /Disable-Feature /featurename:WindowsMediaPlayer /Remove
DISM.exe /Online /Disable-Feature /featurename:Microsoft-Windows-MobilePC-Client-Premium-Package-net /Remove
DISM.exe /Online /Disable-Feature /featurename:Printing-XPSServices-Features /Remove
DISM.exe /Online /Disable-Feature /featurename:RasCMAK /Remove
DISM.exe /Online /Disable-Feature /featurename:RasRip /Remove
DISM.exe /Online /Disable-Feature /featurename:MSRDC-Infrastructure /Remove
DISM.exe /Online /Disable-Feature /featurename:TelnetClient /Remove
DISM.exe /Online /Disable-Feature /featurename:TelnetServer /Remove
DISM.exe /Online /Disable-Feature /featurename:TFTP /Remove
DISM.exe /Online /Disable-Feature /featurename:TIFFIFilter /Remove
DISM.exe /Online /Disable-Feature /featurename:WorkFolders-Client /Remove
DISM.exe /Online /Disable-Feature /featurename:SMB1Protocol /Remove
DISM.exe /Online /Disable-Feature /featurename:Microsoft-Hyper-V-All  /Remove
DISM.exe /Online /Disable-Feature /featurename:Microsoft-Hyper-V-Tools-All   /Remove
DISM.exe /Online /Disable-Feature /featurename:Microsoft-Hyper-V /Remove
DISM.exe /Online /Disable-Feature /featurename:Microsoft-Hyper-V-Management-Clients /Remove
DISM.exe /Online /Disable-Feature /featurename:Microsoft-Hyper-V-Management-PowerShell /Remove

REM ***Instalar Chocolatey***
@echo off

SET DIR=%~dp0%

::download install.ps1
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "((new-object net.webclient).DownloadFile('https://chocolatey.org/install.ps1','%DIR%install.ps1'))"
::run installer
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& '%DIR%install.ps1' %*"

REM ***Instalar Clientes Jogos***
choco install goggalaxy
choco install steam
choco install origin
choco install uplay
choco install epicgameslauncher

REM ***Instalar Outros Aplicativos***
REM choco install dropbox
REM choco install nvidia-display-driver
REM choco install realtek-hd-audio-driver
REM choco install office365proplus
REM choco install 7zip.install
REM choco install bleachbit
REM choco install calibre
REM choco install ccleaner
REM choco install falkon
REM choco install foobar2000
REM choco install kodi
REM choco install launchy-beta
REM choco install chromium
REM choco install compactgui
REM choco install defraggler
REM choco install discord
REM choco install firefox
REM choco install f.lux
REM choco install hwinfo
REM choco install irfanview
REM choco install libreoffice-fresh
REM choco install mpc-hc
REM choco install eset.nod32
REM choco install kis
REM choco install notepadplusplus
REM choco install openal
REM choco install directx
REM choco install opera
REM choco install paint.net
REM choco install playnite
REM choco install quicklook
REM choco install rainmeter
REM choco install recuva
REM choco install renamer
REM choco install rocketdock
REM choco install speccy
REM choco install sumatrapdf
REM choco install vivaldi
REM choco install wiztree
REM choco install xplorer2
REM choco install multicommander

Esse negócio ai melhora o desempenho do Windows em jogos? Pq telemetria e afins nunca me deram problemas.
 

Valmir-Josoe

Well-Known Member
Registrado
16/12/2018
130
63
0
37
Galera alguem tem um anti-spy pro Android 7.1 ??? to meio cabulado com essas telemetrias da google
 

Seu Oscar

know-it-all Member
Registrado
22/12/2007
886
422
31
Esse negócio ai melhora o desempenho do Windows em jogos? Pq telemetria e afins nunca me deram problemas.
Tem alguns serviços e apps do win10 que desabilitam e podem melhorar um pouco a perfomance. Tem sugestões de tweaks que você faz?
 

luky22

O importante e que o Amor venceu 🙄🙄🙄
Registrado
20/11/2007
3,161
1,920
17
Belo horizonte ( zona norte )
Estou pensando em fazer um mega script de otimização do windows, retirando essas tranqueiras de telemetria, e fazendo aqueles tweaks que todo mundo faz. Um arquivo .bat ao invés daquelas iso customizadas. Comecei com a base de um script que o cara do hwinfo fez. O que acham?

Fantástica ideia amigo, pena que sou leigo demais para poder dar um suporte, mas quero testar, assim que estiver pronta.
 

jin_br

Overvolt
Registrado
02/12/2007
5,617
1,059
0
Goiânia
Primeira versão. Só colar no bloco de notas e salvar como .bat, e executar como administrador. Se alguém tiver sugestões de tweaks ou correções, me avise:
Código:
@rem *** Desabilitar alguns serviços ***
sc stop DiagTrack
sc stop diagnosticshub.standardcollector.service
sc stop dmwappushservice
sc stop WMPNetworkSvc
sc stop WSearch

sc config DiagTrack start= disabled
sc config diagnosticshub.standardcollector.service start= disabled
sc config dmwappushservice start= disabled
REM sc config RemoteRegistry start= disabled
REM sc config TrkWks start= disabled
sc config WMPNetworkSvc start= disabled
sc config WSearch start= disabled
REM sc config SysMain start= disabled

REM *** Tweaks de tarefas agendadas ***
REM schtasks /Change /TN "Microsoft\Windows\AppID\SmartScreenSpecific" /Disable
schtasks /Change /TN "Microsoft\Windows\Application Experience\Microsoft Compatibility Appraiser" /Disable
schtasks /Change /TN "Microsoft\Windows\Application Experience\ProgramDataUpdater" /Disable
schtasks /Change /TN "Microsoft\Windows\Application Experience\StartupAppTask" /Disable
schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\Consolidator" /Disable
schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\KernelCeipTask" /Disable
schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\UsbCeip" /Disable
schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\Uploader" /Disable
schtasks /Change /TN "Microsoft\Windows\Shell\FamilySafetyUpload" /Disable
schtasks /Change /TN "Microsoft\Office\OfficeTelemetryAgentLogOn" /Disable
schtasks /Change /TN "Microsoft\Office\OfficeTelemetryAgentFallBack" /Disable
schtasks /Change /TN "Microsoft\Office\Office 15 Subscription Heartbeat" /Disable

REM schtasks /Change /TN "Microsoft\Windows\Autochk\Proxy" /Disable
REM schtasks /Change /TN "Microsoft\Windows\CloudExperienceHost\CreateObjectTask" /Disable
REM schtasks /Change /TN "Microsoft\Windows\DiskDiagnostic\Microsoft-Windows-DiskDiagnosticDataCollector" /Disable
REM schtasks /Change /TN "Microsoft\Windows\DiskFootprint\Diagnostics" /Disable *** Not sure if should be disabled, maybe related to S.M.A.R.T.
REM schtasks /Change /TN "Microsoft\Windows\FileHistory\File History (maintenance mode)" /Disable
REM schtasks /Change /TN "Microsoft\Windows\Maintenance\WinSAT" /Disable
REM schtasks /Change /TN "Microsoft\Windows\NetTrace\GatherNetworkInfo" /Disable
REM schtasks /Change /TN "Microsoft\Windows\PI\Sqm-Tasks" /Disable
REM The stubborn task Microsoft\Windows\SettingSync\BackgroundUploadTask can be Disabled using a simple bit change. I use a REG file for that (attached to this post).
REM schtasks /Change /TN "Microsoft\Windows\Time Synchronization\ForceSynchronizeTime" /Disable
REM schtasks /Change /TN "Microsoft\Windows\Time Synchronization\SynchronizeTime" /Disable
REM schtasks /Change /TN "Microsoft\Windows\Windows Error Reporting\QueueReporting" /Disable
REM schtasks /Change /TN "Microsoft\Windows\WindowsUpdate\Automatic App Update" /Disable

@rem *** Remover Telemetria e Coleta de Dados ***
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Device Metadata" /v PreventDeviceMetadataFromNetwork /t REG_DWORD /d 1 /f
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\DataCollection" /v "AllowTelemetry" /t REG_DWORD /d 0 /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\MRT" /v DontOfferThroughWUAU /t REG_DWORD /d 1 /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\SQMClient\Windows" /v "CEIPEnable" /t REG_DWORD /d 0 /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\AppCompat" /v "AITEnable" /t REG_DWORD /d 0 /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\AppCompat" /v "DisableUAR" /t REG_DWORD /d 1 /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DataCollection" /v "AllowTelemetry" /t REG_DWORD /d 0 /f
reg add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\AutoLogger\AutoLogger-Diagtrack-Listener" /v "Start" /t REG_DWORD /d 0 /f
reg add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\AutoLogger\SQMLogger" /v "Start" /t REG_DWORD /d 0 /f

@REM Settings -> Privacy -> General -> Let apps use my advertising ID...
reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo" /v Enabled /t REG_DWORD /d 0 /f
REM - SmartScreen Filter for Store Apps: Disable
reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\AppHost" /v EnableWebContentEvaluation /t REG_DWORD /d 0 /f
REM - Let websites provide locally...
reg add "HKCU\Control Panel\International\User Profile" /v HttpAcceptLanguageOptOut /t REG_DWORD /d 1 /f

@REM WiFi Sense: HotSpot Sharing: Disable
reg add "HKLM\Software\Microsoft\PolicyManager\default\WiFi\AllowWiFiHotSpotReporting" /v value /t REG_DWORD /d 0 /f
@REM WiFi Sense: Shared HotSpot Auto-Connect: Disable
reg add "HKLM\Software\Microsoft\PolicyManager\default\WiFi\AllowAutoConnectToWiFiSenseHotspots" /v value /t REG_DWORD /d 0 /f

@REM Change Windows Updates to "Notify to schedule restart"
reg add "HKLM\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings" /v UxOption /t REG_DWORD /d 1 /f
@REM Disable P2P Update downlods outside of local network
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\DeliveryOptimization\Config" /v DODownloadMode /t REG_DWORD /d 0 /f

@REM *** Desabilitar Cortana e Telemetria ***
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v "AllowCortana" /t REG_DWORD /d 0

REM *** Hide the search box from taskbar. You can still search by pressing the Win key and start typing what you're looking for ***
REM 0 = hide completely, 1 = show only icon, 2 = show long search box
reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Search" /v "SearchboxTaskbarMode" /t REG_DWORD /d 0 /f

REM *** Disable MRU lists (jump lists) of XAML apps in Start Menu ***
REM reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "Start_TrackDocs" /t REG_DWORD /d 0 /f

REM *** Set Windows Explorer to start on This PC instead of Quick Access ***
REM 1 = This PC, 2 = Quick access
REM reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "LaunchTo" /t REG_DWORD /d 1 /f

REM *** Disable Suggestions in the Start Menu ***
reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SystemPaneSuggestionsEnabled" /t REG_DWORD /d 0 /f

@rem Remove Apps
PowerShell -Command "Get-AppxPackage *3DBuilder* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *Cortana* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *Getstarted* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *WindowsAlarms* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *WindowsCamera* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *bing* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *MicrosoftOfficeHub* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *OneNote* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *people* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *WindowsPhone* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *photos* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *SkypeApp* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *solit* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *WindowsSoundRecorder* | Remove-AppxPackage"
REM PowerShell -Command "Get-AppxPackage *xbox* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *windowscommunicationsapps* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *zune* | Remove-AppxPackage"
REM PowerShell -Command "Get-AppxPackage *WindowsCalculator* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *WindowsMaps* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *Sway* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *CommsPhone* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *ConnectivityStore* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *Microsoft.Messaging* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *ContentDeliveryManager* | Remove-AppxPackage"
REM PowerShell -Command "Get-AppxPackage *Microsoft.WindowsStore* | Remove-AppxPackage"


@rem NOW JUST SOME TWEAKS
REM *** Show hidden files in Explorer ***
reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "Hidden" /t REG_DWORD /d 1 /f
REM *** Show super hidden system files in Explorer ***
reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "ShowSuperHidden" /t REG_DWORD /d 1 /f

REM *** Show file extensions in Explorer ***
REM reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t  REG_DWORD /d 0 /f



REM *** Uninstall OneDrive ***
REM start /wait "" "%SYSTEMROOT%\SYSWOW64\ONEDRIVESETUP.EXE" /UNINSTALL
REM rd C:\OneDriveTemp /Q /S >NUL 2>&1
REM rd "%USERPROFILE%\OneDrive" /Q /S >NUL 2>&1
REM rd "%LOCALAPPDATA%\Microsoft\OneDrive" /Q /S >NUL 2>&1
REM rd "%PROGRAMDATA%\Microsoft OneDrive" /Q /S >NUL 2>&1
REM reg add "HKEY_CLASSES_ROOT\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}\ShellFolder" /f /v Attributes /t REG_DWORD /d 0 >NUL 2>&1
REM reg add "HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}\ShellFolder" /f /v Attributes /t REG_DWORD /d 0 >NUL 2>&1
REM echo OneDrive has been removed. Windows Explorer needs to be restarted.
REM pause
REM start /wait TASKKILL /F /IM explorer.exe
REM start explorer.exe

REM ***Remove Unused Features***
DISM.exe /Online /Disable-Feature /featurename:SimpleTCP  /Remove
DISM.exe /Online /Disable-Feature /featurename:SNMP   /Remove
DISM.exe /Online /Disable-Feature /featurename:WMISnmpProvider /Remove
DISM.exe /Online /Disable-Feature /featurename:Windows-Identity-Foundation  /Remove
DISM.exe /Online /Disable-Feature /featurename:DirectoryServices-ADAM-Client /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-WebServerRole /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-WebServer /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-CommonHttpFeatures /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-HttpErrors /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-HttpRedirect /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-ApplicationDevelopment /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-NetFxExtensibility /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-NetFxExtensibility45 /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-HealthAndDiagnostics /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-HttpLogging /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-LoggingLibraries /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-RequestMonitor /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-HttpTracing  /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-Security /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-URLAuthorization /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-RequestFiltering /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-IPSecurity /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-Performance /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-HttpCompressionDynamic /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-WebServerManagementTools /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-ManagementScriptingTools /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-IIS6ManagementCompatibility /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-Metabase /Remove
DISM.exe /Online /Disable-Feature /featurename:WAS-WindowsActivationService /Remove
DISM.exe /Online /Disable-Feature /featurename:WAS-ProcessModel /Remove
DISM.exe /Online /Disable-Feature /featurename:WAS-NetFxEnvironment /Remove
DISM.exe /Online /Disable-Feature /featurename:WAS-ConfigurationAPI /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-HostableWebCore /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-CertProvider /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-WindowsAuthentication /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-DigestAuthentication /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-ClientCertificateMappingAuthentication /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-IISCertificateMappingAuthentication /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-ODBCLogging /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-StaticContent /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-DefaultDocument /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-DirectoryBrowsing /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-WebDAV /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-WebSockets /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-ApplicationInit /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-ASPNET /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-ASPNET45 /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-ASP /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-CGI /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-ISAPIExtensions /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-ISAPIFilter /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-ServerSideIncludes /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-CustomLogging /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-BasicAuthentication /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-HttpCompressionStatic /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-ManagementConsole /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-ManagementService /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-WMICompatibility /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-LegacyScripts /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-LegacySnapIn /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-FTPServer /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-FTPSvc /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-FTPExtensibility /Remove
DISM.exe /Online /Disable-Feature /featurename:MSMQ-Container /Remove
DISM.exe /Online /Disable-Feature /featurename:MSMQ-Server /Remove
DISM.exe /Online /Disable-Feature /featurename:MSMQ-Triggers /Remove
DISM.exe /Online /Disable-Feature /featurename:MSMQ-ADIntegration /Remove
DISM.exe /Online /Disable-Feature /featurename:MSMQ-HTTP /Remove
DISM.exe /Online /Disable-Feature /featurename:MSMQ-Multicast /Remove
DISM.exe /Online /Disable-Feature /featurename:MSMQ-DCOMProxy /Remove
DISM.exe /Online /Disable-Feature /featurename:WCF-HTTP-Activation45 /Remove
DISM.exe /Online /Disable-Feature /featurename:WCF-TCP-Activation45 /Remove
DISM.exe /Online /Disable-Feature /featurename:WCF-Pipe-Activation45 /Remove
DISM.exe /Online /Disable-Feature /featurename:WCF-MSMQ-Activation45 /Remove
DISM.exe /Online /Disable-Feature /featurename:WCF-HTTP-Activation /Remove
DISM.exe /Online /Disable-Feature /featurename:WCF-NonHTTP-Activation /Remove
DISM.exe /Online /Disable-Feature /featurename:NetFx4Extended-ASPNET45 /Remove
DISM.exe /Online /Disable-Feature /featurename:MediaPlayback /Remove
DISM.exe /Online /Disable-Feature /featurename:WindowsMediaPlayer /Remove
DISM.exe /Online /Disable-Feature /featurename:Microsoft-Windows-MobilePC-Client-Premium-Package-net /Remove
DISM.exe /Online /Disable-Feature /featurename:Printing-XPSServices-Features /Remove
DISM.exe /Online /Disable-Feature /featurename:RasCMAK /Remove
DISM.exe /Online /Disable-Feature /featurename:RasRip /Remove
DISM.exe /Online /Disable-Feature /featurename:MSRDC-Infrastructure /Remove
DISM.exe /Online /Disable-Feature /featurename:TelnetClient /Remove
DISM.exe /Online /Disable-Feature /featurename:TelnetServer /Remove
DISM.exe /Online /Disable-Feature /featurename:TFTP /Remove
DISM.exe /Online /Disable-Feature /featurename:TIFFIFilter /Remove
DISM.exe /Online /Disable-Feature /featurename:WorkFolders-Client /Remove
DISM.exe /Online /Disable-Feature /featurename:SMB1Protocol /Remove
DISM.exe /Online /Disable-Feature /featurename:Microsoft-Hyper-V-All  /Remove
DISM.exe /Online /Disable-Feature /featurename:Microsoft-Hyper-V-Tools-All   /Remove
DISM.exe /Online /Disable-Feature /featurename:Microsoft-Hyper-V /Remove
DISM.exe /Online /Disable-Feature /featurename:Microsoft-Hyper-V-Management-Clients /Remove
DISM.exe /Online /Disable-Feature /featurename:Microsoft-Hyper-V-Management-PowerShell /Remove

REM ***Instalar Chocolatey***
@echo off

SET DIR=%~dp0%

::download install.ps1
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "((new-object net.webclient).DownloadFile('https://chocolatey.org/install.ps1','%DIR%install.ps1'))"
::run installer
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& '%DIR%install.ps1' %*"

REM ***Instalar Clientes Jogos***
choco install goggalaxy
choco install steam
choco install origin
choco install uplay
choco install epicgameslauncher

REM ***Instalar Outros Aplicativos***
REM choco install dropbox
REM choco install nvidia-display-driver
REM choco install realtek-hd-audio-driver
REM choco install office365proplus
REM choco install 7zip.install
REM choco install bleachbit
REM choco install calibre
REM choco install ccleaner
REM choco install falkon
REM choco install foobar2000
REM choco install kodi
REM choco install launchy-beta
REM choco install chromium
REM choco install compactgui
REM choco install defraggler
REM choco install discord
REM choco install firefox
REM choco install f.lux
REM choco install hwinfo
REM choco install irfanview
REM choco install libreoffice-fresh
REM choco install mpc-hc
REM choco install eset.nod32
REM choco install kis
REM choco install notepadplusplus
REM choco install openal
REM choco install directx
REM choco install opera
REM choco install paint.net
REM choco install playnite
REM choco install quicklook
REM choco install rainmeter
REM choco install recuva
REM choco install renamer
REM choco install rocketdock
REM choco install speccy
REM choco install sumatrapdf
REM choco install vivaldi
REM choco install wiztree
REM choco install xplorer2
REM choco install multicommander
Como faz para usar?
 

Thomson_

know-it-all Member
Registrado
20/01/2006
559
345
11
Hell de Janeiro
Como faz para usar?
Primeira versão. Só colar no bloco de notas e salvar como .bat, e executar como administrador. esta escrito, feliz 2019
 

danchio

Huehue
Registrado
22/01/2007
1,769
345
0
42
Vl. Prudente
Tem como deixar de alguma forma como execução automática esse .bat (se é que vale a pena)?
 

Seu Oscar

know-it-all Member
Registrado
22/12/2007
886
422
31
Fiz uma nova versão. Coloquei todos os tweaks que eu lembrei. Outras coisas, só quando for instalar novamente o sistema, para lembrar de algo.
Lembrando que cada um pode customizar para uso próprio. Acho que expliquei o que cada linha faz. É só retirar ou incluir a tag REM em cada linha.
Nesta versão, ela também instala o chocolatey o que permite, inclusive, a instalação dos programas que quiser. É só colocar ou tirar o REM de cada linha.
Quaisquer sugestões ou bugs, me avisem.
Código:
@rem *** Desabilitar alguns serviços ***
sc stop DiagTrack
sc stop diagnosticshub.standardcollector.service
sc stop dmwappushservice
sc stop WMPNetworkSvc
sc stop WSearch
sc stop lmhosts
sc stop TrkWks
sc stop VSS
sc stop RemoteAccess
sc stop WSearch
sc stop iphlpsvc

sc config DiagTrack start= disabled
sc config diagnosticshub.standardcollector.service start= disabled
sc config dmwappushservice start= disabled
sc config RemoteRegistry start= disabled
sc config TrkWks start= disabled
sc config WMPNetworkSvc start= disabled
sc config WSearch start= disabled
sc config SysMain start= disabled
sc config lmhosts start= disabled
sc config TrkWks start= disabled
sc config VSS start= disabled
sc config RemoteAccess start= disabled
sc config WSearch start= disabled
sc config iphlpsvc start= disabled

REM *** Tweaks de tarefas agendadas ***
schtasks /Change /TN "Microsoft\Windows\AppID\SmartScreenSpecific" /Disable
schtasks /Change /TN "Microsoft\Windows\Application Experience\Microsoft Compatibility Appraiser" /Disable
schtasks /Change /TN "Microsoft\Windows\Application Experience\ProgramDataUpdater" /Disable
schtasks /Change /TN "Microsoft\Windows\Application Experience\StartupAppTask" /Disable
schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\Consolidator" /Disable
schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\KernelCeipTask" /Disable
schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\UsbCeip" /Disable
schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\Uploader" /Disable
schtasks /Change /TN "Microsoft\Windows\Shell\FamilySafetyUpload" /Disable
schtasks /Change /TN "Microsoft\Office\OfficeTelemetryAgentLogOn" /Disable
schtasks /Change /TN "Microsoft\Office\OfficeTelemetryAgentFallBack" /Disable
schtasks /Change /TN "Microsoft\Office\Office 15 Subscription Heartbeat" /Disable

REM schtasks /Change /TN "Microsoft\Windows\Autochk\Proxy" /Disable
REM schtasks /Change /TN "Microsoft\Windows\CloudExperienceHost\CreateObjectTask" /Disable
REM schtasks /Change /TN "Microsoft\Windows\DiskDiagnostic\Microsoft-Windows-DiskDiagnosticDataCollector" /Disable
REM schtasks /Change /TN "Microsoft\Windows\DiskFootprint\Diagnostics" /Disable *** Not sure if should be disabled, maybe related to S.M.A.R.T.
REM schtasks /Change /TN "Microsoft\Windows\FileHistory\File History (maintenance mode)" /Disable
REM schtasks /Change /TN "Microsoft\Windows\Maintenance\WinSAT" /Disable
REM schtasks /Change /TN "Microsoft\Windows\NetTrace\GatherNetworkInfo" /Disable
REM schtasks /Change /TN "Microsoft\Windows\PI\Sqm-Tasks" /Disable
REM The stubborn task Microsoft\Windows\SettingSync\BackgroundUploadTask can be Disabled using a simple bit change. I use a REG file for that (attached to this post).
REM schtasks /Change /TN "Microsoft\Windows\Time Synchronization\ForceSynchronizeTime" /Disable
REM schtasks /Change /TN "Microsoft\Windows\Time Synchronization\SynchronizeTime" /Disable
REM schtasks /Change /TN "Microsoft\Windows\Windows Error Reporting\QueueReporting" /Disable
REM schtasks /Change /TN "Microsoft\Windows\WindowsUpdate\Automatic App Update" /Disable

@rem *** Remover Telemetria e Coleta de Dados ***
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Device Metadata" /v PreventDeviceMetadataFromNetwork /t REG_DWORD /d 1 /f
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\DataCollection" /v "AllowTelemetry" /t REG_DWORD /d 0 /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\MRT" /v DontOfferThroughWUAU /t REG_DWORD /d 1 /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\SQMClient\Windows" /v "CEIPEnable" /t REG_DWORD /d 0 /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\AppCompat" /v "AITEnable" /t REG_DWORD /d 0 /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\AppCompat" /v "DisableUAR" /t REG_DWORD /d 1 /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DataCollection" /v "AllowTelemetry" /t REG_DWORD /d 0 /f
reg add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\AutoLogger\AutoLogger-Diagtrack-Listener" /v "Start" /t REG_DWORD /d 0 /f
reg add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\AutoLogger\SQMLogger" /v "Start" /t REG_DWORD /d 0 /f

@REM Configurações -> Privacidade -> Geral -> Permitir aplicativos usar meu ID de propaganda
reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo" /v Enabled /t REG_DWORD /d 0 /f
REM - Smart Scrren para aplicativos da Store
reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\AppHost" /v EnableWebContentEvaluation /t REG_DWORD /d 0 /f
REM - Let websites provide locally...
reg add "HKCU\Control Panel\International\User Profile" /v HttpAcceptLanguageOptOut /t REG_DWORD /d 1 /f

@REM WiFi Sense: HotSpot Sharing: Disable
reg add "HKLM\Software\Microsoft\PolicyManager\default\WiFi\AllowWiFiHotSpotReporting" /v value /t REG_DWORD /d 0 /f
@REM WiFi Sense: Shared HotSpot Auto-Connect: Disable
reg add "HKLM\Software\Microsoft\PolicyManager\default\WiFi\AllowAutoConnectToWiFiSenseHotspots" /v value /t REG_DWORD /d 0 /f

@REM Mudar updates para notificar o agendamento de reinicialização
reg add "HKLM\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings" /v UxOption /t REG_DWORD /d 1 /f
@REM Disable P2P Update downlods outside of local network
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\DeliveryOptimization\Config" /v DODownloadMode /t REG_DWORD /d 0 /f

@REM *** Desabilitar Cortana e Telemetria ***
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v "AllowCortana" /t REG_DWORD /d 0 /f

REM *** Hide the search box from taskbar. You can still search by pressing the Win key and start typing what you're looking for ***
REM 0 = hide completely, 1 = show only icon, 2 = show long search box
reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Search" /v "SearchboxTaskbarMode" /t REG_DWORD /d 0 /f

REM *** Disable MRU lists (jump lists) of XAML apps in Start Menu ***
REM reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "Start_TrackDocs" /t REG_DWORD /d 0 /f

REM *** Set Windows Explorer to start on This PC instead of Quick Access ***
REM 1 = This PC, 2 = Quick access
REM reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "LaunchTo" /t REG_DWORD /d 1 /f

REM *** Desabilitar sugestões no Menu Iniciar ***
reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SystemPaneSuggestionsEnabled" /t REG_DWORD /d 0 /f

REM *** Desabilitar hibernação ***
powercfg -h off

REM *** Desabilitar memória virtual ***
wmic computersystem where name="%computername%" set AutomaticManagedPagefile=False
wmic pagefile delete

REM *** Desabilitar Superfetch ***
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PrefetchParameters" /v "EnableSuperfetch" /t REG_DWORD /d 00000000 /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PrefetchParameters" /v "EnablePrefetcher" /t REG_DWORD /d 00000000 /f

REM *** Acelerar desligamento ***
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PrefetchParameters" /v "WaitToKillServiceTimeout" /t REG_SZ /d 2000 /f

REM *** Habilitar todos os icones na tray***
reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explore" /v "EnableAutoTray" /t REG_DWORD /d 0 /f

REM *** Tweaks Variados ***
reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v "AutoEndTasks" /t REG_SZ /d 1 /f
reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v "HungAppTimeout" /t REG_SZ /d 1000 /f
reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v "MenuShowDelay" /t REG_SZ /d 20 /f
reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v "WaitToKillAppTimeout" /t REG_SZ /d 2000 /f
reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v "LowLevelHooksTimeout" /t REG_SZ /d 1000 /f
reg add "HKEY_CURRENT_USER\Control Panel\Mouse" /v "MouseHoverTime" /t REG_SZ /d 8 /f
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v "NoLowDiskSpaceChecks" /t REG_DWORD /d 00000001 /f

REM *** Melhorar qualidade papel de parede ***
reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v "JPEGImportQuality" /t REG_DWORD /d 00000064 /f

REM *** Tirar animações inuteís ***
reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v "VisualFXSetting" /t REG_DWORD /d 2 /f
reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v "VisualFXSetting" /t REG_DWORD /d 3 /f
reg add "HKCU\Control Panel\Desktop" /v "UserPreferencesMask" /t REG_BINARY /d 9012038010000000 /f
reg add "HKCU\Control Panel\Desktop\WindowMetrics" /v "MinAnimate" REG_SZ /d 0 /f
reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarAnimations" /t REG_DWORD /d 0 /f
reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /V "DisablePreviewDesktop" /T REG_DWORD /D 0 /F
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM " /V "DisablePreviewDesktop" /T REG_DWORD /D 0 /F
reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /V "IconsOnly" /T REG_DWORD /D 1 /F
reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /V "ListviewAlphaSelect" /T REG_DWORD /D 0 /F
reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v "DragFullWindows" /t REG_DWORD /d 0 /f
reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v "FontSmoothing" /t REG_DWORD /d 2 /f
reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /V "ListviewShadow" /T REG_DWORD /D 0 /F

REM *** Desabilitar Game Bar ***
reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\GameDVR" /V "AppCaptureEnabled" /T REG_DWORD /D 0 /F
reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\GameDVR" /V "GameDVR_Enabled" /T REG_DWORD /D 0 /F

REM *** Desabilitar Controle de Conta de Usuário ***
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /V "PromptOnSecureDesktop" /T REG_DWORD /D 0 /F
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /V "EnableLUA" /T REG_DWORD /D 1 /F
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /V "ConsentPromptBehaviorAdmin" /T REG_DWORD /D 0 /F

REM *** Cores no iniciar e barra de tarefas ***
Reg Add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize" /v ColorPrevalence /t REG_DWORD /d 1 /f
reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v "AutoColorization " /t REG_DWORD /d 0 /f

REM *** Prompt de Comando por padrão ***
REG Add HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced /V DontUsePowerShellOnWinX /T REG_DWORD /D 1 /F

REM *** Nunca Desligar HD ***
rem bateria
powercfg /SETDCVALUEINDEX SCHEME_CURRENT 0012ee47-9041-4b5d-9b77-535fba8b1442 6738e2c4-e8a5-4a42-b16a-e040e769756e 0
rem tomada
powercfg /SETACVALUEINDEX SCHEME_CURRENT 0012ee47-9041-4b5d-9b77-535fba8b1442 6738e2c4-e8a5-4a42-b16a-e040e769756e 0

@rem NOW JUST SOME TWEAKS
REM *** Show hidden files in Explorer ***
reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "Hidden" /t REG_DWORD /d 1 /f
REM *** Show super hidden system files in Explorer ***
reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "ShowSuperHidden" /t REG_DWORD /d 1 /f

REM *** Show file extensions in Explorer ***
REM reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t  REG_DWORD /d 0 /f

REM *** Uninstall OneDrive ***
REM start /wait "" "%SYSTEMROOT%\SYSWOW64\ONEDRIVESETUP.EXE" /UNINSTALL
REM rd C:\OneDriveTemp /Q /S >NUL 2>&1
REM rd "%USERPROFILE%\OneDrive" /Q /S >NUL 2>&1
REM rd "%LOCALAPPDATA%\Microsoft\OneDrive" /Q /S >NUL 2>&1
REM rd "%PROGRAMDATA%\Microsoft OneDrive" /Q /S >NUL 2>&1
REM reg add "HKEY_CLASSES_ROOT\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}\ShellFolder" /f /v Attributes /t REG_DWORD /d 0 >NUL 2>&1
REM reg add "HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}\ShellFolder" /f /v Attributes /t REG_DWORD /d 0 >NUL 2>&1
REM echo OneDrive has been removed. Windows Explorer needs to be restarted.
REM pause
REM start /wait TASKKILL /F /IM explorer.exe
REM start explorer.exe.

REM ***Remove Unused Features***
DISM.exe /Online /Disable-Feature /featurename:SimpleTCP  /Remove
DISM.exe /Online /Disable-Feature /featurename:SNMP   /Remove
DISM.exe /Online /Disable-Feature /featurename:WMISnmpProvider /Remove
DISM.exe /Online /Disable-Feature /featurename:Windows-Identity-Foundation  /Remove
DISM.exe /Online /Disable-Feature /featurename:DirectoryServices-ADAM-Client /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-WebServerRole /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-WebServer /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-CommonHttpFeatures /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-HttpErrors /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-HttpRedirect /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-ApplicationDevelopment /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-NetFxExtensibility /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-NetFxExtensibility45 /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-HealthAndDiagnostics /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-HttpLogging /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-LoggingLibraries /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-RequestMonitor /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-HttpTracing  /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-Security /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-URLAuthorization /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-RequestFiltering /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-IPSecurity /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-Performance /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-HttpCompressionDynamic /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-WebServerManagementTools /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-ManagementScriptingTools /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-IIS6ManagementCompatibility /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-Metabase /Remove
DISM.exe /Online /Disable-Feature /featurename:WAS-WindowsActivationService /Remove
DISM.exe /Online /Disable-Feature /featurename:WAS-ProcessModel /Remove
DISM.exe /Online /Disable-Feature /featurename:WAS-NetFxEnvironment /Remove
DISM.exe /Online /Disable-Feature /featurename:WAS-ConfigurationAPI /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-HostableWebCore /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-CertProvider /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-WindowsAuthentication /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-DigestAuthentication /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-ClientCertificateMappingAuthentication /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-IISCertificateMappingAuthentication /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-ODBCLogging /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-StaticContent /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-DefaultDocument /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-DirectoryBrowsing /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-WebDAV /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-WebSockets /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-ApplicationInit /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-ASPNET /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-ASPNET45 /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-ASP /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-CGI /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-ISAPIExtensions /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-ISAPIFilter /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-ServerSideIncludes /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-CustomLogging /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-BasicAuthentication /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-HttpCompressionStatic /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-ManagementConsole /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-ManagementService /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-WMICompatibility /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-LegacyScripts /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-LegacySnapIn /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-FTPServer /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-FTPSvc /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-FTPExtensibility /Remove
DISM.exe /Online /Disable-Feature /featurename:MSMQ-Container /Remove
DISM.exe /Online /Disable-Feature /featurename:MSMQ-Server /Remove
DISM.exe /Online /Disable-Feature /featurename:MSMQ-Triggers /Remove
DISM.exe /Online /Disable-Feature /featurename:MSMQ-ADIntegration /Remove
DISM.exe /Online /Disable-Feature /featurename:MSMQ-HTTP /Remove
DISM.exe /Online /Disable-Feature /featurename:MSMQ-Multicast /Remove
DISM.exe /Online /Disable-Feature /featurename:MSMQ-DCOMProxy /Remove
DISM.exe /Online /Disable-Feature /featurename:WCF-HTTP-Activation45 /Remove
DISM.exe /Online /Disable-Feature /featurename:WCF-TCP-Activation45 /Remove
DISM.exe /Online /Disable-Feature /featurename:WCF-Pipe-Activation45 /Remove
DISM.exe /Online /Disable-Feature /featurename:WCF-MSMQ-Activation45 /Remove
DISM.exe /Online /Disable-Feature /featurename:WCF-HTTP-Activation /Remove
DISM.exe /Online /Disable-Feature /featurename:WCF-NonHTTP-Activation /Remove
DISM.exe /Online /Disable-Feature /featurename:NetFx4Extended-ASPNET45 /Remove
DISM.exe /Online /Disable-Feature /featurename:MediaPlayback /Remove
DISM.exe /Online /Disable-Feature /featurename:WindowsMediaPlayer /Remove
DISM.exe /Online /Disable-Feature /featurename:Microsoft-Windows-MobilePC-Client-Premium-Package-net /Remove
DISM.exe /Online /Disable-Feature /featurename:Printing-XPSServices-Features /Remove
DISM.exe /Online /Disable-Feature /featurename:RasCMAK /Remove
DISM.exe /Online /Disable-Feature /featurename:RasRip /Remove
DISM.exe /Online /Disable-Feature /featurename:MSRDC-Infrastructure /Remove
DISM.exe /Online /Disable-Feature /featurename:TelnetClient /Remove
DISM.exe /Online /Disable-Feature /featurename:TelnetServer /Remove
DISM.exe /Online /Disable-Feature /featurename:TFTP /Remove
DISM.exe /Online /Disable-Feature /featurename:TIFFIFilter /Remove
DISM.exe /Online /Disable-Feature /featurename:WorkFolders-Client /Remove
DISM.exe /Online /Disable-Feature /featurename:SMB1Protocol /Remove
DISM.exe /Online /Disable-Feature /featurename:Microsoft-Hyper-V-All  /Remove
DISM.exe /Online /Disable-Feature /featurename:Microsoft-Hyper-V-Tools-All   /Remove
DISM.exe /Online /Disable-Feature /featurename:Microsoft-Hyper-V /Remove
DISM.exe /Online /Disable-Feature /featurename:Microsoft-Hyper-V-Management-Clients /Remove
DISM.exe /Online /Disable-Feature /featurename:Microsoft-Hyper-V-Management-PowerShell /Remove

REM Remover Apps da Store
PowerShell -Command "Get-AppxPackage *3DBuilder* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *Cortana* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *Getstarted* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *WindowsAlarms* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *WindowsCamera* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *bing* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *MicrosoftOfficeHub* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *OneNote* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *people* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *WindowsPhone* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *photos* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *SkypeApp* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *solit* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *WindowsSoundRecorder* | Remove-AppxPackage"
REM PowerShell -Command "Get-AppxPackage *xbox* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *windowscommunicationsapps* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *zune* | Remove-AppxPackage"
REM PowerShell -Command "Get-AppxPackage *WindowsCalculator* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *WindowsMaps* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *Sway* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *CommsPhone* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *ConnectivityStore* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *Microsoft.Messaging* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *ContentDeliveryManager* | Remove-AppxPackage"
REM PowerShell -Command "Get-AppxPackage *Microsoft.WindowsStore* | Remove-AppxPackage"

REM ***Instalar Chocolatey***
Powershell -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"

REM ***Instalar Clientes Jogos***
call %programdata%\chocolatey\bin\RefreshEnv.cmd
choco install goggalaxy -y
choco install steam -y
choco install origin -y
choco install uplay -y
choco install epicgameslauncher -y

REM ***Instalar Emuladores***
REM choco install retroarch -y
REM choco install dolphin -y
REM choco install cemu -y
REM choco install nestopia -y
REM choco install snes9x -y
REM choco install fs-uae -y
REM choco install mame -y
REM choco install winvice -y
REM choco install visualboyadvance -y
REM choco install ppsspp -y

REM ***Instalar Outros Aplicativos***
REM choco install dropbox -y
REM choco install nvidia-display-driver -y
REM choco install realtek-hd-audio-driver -y
REM choco install office365proplus -y
REM choco install 7zip.install -y
REM choco install bleachbit -y
REM choco install calibre -y
REM choco install ccleaner -y
REM choco install falkon -y
REM choco install foobar2000 -y
REM choco install kodi -y
REM choco install launchy-beta -y
REM choco install chromium -y
REM choco install compactgui -y
REM choco install defraggler -y
REM choco install discord -y
REM choco install firefox -y
REM choco install f.lux -y
REM choco install hwinfo -y
REM choco install irfanview -y
REM choco install libreoffice-fresh -y
REM choco install mpc-hc -y
REM choco install eset.nod32 -y
REM choco install kis -y
REM choco install notepadplusplus -y
REM choco install openal -y
REM choco install directx -y
REM choco install opera -y
REM choco install paint.net -y
REM choco install playnite -y
REM choco install quicklook -y
REM choco install rainmeter -y
REM choco install recuva -y
REM choco install renamer -y
REM choco install rocketdock -y
REM choco install speccy -y
REM choco install sumatrapdf -y
REM choco install vivaldi -y
REM choco install wiztree -y
REM choco install xplorer2 -y
REM choco install multicommander -y
REM choco install winfile -y
REM choco install regscanner -y
Tem como deixar de alguma forma como execução automática esse .bat (se é que vale a pena)?
Em tese é para ser usado apenas uma vez, pós cada instalação de sistema.
 

ScrooW

Mestre dos ajustes.
Registrado
31/05/2012
5,771
4,094
18
30
Campina Grande - PB
Fiz uma nova versão. Coloquei todos os tweaks que eu lembrei. Outras coisas, só quando for instalar novamente o sistema, para lembrar de algo.
Lembrando que cada um pode customizar para uso próprio. Acho que expliquei o que cada linha faz. É só retirar ou incluir a tag REM em cada linha.
Nesta versão, ela também instala o chocolatey o que permite, inclusive, a instalação dos programas que quiser. É só colocar ou tirar o REM de cada linha.
Quaisquer sugestões ou bugs, me avisem.
Código:
@rem *** Desabilitar alguns serviços ***
sc stop DiagTrack
sc stop diagnosticshub.standardcollector.service
sc stop dmwappushservice
sc stop WMPNetworkSvc
sc stop WSearch
sc stop lmhosts
sc stop TrkWks
sc stop VSS
sc stop RemoteAccess
sc stop WSearch
sc stop iphlpsvc

sc config DiagTrack start= disabled
sc config diagnosticshub.standardcollector.service start= disabled
sc config dmwappushservice start= disabled
sc config RemoteRegistry start= disabled
sc config TrkWks start= disabled
sc config WMPNetworkSvc start= disabled
sc config WSearch start= disabled
sc config SysMain start= disabled
sc config lmhosts start= disabled
sc config TrkWks start= disabled
sc config VSS start= disabled
sc config RemoteAccess start= disabled
sc config WSearch start= disabled
sc config iphlpsvc start= disabled

REM *** Tweaks de tarefas agendadas ***
schtasks /Change /TN "Microsoft\Windows\AppID\SmartScreenSpecific" /Disable
schtasks /Change /TN "Microsoft\Windows\Application Experience\Microsoft Compatibility Appraiser" /Disable
schtasks /Change /TN "Microsoft\Windows\Application Experience\ProgramDataUpdater" /Disable
schtasks /Change /TN "Microsoft\Windows\Application Experience\StartupAppTask" /Disable
schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\Consolidator" /Disable
schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\KernelCeipTask" /Disable
schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\UsbCeip" /Disable
schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\Uploader" /Disable
schtasks /Change /TN "Microsoft\Windows\Shell\FamilySafetyUpload" /Disable
schtasks /Change /TN "Microsoft\Office\OfficeTelemetryAgentLogOn" /Disable
schtasks /Change /TN "Microsoft\Office\OfficeTelemetryAgentFallBack" /Disable
schtasks /Change /TN "Microsoft\Office\Office 15 Subscription Heartbeat" /Disable

REM schtasks /Change /TN "Microsoft\Windows\Autochk\Proxy" /Disable
REM schtasks /Change /TN "Microsoft\Windows\CloudExperienceHost\CreateObjectTask" /Disable
REM schtasks /Change /TN "Microsoft\Windows\DiskDiagnostic\Microsoft-Windows-DiskDiagnosticDataCollector" /Disable
REM schtasks /Change /TN "Microsoft\Windows\DiskFootprint\Diagnostics" /Disable *** Not sure if should be disabled, maybe related to S.M.A.R.T.
REM schtasks /Change /TN "Microsoft\Windows\FileHistory\File History (maintenance mode)" /Disable
REM schtasks /Change /TN "Microsoft\Windows\Maintenance\WinSAT" /Disable
REM schtasks /Change /TN "Microsoft\Windows\NetTrace\GatherNetworkInfo" /Disable
REM schtasks /Change /TN "Microsoft\Windows\PI\Sqm-Tasks" /Disable
REM The stubborn task Microsoft\Windows\SettingSync\BackgroundUploadTask can be Disabled using a simple bit change. I use a REG file for that (attached to this post).
REM schtasks /Change /TN "Microsoft\Windows\Time Synchronization\ForceSynchronizeTime" /Disable
REM schtasks /Change /TN "Microsoft\Windows\Time Synchronization\SynchronizeTime" /Disable
REM schtasks /Change /TN "Microsoft\Windows\Windows Error Reporting\QueueReporting" /Disable
REM schtasks /Change /TN "Microsoft\Windows\WindowsUpdate\Automatic App Update" /Disable

@rem *** Remover Telemetria e Coleta de Dados ***
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Device Metadata" /v PreventDeviceMetadataFromNetwork /t REG_DWORD /d 1 /f
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\DataCollection" /v "AllowTelemetry" /t REG_DWORD /d 0 /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\MRT" /v DontOfferThroughWUAU /t REG_DWORD /d 1 /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\SQMClient\Windows" /v "CEIPEnable" /t REG_DWORD /d 0 /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\AppCompat" /v "AITEnable" /t REG_DWORD /d 0 /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\AppCompat" /v "DisableUAR" /t REG_DWORD /d 1 /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DataCollection" /v "AllowTelemetry" /t REG_DWORD /d 0 /f
reg add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\AutoLogger\AutoLogger-Diagtrack-Listener" /v "Start" /t REG_DWORD /d 0 /f
reg add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\AutoLogger\SQMLogger" /v "Start" /t REG_DWORD /d 0 /f

@REM Configurações -> Privacidade -> Geral -> Permitir aplicativos usar meu ID de propaganda
reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo" /v Enabled /t REG_DWORD /d 0 /f
REM - Smart Scrren para aplicativos da Store
reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\AppHost" /v EnableWebContentEvaluation /t REG_DWORD /d 0 /f
REM - Let websites provide locally...
reg add "HKCU\Control Panel\International\User Profile" /v HttpAcceptLanguageOptOut /t REG_DWORD /d 1 /f

@REM WiFi Sense: HotSpot Sharing: Disable
reg add "HKLM\Software\Microsoft\PolicyManager\default\WiFi\AllowWiFiHotSpotReporting" /v value /t REG_DWORD /d 0 /f
@REM WiFi Sense: Shared HotSpot Auto-Connect: Disable
reg add "HKLM\Software\Microsoft\PolicyManager\default\WiFi\AllowAutoConnectToWiFiSenseHotspots" /v value /t REG_DWORD /d 0 /f

@REM Mudar updates para notificar o agendamento de reinicialização
reg add "HKLM\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings" /v UxOption /t REG_DWORD /d 1 /f
@REM Disable P2P Update downlods outside of local network
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\DeliveryOptimization\Config" /v DODownloadMode /t REG_DWORD /d 0 /f

@REM *** Desabilitar Cortana e Telemetria ***
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v "AllowCortana" /t REG_DWORD /d 0 /f

REM *** Hide the search box from taskbar. You can still search by pressing the Win key and start typing what you're looking for ***
REM 0 = hide completely, 1 = show only icon, 2 = show long search box
reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Search" /v "SearchboxTaskbarMode" /t REG_DWORD /d 0 /f

REM *** Disable MRU lists (jump lists) of XAML apps in Start Menu ***
REM reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "Start_TrackDocs" /t REG_DWORD /d 0 /f

REM *** Set Windows Explorer to start on This PC instead of Quick Access ***
REM 1 = This PC, 2 = Quick access
REM reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "LaunchTo" /t REG_DWORD /d 1 /f

REM *** Desabilitar sugestões no Menu Iniciar ***
reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SystemPaneSuggestionsEnabled" /t REG_DWORD /d 0 /f

REM *** Desabilitar hibernação ***
powercfg -h off

REM *** Desabilitar memória virtual ***
wmic computersystem where name="%computername%" set AutomaticManagedPagefile=False
wmic pagefile delete

REM *** Desabilitar Superfetch ***
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PrefetchParameters" /v "EnableSuperfetch" /t REG_DWORD /d 00000000 /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PrefetchParameters" /v "EnablePrefetcher" /t REG_DWORD /d 00000000 /f

REM *** Acelerar desligamento ***
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PrefetchParameters" /v "WaitToKillServiceTimeout" /t REG_SZ /d 2000 /f

REM *** Habilitar todos os icones na tray***
reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explore" /v "EnableAutoTray" /t REG_DWORD /d 0 /f

REM *** Tweaks Variados ***
reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v "AutoEndTasks" /t REG_SZ /d 1 /f
reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v "HungAppTimeout" /t REG_SZ /d 1000 /f
reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v "MenuShowDelay" /t REG_SZ /d 20 /f
reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v "WaitToKillAppTimeout" /t REG_SZ /d 2000 /f
reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v "LowLevelHooksTimeout" /t REG_SZ /d 1000 /f
reg add "HKEY_CURRENT_USER\Control Panel\Mouse" /v "MouseHoverTime" /t REG_SZ /d 8 /f
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v "NoLowDiskSpaceChecks" /t REG_DWORD /d 00000001 /f

REM *** Melhorar qualidade papel de parede ***
reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v "JPEGImportQuality" /t REG_DWORD /d 00000064 /f

REM *** Tirar animações inuteís ***
reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v "VisualFXSetting" /t REG_DWORD /d 2 /f
reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v "VisualFXSetting" /t REG_DWORD /d 3 /f
reg add "HKCU\Control Panel\Desktop" /v "UserPreferencesMask" /t REG_BINARY /d 9012038010000000 /f
reg add "HKCU\Control Panel\Desktop\WindowMetrics" /v "MinAnimate" REG_SZ /d 0 /f
reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarAnimations" /t REG_DWORD /d 0 /f
reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /V "DisablePreviewDesktop" /T REG_DWORD /D 0 /F
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM " /V "DisablePreviewDesktop" /T REG_DWORD /D 0 /F
reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /V "IconsOnly" /T REG_DWORD /D 1 /F
reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /V "ListviewAlphaSelect" /T REG_DWORD /D 0 /F
reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v "DragFullWindows" /t REG_DWORD /d 0 /f
reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v "FontSmoothing" /t REG_DWORD /d 2 /f
reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /V "ListviewShadow" /T REG_DWORD /D 0 /F

REM *** Desabilitar Game Bar ***
reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\GameDVR" /V "AppCaptureEnabled" /T REG_DWORD /D 0 /F
reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\GameDVR" /V "GameDVR_Enabled" /T REG_DWORD /D 0 /F

REM *** Desabilitar Controle de Conta de Usuário ***
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /V "PromptOnSecureDesktop" /T REG_DWORD /D 0 /F
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /V "EnableLUA" /T REG_DWORD /D 1 /F
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /V "ConsentPromptBehaviorAdmin" /T REG_DWORD /D 0 /F

REM *** Cores no iniciar e barra de tarefas ***
Reg Add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize" /v ColorPrevalence /t REG_DWORD /d 1 /f
reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v "AutoColorization " /t REG_DWORD /d 0 /f

REM *** Prompt de Comando por padrão ***
REG Add HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced /V DontUsePowerShellOnWinX /T REG_DWORD /D 1 /F

REM *** Nunca Desligar HD ***
rem bateria
powercfg /SETDCVALUEINDEX SCHEME_CURRENT 0012ee47-9041-4b5d-9b77-535fba8b1442 6738e2c4-e8a5-4a42-b16a-e040e769756e 0
rem tomada
powercfg /SETACVALUEINDEX SCHEME_CURRENT 0012ee47-9041-4b5d-9b77-535fba8b1442 6738e2c4-e8a5-4a42-b16a-e040e769756e 0

@rem NOW JUST SOME TWEAKS
REM *** Show hidden files in Explorer ***
reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "Hidden" /t REG_DWORD /d 1 /f
REM *** Show super hidden system files in Explorer ***
reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "ShowSuperHidden" /t REG_DWORD /d 1 /f

REM *** Show file extensions in Explorer ***
REM reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t  REG_DWORD /d 0 /f

REM *** Uninstall OneDrive ***
REM start /wait "" "%SYSTEMROOT%\SYSWOW64\ONEDRIVESETUP.EXE" /UNINSTALL
REM rd C:\OneDriveTemp /Q /S >NUL 2>&1
REM rd "%USERPROFILE%\OneDrive" /Q /S >NUL 2>&1
REM rd "%LOCALAPPDATA%\Microsoft\OneDrive" /Q /S >NUL 2>&1
REM rd "%PROGRAMDATA%\Microsoft OneDrive" /Q /S >NUL 2>&1
REM reg add "HKEY_CLASSES_ROOT\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}\ShellFolder" /f /v Attributes /t REG_DWORD /d 0 >NUL 2>&1
REM reg add "HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}\ShellFolder" /f /v Attributes /t REG_DWORD /d 0 >NUL 2>&1
REM echo OneDrive has been removed. Windows Explorer needs to be restarted.
REM pause
REM start /wait TASKKILL /F /IM explorer.exe
REM start explorer.exe.

REM ***Remove Unused Features***
DISM.exe /Online /Disable-Feature /featurename:SimpleTCP  /Remove
DISM.exe /Online /Disable-Feature /featurename:SNMP   /Remove
DISM.exe /Online /Disable-Feature /featurename:WMISnmpProvider /Remove
DISM.exe /Online /Disable-Feature /featurename:Windows-Identity-Foundation  /Remove
DISM.exe /Online /Disable-Feature /featurename:DirectoryServices-ADAM-Client /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-WebServerRole /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-WebServer /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-CommonHttpFeatures /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-HttpErrors /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-HttpRedirect /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-ApplicationDevelopment /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-NetFxExtensibility /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-NetFxExtensibility45 /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-HealthAndDiagnostics /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-HttpLogging /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-LoggingLibraries /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-RequestMonitor /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-HttpTracing  /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-Security /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-URLAuthorization /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-RequestFiltering /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-IPSecurity /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-Performance /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-HttpCompressionDynamic /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-WebServerManagementTools /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-ManagementScriptingTools /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-IIS6ManagementCompatibility /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-Metabase /Remove
DISM.exe /Online /Disable-Feature /featurename:WAS-WindowsActivationService /Remove
DISM.exe /Online /Disable-Feature /featurename:WAS-ProcessModel /Remove
DISM.exe /Online /Disable-Feature /featurename:WAS-NetFxEnvironment /Remove
DISM.exe /Online /Disable-Feature /featurename:WAS-ConfigurationAPI /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-HostableWebCore /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-CertProvider /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-WindowsAuthentication /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-DigestAuthentication /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-ClientCertificateMappingAuthentication /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-IISCertificateMappingAuthentication /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-ODBCLogging /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-StaticContent /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-DefaultDocument /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-DirectoryBrowsing /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-WebDAV /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-WebSockets /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-ApplicationInit /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-ASPNET /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-ASPNET45 /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-ASP /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-CGI /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-ISAPIExtensions /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-ISAPIFilter /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-ServerSideIncludes /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-CustomLogging /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-BasicAuthentication /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-HttpCompressionStatic /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-ManagementConsole /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-ManagementService /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-WMICompatibility /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-LegacyScripts /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-LegacySnapIn /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-FTPServer /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-FTPSvc /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-FTPExtensibility /Remove
DISM.exe /Online /Disable-Feature /featurename:MSMQ-Container /Remove
DISM.exe /Online /Disable-Feature /featurename:MSMQ-Server /Remove
DISM.exe /Online /Disable-Feature /featurename:MSMQ-Triggers /Remove
DISM.exe /Online /Disable-Feature /featurename:MSMQ-ADIntegration /Remove
DISM.exe /Online /Disable-Feature /featurename:MSMQ-HTTP /Remove
DISM.exe /Online /Disable-Feature /featurename:MSMQ-Multicast /Remove
DISM.exe /Online /Disable-Feature /featurename:MSMQ-DCOMProxy /Remove
DISM.exe /Online /Disable-Feature /featurename:WCF-HTTP-Activation45 /Remove
DISM.exe /Online /Disable-Feature /featurename:WCF-TCP-Activation45 /Remove
DISM.exe /Online /Disable-Feature /featurename:WCF-Pipe-Activation45 /Remove
DISM.exe /Online /Disable-Feature /featurename:WCF-MSMQ-Activation45 /Remove
DISM.exe /Online /Disable-Feature /featurename:WCF-HTTP-Activation /Remove
DISM.exe /Online /Disable-Feature /featurename:WCF-NonHTTP-Activation /Remove
DISM.exe /Online /Disable-Feature /featurename:NetFx4Extended-ASPNET45 /Remove
DISM.exe /Online /Disable-Feature /featurename:MediaPlayback /Remove
DISM.exe /Online /Disable-Feature /featurename:WindowsMediaPlayer /Remove
DISM.exe /Online /Disable-Feature /featurename:Microsoft-Windows-MobilePC-Client-Premium-Package-net /Remove
DISM.exe /Online /Disable-Feature /featurename:Printing-XPSServices-Features /Remove
DISM.exe /Online /Disable-Feature /featurename:RasCMAK /Remove
DISM.exe /Online /Disable-Feature /featurename:RasRip /Remove
DISM.exe /Online /Disable-Feature /featurename:MSRDC-Infrastructure /Remove
DISM.exe /Online /Disable-Feature /featurename:TelnetClient /Remove
DISM.exe /Online /Disable-Feature /featurename:TelnetServer /Remove
DISM.exe /Online /Disable-Feature /featurename:TFTP /Remove
DISM.exe /Online /Disable-Feature /featurename:TIFFIFilter /Remove
DISM.exe /Online /Disable-Feature /featurename:WorkFolders-Client /Remove
DISM.exe /Online /Disable-Feature /featurename:SMB1Protocol /Remove
DISM.exe /Online /Disable-Feature /featurename:Microsoft-Hyper-V-All  /Remove
DISM.exe /Online /Disable-Feature /featurename:Microsoft-Hyper-V-Tools-All   /Remove
DISM.exe /Online /Disable-Feature /featurename:Microsoft-Hyper-V /Remove
DISM.exe /Online /Disable-Feature /featurename:Microsoft-Hyper-V-Management-Clients /Remove
DISM.exe /Online /Disable-Feature /featurename:Microsoft-Hyper-V-Management-PowerShell /Remove

REM Remover Apps da Store
PowerShell -Command "Get-AppxPackage *3DBuilder* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *Cortana* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *Getstarted* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *WindowsAlarms* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *WindowsCamera* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *bing* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *MicrosoftOfficeHub* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *OneNote* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *people* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *WindowsPhone* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *photos* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *SkypeApp* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *solit* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *WindowsSoundRecorder* | Remove-AppxPackage"
REM PowerShell -Command "Get-AppxPackage *xbox* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *windowscommunicationsapps* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *zune* | Remove-AppxPackage"
REM PowerShell -Command "Get-AppxPackage *WindowsCalculator* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *WindowsMaps* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *Sway* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *CommsPhone* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *ConnectivityStore* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *Microsoft.Messaging* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *ContentDeliveryManager* | Remove-AppxPackage"
REM PowerShell -Command "Get-AppxPackage *Microsoft.WindowsStore* | Remove-AppxPackage"

REM ***Instalar Chocolatey***
Powershell -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"

REM ***Instalar Clientes Jogos***
call %programdata%\chocolatey\bin\RefreshEnv.cmd
choco install goggalaxy -y
choco install steam -y
choco install origin -y
choco install uplay -y
choco install epicgameslauncher -y

REM ***Instalar Emuladores***
REM choco install retroarch -y
REM choco install dolphin -y
REM choco install cemu -y
REM choco install nestopia -y
REM choco install snes9x -y
REM choco install fs-uae -y
REM choco install mame -y
REM choco install winvice -y
REM choco install visualboyadvance -y
REM choco install ppsspp -y

REM ***Instalar Outros Aplicativos***
REM choco install dropbox -y
REM choco install nvidia-display-driver -y
REM choco install realtek-hd-audio-driver -y
REM choco install office365proplus -y
REM choco install 7zip.install -y
REM choco install bleachbit -y
REM choco install calibre -y
REM choco install ccleaner -y
REM choco install falkon -y
REM choco install foobar2000 -y
REM choco install kodi -y
REM choco install launchy-beta -y
REM choco install chromium -y
REM choco install compactgui -y
REM choco install defraggler -y
REM choco install discord -y
REM choco install firefox -y
REM choco install f.lux -y
REM choco install hwinfo -y
REM choco install irfanview -y
REM choco install libreoffice-fresh -y
REM choco install mpc-hc -y
REM choco install eset.nod32 -y
REM choco install kis -y
REM choco install notepadplusplus -y
REM choco install openal -y
REM choco install directx -y
REM choco install opera -y
REM choco install paint.net -y
REM choco install playnite -y
REM choco install quicklook -y
REM choco install rainmeter -y
REM choco install recuva -y
REM choco install renamer -y
REM choco install rocketdock -y
REM choco install speccy -y
REM choco install sumatrapdf -y
REM choco install vivaldi -y
REM choco install wiztree -y
REM choco install xplorer2 -y
REM choco install multicommander -y
REM choco install winfile -y
REM choco install regscanner -y

Em tese é para ser usado apenas uma vez, pós cada instalação de sistema.

Obrigado pela bela contribuição amigo, isso é de muita ajuda ja passei para um amigo que estava sofrendo destes "males" e melhorou muito o notebook dele. Valeu!
 
  • Curtir
Reações: Seu Oscar

Vicalvi

Agora papai :)
Registrado
12/04/2005
11,578
594
42
37
Recife
Fiz uma nova versão. Coloquei todos os tweaks que eu lembrei. Outras coisas, só quando for instalar novamente o sistema, para lembrar de algo.
Lembrando que cada um pode customizar para uso próprio. Acho que expliquei o que cada linha faz. É só retirar ou incluir a tag REM em cada linha.
Nesta versão, ela também instala o chocolatey o que permite, inclusive, a instalação dos programas que quiser. É só colocar ou tirar o REM de cada linha.
Quaisquer sugestões ou bugs, me avisem.
Código:
@rem *** Desabilitar alguns serviços ***
sc stop DiagTrack
sc stop diagnosticshub.standardcollector.service
sc stop dmwappushservice
sc stop WMPNetworkSvc
sc stop WSearch
sc stop lmhosts
sc stop TrkWks
sc stop VSS
sc stop RemoteAccess
sc stop WSearch
sc stop iphlpsvc

sc config DiagTrack start= disabled
sc config diagnosticshub.standardcollector.service start= disabled
sc config dmwappushservice start= disabled
sc config RemoteRegistry start= disabled
sc config TrkWks start= disabled
sc config WMPNetworkSvc start= disabled
sc config WSearch start= disabled
sc config SysMain start= disabled
sc config lmhosts start= disabled
sc config TrkWks start= disabled
sc config VSS start= disabled
sc config RemoteAccess start= disabled
sc config WSearch start= disabled
sc config iphlpsvc start= disabled

REM *** Tweaks de tarefas agendadas ***
schtasks /Change /TN "Microsoft\Windows\AppID\SmartScreenSpecific" /Disable
schtasks /Change /TN "Microsoft\Windows\Application Experience\Microsoft Compatibility Appraiser" /Disable
schtasks /Change /TN "Microsoft\Windows\Application Experience\ProgramDataUpdater" /Disable
schtasks /Change /TN "Microsoft\Windows\Application Experience\StartupAppTask" /Disable
schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\Consolidator" /Disable
schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\KernelCeipTask" /Disable
schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\UsbCeip" /Disable
schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\Uploader" /Disable
schtasks /Change /TN "Microsoft\Windows\Shell\FamilySafetyUpload" /Disable
schtasks /Change /TN "Microsoft\Office\OfficeTelemetryAgentLogOn" /Disable
schtasks /Change /TN "Microsoft\Office\OfficeTelemetryAgentFallBack" /Disable
schtasks /Change /TN "Microsoft\Office\Office 15 Subscription Heartbeat" /Disable

REM schtasks /Change /TN "Microsoft\Windows\Autochk\Proxy" /Disable
REM schtasks /Change /TN "Microsoft\Windows\CloudExperienceHost\CreateObjectTask" /Disable
REM schtasks /Change /TN "Microsoft\Windows\DiskDiagnostic\Microsoft-Windows-DiskDiagnosticDataCollector" /Disable
REM schtasks /Change /TN "Microsoft\Windows\DiskFootprint\Diagnostics" /Disable *** Not sure if should be disabled, maybe related to S.M.A.R.T.
REM schtasks /Change /TN "Microsoft\Windows\FileHistory\File History (maintenance mode)" /Disable
REM schtasks /Change /TN "Microsoft\Windows\Maintenance\WinSAT" /Disable
REM schtasks /Change /TN "Microsoft\Windows\NetTrace\GatherNetworkInfo" /Disable
REM schtasks /Change /TN "Microsoft\Windows\PI\Sqm-Tasks" /Disable
REM The stubborn task Microsoft\Windows\SettingSync\BackgroundUploadTask can be Disabled using a simple bit change. I use a REG file for that (attached to this post).
REM schtasks /Change /TN "Microsoft\Windows\Time Synchronization\ForceSynchronizeTime" /Disable
REM schtasks /Change /TN "Microsoft\Windows\Time Synchronization\SynchronizeTime" /Disable
REM schtasks /Change /TN "Microsoft\Windows\Windows Error Reporting\QueueReporting" /Disable
REM schtasks /Change /TN "Microsoft\Windows\WindowsUpdate\Automatic App Update" /Disable

@rem *** Remover Telemetria e Coleta de Dados ***
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Device Metadata" /v PreventDeviceMetadataFromNetwork /t REG_DWORD /d 1 /f
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\DataCollection" /v "AllowTelemetry" /t REG_DWORD /d 0 /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\MRT" /v DontOfferThroughWUAU /t REG_DWORD /d 1 /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\SQMClient\Windows" /v "CEIPEnable" /t REG_DWORD /d 0 /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\AppCompat" /v "AITEnable" /t REG_DWORD /d 0 /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\AppCompat" /v "DisableUAR" /t REG_DWORD /d 1 /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DataCollection" /v "AllowTelemetry" /t REG_DWORD /d 0 /f
reg add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\AutoLogger\AutoLogger-Diagtrack-Listener" /v "Start" /t REG_DWORD /d 0 /f
reg add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\AutoLogger\SQMLogger" /v "Start" /t REG_DWORD /d 0 /f

@REM Configurações -> Privacidade -> Geral -> Permitir aplicativos usar meu ID de propaganda
reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo" /v Enabled /t REG_DWORD /d 0 /f
REM - Smart Scrren para aplicativos da Store
reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\AppHost" /v EnableWebContentEvaluation /t REG_DWORD /d 0 /f
REM - Let websites provide locally...
reg add "HKCU\Control Panel\International\User Profile" /v HttpAcceptLanguageOptOut /t REG_DWORD /d 1 /f

@REM WiFi Sense: HotSpot Sharing: Disable
reg add "HKLM\Software\Microsoft\PolicyManager\default\WiFi\AllowWiFiHotSpotReporting" /v value /t REG_DWORD /d 0 /f
@REM WiFi Sense: Shared HotSpot Auto-Connect: Disable
reg add "HKLM\Software\Microsoft\PolicyManager\default\WiFi\AllowAutoConnectToWiFiSenseHotspots" /v value /t REG_DWORD /d 0 /f

@REM Mudar updates para notificar o agendamento de reinicialização
reg add "HKLM\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings" /v UxOption /t REG_DWORD /d 1 /f
@REM Disable P2P Update downlods outside of local network
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\DeliveryOptimization\Config" /v DODownloadMode /t REG_DWORD /d 0 /f

@REM *** Desabilitar Cortana e Telemetria ***
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v "AllowCortana" /t REG_DWORD /d 0 /f

REM *** Hide the search box from taskbar. You can still search by pressing the Win key and start typing what you're looking for ***
REM 0 = hide completely, 1 = show only icon, 2 = show long search box
reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Search" /v "SearchboxTaskbarMode" /t REG_DWORD /d 0 /f

REM *** Disable MRU lists (jump lists) of XAML apps in Start Menu ***
REM reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "Start_TrackDocs" /t REG_DWORD /d 0 /f

REM *** Set Windows Explorer to start on This PC instead of Quick Access ***
REM 1 = This PC, 2 = Quick access
REM reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "LaunchTo" /t REG_DWORD /d 1 /f

REM *** Desabilitar sugestões no Menu Iniciar ***
reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SystemPaneSuggestionsEnabled" /t REG_DWORD /d 0 /f

REM *** Desabilitar hibernação ***
powercfg -h off

REM *** Desabilitar memória virtual ***
wmic computersystem where name="%computername%" set AutomaticManagedPagefile=False
wmic pagefile delete

REM *** Desabilitar Superfetch ***
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PrefetchParameters" /v "EnableSuperfetch" /t REG_DWORD /d 00000000 /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PrefetchParameters" /v "EnablePrefetcher" /t REG_DWORD /d 00000000 /f

REM *** Acelerar desligamento ***
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PrefetchParameters" /v "WaitToKillServiceTimeout" /t REG_SZ /d 2000 /f

REM *** Habilitar todos os icones na tray***
reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explore" /v "EnableAutoTray" /t REG_DWORD /d 0 /f

REM *** Tweaks Variados ***
reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v "AutoEndTasks" /t REG_SZ /d 1 /f
reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v "HungAppTimeout" /t REG_SZ /d 1000 /f
reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v "MenuShowDelay" /t REG_SZ /d 20 /f
reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v "WaitToKillAppTimeout" /t REG_SZ /d 2000 /f
reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v "LowLevelHooksTimeout" /t REG_SZ /d 1000 /f
reg add "HKEY_CURRENT_USER\Control Panel\Mouse" /v "MouseHoverTime" /t REG_SZ /d 8 /f
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v "NoLowDiskSpaceChecks" /t REG_DWORD /d 00000001 /f

REM *** Melhorar qualidade papel de parede ***
reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v "JPEGImportQuality" /t REG_DWORD /d 00000064 /f

REM *** Tirar animações inuteís ***
reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v "VisualFXSetting" /t REG_DWORD /d 2 /f
reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v "VisualFXSetting" /t REG_DWORD /d 3 /f
reg add "HKCU\Control Panel\Desktop" /v "UserPreferencesMask" /t REG_BINARY /d 9012038010000000 /f
reg add "HKCU\Control Panel\Desktop\WindowMetrics" /v "MinAnimate" REG_SZ /d 0 /f
reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarAnimations" /t REG_DWORD /d 0 /f
reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /V "DisablePreviewDesktop" /T REG_DWORD /D 0 /F
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM " /V "DisablePreviewDesktop" /T REG_DWORD /D 0 /F
reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /V "IconsOnly" /T REG_DWORD /D 1 /F
reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /V "ListviewAlphaSelect" /T REG_DWORD /D 0 /F
reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v "DragFullWindows" /t REG_DWORD /d 0 /f
reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v "FontSmoothing" /t REG_DWORD /d 2 /f
reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /V "ListviewShadow" /T REG_DWORD /D 0 /F

REM *** Desabilitar Game Bar ***
reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\GameDVR" /V "AppCaptureEnabled" /T REG_DWORD /D 0 /F
reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\GameDVR" /V "GameDVR_Enabled" /T REG_DWORD /D 0 /F

REM *** Desabilitar Controle de Conta de Usuário ***
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /V "PromptOnSecureDesktop" /T REG_DWORD /D 0 /F
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /V "EnableLUA" /T REG_DWORD /D 1 /F
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /V "ConsentPromptBehaviorAdmin" /T REG_DWORD /D 0 /F

REM *** Cores no iniciar e barra de tarefas ***
Reg Add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize" /v ColorPrevalence /t REG_DWORD /d 1 /f
reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v "AutoColorization " /t REG_DWORD /d 0 /f

REM *** Prompt de Comando por padrão ***
REG Add HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced /V DontUsePowerShellOnWinX /T REG_DWORD /D 1 /F

REM *** Nunca Desligar HD ***
rem bateria
powercfg /SETDCVALUEINDEX SCHEME_CURRENT 0012ee47-9041-4b5d-9b77-535fba8b1442 6738e2c4-e8a5-4a42-b16a-e040e769756e 0
rem tomada
powercfg /SETACVALUEINDEX SCHEME_CURRENT 0012ee47-9041-4b5d-9b77-535fba8b1442 6738e2c4-e8a5-4a42-b16a-e040e769756e 0

@rem NOW JUST SOME TWEAKS
REM *** Show hidden files in Explorer ***
reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "Hidden" /t REG_DWORD /d 1 /f
REM *** Show super hidden system files in Explorer ***
reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "ShowSuperHidden" /t REG_DWORD /d 1 /f

REM *** Show file extensions in Explorer ***
REM reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t  REG_DWORD /d 0 /f

REM *** Uninstall OneDrive ***
REM start /wait "" "%SYSTEMROOT%\SYSWOW64\ONEDRIVESETUP.EXE" /UNINSTALL
REM rd C:\OneDriveTemp /Q /S >NUL 2>&1
REM rd "%USERPROFILE%\OneDrive" /Q /S >NUL 2>&1
REM rd "%LOCALAPPDATA%\Microsoft\OneDrive" /Q /S >NUL 2>&1
REM rd "%PROGRAMDATA%\Microsoft OneDrive" /Q /S >NUL 2>&1
REM reg add "HKEY_CLASSES_ROOT\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}\ShellFolder" /f /v Attributes /t REG_DWORD /d 0 >NUL 2>&1
REM reg add "HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}\ShellFolder" /f /v Attributes /t REG_DWORD /d 0 >NUL 2>&1
REM echo OneDrive has been removed. Windows Explorer needs to be restarted.
REM pause
REM start /wait TASKKILL /F /IM explorer.exe
REM start explorer.exe.

REM ***Remove Unused Features***
DISM.exe /Online /Disable-Feature /featurename:SimpleTCP  /Remove
DISM.exe /Online /Disable-Feature /featurename:SNMP   /Remove
DISM.exe /Online /Disable-Feature /featurename:WMISnmpProvider /Remove
DISM.exe /Online /Disable-Feature /featurename:Windows-Identity-Foundation  /Remove
DISM.exe /Online /Disable-Feature /featurename:DirectoryServices-ADAM-Client /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-WebServerRole /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-WebServer /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-CommonHttpFeatures /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-HttpErrors /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-HttpRedirect /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-ApplicationDevelopment /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-NetFxExtensibility /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-NetFxExtensibility45 /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-HealthAndDiagnostics /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-HttpLogging /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-LoggingLibraries /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-RequestMonitor /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-HttpTracing  /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-Security /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-URLAuthorization /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-RequestFiltering /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-IPSecurity /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-Performance /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-HttpCompressionDynamic /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-WebServerManagementTools /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-ManagementScriptingTools /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-IIS6ManagementCompatibility /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-Metabase /Remove
DISM.exe /Online /Disable-Feature /featurename:WAS-WindowsActivationService /Remove
DISM.exe /Online /Disable-Feature /featurename:WAS-ProcessModel /Remove
DISM.exe /Online /Disable-Feature /featurename:WAS-NetFxEnvironment /Remove
DISM.exe /Online /Disable-Feature /featurename:WAS-ConfigurationAPI /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-HostableWebCore /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-CertProvider /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-WindowsAuthentication /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-DigestAuthentication /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-ClientCertificateMappingAuthentication /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-IISCertificateMappingAuthentication /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-ODBCLogging /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-StaticContent /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-DefaultDocument /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-DirectoryBrowsing /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-WebDAV /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-WebSockets /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-ApplicationInit /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-ASPNET /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-ASPNET45 /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-ASP /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-CGI /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-ISAPIExtensions /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-ISAPIFilter /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-ServerSideIncludes /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-CustomLogging /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-BasicAuthentication /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-HttpCompressionStatic /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-ManagementConsole /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-ManagementService /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-WMICompatibility /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-LegacyScripts /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-LegacySnapIn /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-FTPServer /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-FTPSvc /Remove
DISM.exe /Online /Disable-Feature /featurename:IIS-FTPExtensibility /Remove
DISM.exe /Online /Disable-Feature /featurename:MSMQ-Container /Remove
DISM.exe /Online /Disable-Feature /featurename:MSMQ-Server /Remove
DISM.exe /Online /Disable-Feature /featurename:MSMQ-Triggers /Remove
DISM.exe /Online /Disable-Feature /featurename:MSMQ-ADIntegration /Remove
DISM.exe /Online /Disable-Feature /featurename:MSMQ-HTTP /Remove
DISM.exe /Online /Disable-Feature /featurename:MSMQ-Multicast /Remove
DISM.exe /Online /Disable-Feature /featurename:MSMQ-DCOMProxy /Remove
DISM.exe /Online /Disable-Feature /featurename:WCF-HTTP-Activation45 /Remove
DISM.exe /Online /Disable-Feature /featurename:WCF-TCP-Activation45 /Remove
DISM.exe /Online /Disable-Feature /featurename:WCF-Pipe-Activation45 /Remove
DISM.exe /Online /Disable-Feature /featurename:WCF-MSMQ-Activation45 /Remove
DISM.exe /Online /Disable-Feature /featurename:WCF-HTTP-Activation /Remove
DISM.exe /Online /Disable-Feature /featurename:WCF-NonHTTP-Activation /Remove
DISM.exe /Online /Disable-Feature /featurename:NetFx4Extended-ASPNET45 /Remove
DISM.exe /Online /Disable-Feature /featurename:MediaPlayback /Remove
DISM.exe /Online /Disable-Feature /featurename:WindowsMediaPlayer /Remove
DISM.exe /Online /Disable-Feature /featurename:Microsoft-Windows-MobilePC-Client-Premium-Package-net /Remove
DISM.exe /Online /Disable-Feature /featurename:Printing-XPSServices-Features /Remove
DISM.exe /Online /Disable-Feature /featurename:RasCMAK /Remove
DISM.exe /Online /Disable-Feature /featurename:RasRip /Remove
DISM.exe /Online /Disable-Feature /featurename:MSRDC-Infrastructure /Remove
DISM.exe /Online /Disable-Feature /featurename:TelnetClient /Remove
DISM.exe /Online /Disable-Feature /featurename:TelnetServer /Remove
DISM.exe /Online /Disable-Feature /featurename:TFTP /Remove
DISM.exe /Online /Disable-Feature /featurename:TIFFIFilter /Remove
DISM.exe /Online /Disable-Feature /featurename:WorkFolders-Client /Remove
DISM.exe /Online /Disable-Feature /featurename:SMB1Protocol /Remove
DISM.exe /Online /Disable-Feature /featurename:Microsoft-Hyper-V-All  /Remove
DISM.exe /Online /Disable-Feature /featurename:Microsoft-Hyper-V-Tools-All   /Remove
DISM.exe /Online /Disable-Feature /featurename:Microsoft-Hyper-V /Remove
DISM.exe /Online /Disable-Feature /featurename:Microsoft-Hyper-V-Management-Clients /Remove
DISM.exe /Online /Disable-Feature /featurename:Microsoft-Hyper-V-Management-PowerShell /Remove

REM Remover Apps da Store
PowerShell -Command "Get-AppxPackage *3DBuilder* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *Cortana* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *Getstarted* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *WindowsAlarms* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *WindowsCamera* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *bing* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *MicrosoftOfficeHub* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *OneNote* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *people* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *WindowsPhone* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *photos* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *SkypeApp* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *solit* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *WindowsSoundRecorder* | Remove-AppxPackage"
REM PowerShell -Command "Get-AppxPackage *xbox* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *windowscommunicationsapps* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *zune* | Remove-AppxPackage"
REM PowerShell -Command "Get-AppxPackage *WindowsCalculator* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *WindowsMaps* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *Sway* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *CommsPhone* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *ConnectivityStore* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *Microsoft.Messaging* | Remove-AppxPackage"
PowerShell -Command "Get-AppxPackage *ContentDeliveryManager* | Remove-AppxPackage"
REM PowerShell -Command "Get-AppxPackage *Microsoft.WindowsStore* | Remove-AppxPackage"

REM ***Instalar Chocolatey***
Powershell -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"

REM ***Instalar Clientes Jogos***
call %programdata%\chocolatey\bin\RefreshEnv.cmd
choco install goggalaxy -y
choco install steam -y
choco install origin -y
choco install uplay -y
choco install epicgameslauncher -y

REM ***Instalar Emuladores***
REM choco install retroarch -y
REM choco install dolphin -y
REM choco install cemu -y
REM choco install nestopia -y
REM choco install snes9x -y
REM choco install fs-uae -y
REM choco install mame -y
REM choco install winvice -y
REM choco install visualboyadvance -y
REM choco install ppsspp -y

REM ***Instalar Outros Aplicativos***
REM choco install dropbox -y
REM choco install nvidia-display-driver -y
REM choco install realtek-hd-audio-driver -y
REM choco install office365proplus -y
REM choco install 7zip.install -y
REM choco install bleachbit -y
REM choco install calibre -y
REM choco install ccleaner -y
REM choco install falkon -y
REM choco install foobar2000 -y
REM choco install kodi -y
REM choco install launchy-beta -y
REM choco install chromium -y
REM choco install compactgui -y
REM choco install defraggler -y
REM choco install discord -y
REM choco install firefox -y
REM choco install f.lux -y
REM choco install hwinfo -y
REM choco install irfanview -y
REM choco install libreoffice-fresh -y
REM choco install mpc-hc -y
REM choco install eset.nod32 -y
REM choco install kis -y
REM choco install notepadplusplus -y
REM choco install openal -y
REM choco install directx -y
REM choco install opera -y
REM choco install paint.net -y
REM choco install playnite -y
REM choco install quicklook -y
REM choco install rainmeter -y
REM choco install recuva -y
REM choco install renamer -y
REM choco install rocketdock -y
REM choco install speccy -y
REM choco install sumatrapdf -y
REM choco install vivaldi -y
REM choco install wiztree -y
REM choco install xplorer2 -y
REM choco install multicommander -y
REM choco install winfile -y
REM choco install regscanner -y

Em tese é para ser usado apenas uma vez, pós cada instalação de sistema.

Poderia me explicar essa parte do .bat para que serve?

REM ***Instalar Clientes Jogos***
call %programdata%\chocolatey\bin\RefreshEnv.cmd
choco install goggalaxy -y
choco install steam -y
choco install origin -y
choco install uplay -y
choco install epicgameslauncher -y

REM ***Instalar Emuladores***
REM choco install retroarch -y
REM choco install dolphin -y
REM choco install cemu -y
REM choco install nestopia -y
REM choco install snes9x -y
REM choco install fs-uae -y
REM choco install mame -y
REM choco install winvice -y
REM choco install visualboyadvance -y
REM choco install ppsspp -y

REM ***Instalar Outros Aplicativos***
REM choco install dropbox -y
REM choco install nvidia-display-driver -y
REM choco install realtek-hd-audio-driver -y
REM choco install office365proplus -y
REM choco install 7zip.install -y
REM choco install bleachbit -y
REM choco install calibre -y
REM choco install ccleaner -y
REM choco install falkon -y
REM choco install foobar2000 -y
REM choco install kodi -y
REM choco install launchy-beta -y
REM choco install chromium -y
REM choco install compactgui -y
REM choco install defraggler -y
REM choco install discord -y
REM choco install firefox -y
REM choco install f.lux -y
REM choco install hwinfo -y
REM choco install irfanview -y
REM choco install libreoffice-fresh -y
REM choco install mpc-hc -y
REM choco install eset.nod32 -y
REM choco install kis -y
REM choco install notepadplusplus -y
REM choco install openal -y
REM choco install directx -y
REM choco install opera -y
REM choco install paint.net -y
REM choco install playnite -y
REM choco install quicklook -y
REM choco install rainmeter -y
REM choco install recuva -y
REM choco install renamer -y
REM choco install rocketdock -y
REM choco install speccy -y
REM choco install sumatrapdf -y
REM choco install vivaldi -y
REM choco install wiztree -y
REM choco install xplorer2 -y
REM choco install multicommander -y
REM choco install winfile -y
REM choco install regscanner -y

Pelos títulos, isso ai são programas que ele vai instalar ao executar o .bat?

Obrigado.
 

paulomello2006

Banido
Banido
06/04/2008
10,106
3,028
41
Só consegui fazer funcionar a rede depois que ativei os serviços abaixo, tem que ativar esses serviços em todos os micros com windows 10. Tecla Windows+R (services.msc) em tipo de inicialização coloque como automatico. Se me lembro bem foi ísso que fiz para a rede funcionar.
• Host do Provedor de Descoberta de Função
• Publicação de Recursos de Descoberta
• Host de dispositivo UPnP
funcionou....maldita MS cheia de palhacada

valeu amigo
 

Seu Oscar

know-it-all Member
Registrado
22/12/2007
886
422
31
Criei um repositório no github. Para quem interessar, está aqui: https://github.com/AFaustini/OtimizeWindows
Poderia me explicar essa parte do .bat para que serve?

REM ***Instalar Clientes Jogos***
call %programdata%\chocolatey\bin\RefreshEnv.cmd
choco install goggalaxy -y
choco install steam -y
choco install origin -y
choco install uplay -y
choco install epicgameslauncher -y

REM ***Instalar Emuladores***
REM choco install retroarch -y
REM choco install dolphin -y
REM choco install cemu -y
REM choco install nestopia -y
REM choco install snes9x -y
REM choco install fs-uae -y
REM choco install mame -y
REM choco install winvice -y
REM choco install visualboyadvance -y
REM choco install ppsspp -y

REM ***Instalar Outros Aplicativos***
REM choco install dropbox -y
REM choco install nvidia-display-driver -y
REM choco install realtek-hd-audio-driver -y
REM choco install office365proplus -y
REM choco install 7zip.install -y
REM choco install bleachbit -y
REM choco install calibre -y
REM choco install ccleaner -y
REM choco install falkon -y
REM choco install foobar2000 -y
REM choco install kodi -y
REM choco install launchy-beta -y
REM choco install chromium -y
REM choco install compactgui -y
REM choco install defraggler -y
REM choco install discord -y
REM choco install firefox -y
REM choco install f.lux -y
REM choco install hwinfo -y
REM choco install irfanview -y
REM choco install libreoffice-fresh -y
REM choco install mpc-hc -y
REM choco install eset.nod32 -y
REM choco install kis -y
REM choco install notepadplusplus -y
REM choco install openal -y
REM choco install directx -y
REM choco install opera -y
REM choco install paint.net -y
REM choco install playnite -y
REM choco install quicklook -y
REM choco install rainmeter -y
REM choco install recuva -y
REM choco install renamer -y
REM choco install rocketdock -y
REM choco install speccy -y
REM choco install sumatrapdf -y
REM choco install vivaldi -y
REM choco install wiztree -y
REM choco install xplorer2 -y
REM choco install multicommander -y
REM choco install winfile -y
REM choco install regscanner -y

Pelos títulos, isso ai são programas que ele vai instalar ao executar o .bat?

Obrigado.
isso...exatamente...é só colocar ou tirar o REM no inicio da linha do programa que quiser.
 
  • Curtir
Reações: Vicalvi

Nanover

/cry
Registrado
30/07/2009
742
1,131
0
Sem Localização
Po, rodei o bat agora não consigo acessar servidor samba mais

Poderia fazer um bat que desfaz essas alterações? Pois já ativei tudo e qualquer registro de rede e autenticação e não consigo acesso ao samba, que não posso ficar sem
 
Última edição:

amauri_cs

Hungry Member
Registrado
15/04/2013
403
96
12
SRN - Piauí
mais alguém aqui ainda está usando o Windows 10 versão 1709? aqui estou tentando me manter nela o máximo possível. Das versões mais novas pra mim é a que está se mostrando mais estável.
Estou bloqueando a atualização pra 1803,1809 pelo windows update mesmo.
28cd82b.jpg

2wfsq61.jpg
 

Apasche

know-it-all Member
Registrado
09/02/2006
2,434
616
48
RJ
Alguém teve problema usando o script do amigo ?
 

Seu Oscar

know-it-all Member
Registrado
22/12/2007
886
422
31
Po, rodei o bat agora não consigo acessar servidor samba mais

Poderia fazer um bat que desfaz essas alterações? Pois já ativei tudo e qualquer registro de rede e autenticação e não consigo acesso ao samba, que não posso ficar sem

Sabe o que o Samba usa de features do Windows, exatamente?

Tudo o que eu desabilitei de features está com o seguinte na linha:
Disable-Feature
È só trocar o Disable por Enable e rodar de novo.

Código:
DISM.exe /Online /Enable-Feature /featurename:SimpleTCP  /Remove
DISM.exe /Online /Enable-Feature /featurename:SNMP   /Remove
DISM.exe /Online /Enable-Feature /featurename:WMISnmpProvider /Remove
DISM.exe /Online /Enable-Feature /featurename:Windows-Identity-Foundation  /Remove
DISM.exe /Online /Enable-Feature /featurename:DirectoryServices-ADAM-Client /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-WebServerRole /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-WebServer /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-CommonHttpFeatures /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-HttpErrors /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-HttpRedirect /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-ApplicationDevelopment /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-NetFxExtensibility /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-NetFxExtensibility45 /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-HealthAndDiagnostics /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-HttpLogging /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-LoggingLibraries /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-RequestMonitor /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-HttpTracing  /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-Security /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-URLAuthorization /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-RequestFiltering /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-IPSecurity /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-Performance /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-HttpCompressionDynamic /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-WebServerManagementTools /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-ManagementScriptingTools /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-IIS6ManagementCompatibility /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-Metabase /Remove
DISM.exe /Online /Enable-Feature /featurename:WAS-WindowsActivationService /Remove
DISM.exe /Online /Enable-Feature /featurename:WAS-ProcessModel /Remove
DISM.exe /Online /Enable-Feature /featurename:WAS-NetFxEnvironment /Remove
DISM.exe /Online /Enable-Feature /featurename:WAS-ConfigurationAPI /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-HostableWebCore /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-CertProvider /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-WindowsAuthentication /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-DigestAuthentication /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-ClientCertificateMappingAuthentication /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-IISCertificateMappingAuthentication /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-ODBCLogging /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-StaticContent /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-DefaultDocument /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-DirectoryBrowsing /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-WebDAV /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-WebSockets /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-ApplicationInit /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-ASPNET /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-ASPNET45 /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-ASP /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-CGI /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-ISAPIExtensions /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-ISAPIFilter /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-ServerSideIncludes /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-CustomLogging /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-BasicAuthentication /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-HttpCompressionStatic /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-ManagementConsole /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-ManagementService /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-WMICompatibility /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-LegacyScripts /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-LegacySnapIn /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-FTPServer /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-FTPSvc /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-FTPExtensibility /Remove
DISM.exe /Online /Enable-Feature /featurename:MSMQ-Container /Remove
DISM.exe /Online /Enable-Feature /featurename:MSMQ-Server /Remove
DISM.exe /Online /Enable-Feature /featurename:MSMQ-Triggers /Remove
DISM.exe /Online /Enable-Feature /featurename:MSMQ-ADIntegration /Remove
DISM.exe /Online /Enable-Feature /featurename:MSMQ-HTTP /Remove
DISM.exe /Online /Enable-Feature /featurename:MSMQ-Multicast /Remove
DISM.exe /Online /Enable-Feature /featurename:MSMQ-DCOMProxy /Remove
DISM.exe /Online /Enable-Feature /featurename:WCF-HTTP-Activation45 /Remove
DISM.exe /Online /Enable-Feature /featurename:WCF-TCP-Activation45 /Remove
DISM.exe /Online /Enable-Feature /featurename:WCF-Pipe-Activation45 /Remove
DISM.exe /Online /Enable-Feature /featurename:WCF-MSMQ-Activation45 /Remove
DISM.exe /Online /Enable-Feature /featurename:WCF-HTTP-Activation /Remove
DISM.exe /Online /Enable-Feature /featurename:WCF-NonHTTP-Activation /Remove
DISM.exe /Online /Enable-Feature /featurename:NetFx4Extended-ASPNET45 /Remove
DISM.exe /Online /Enable-Feature /featurename:MediaPlayback /Remove
DISM.exe /Online /Enable-Feature /featurename:WindowsMediaPlayer /Remove
DISM.exe /Online /Enable-Feature /featurename:Microsoft-Windows-MobilePC-Client-Premium-Package-net /Remove
DISM.exe /Online /Enable-Feature /featurename:Printing-XPSServices-Features /Remove
DISM.exe /Online /Enable-Feature /featurename:RasCMAK /Remove
DISM.exe /Online /Enable-Feature /featurename:RasRip /Remove
DISM.exe /Online /Enable-Feature /featurename:MSRDC-Infrastructure /Remove
DISM.exe /Online /Enable-Feature /featurename:TelnetClient /Remove
DISM.exe /Online /Enable-Feature /featurename:TelnetServer /Remove
DISM.exe /Online /Enable-Feature /featurename:TFTP /Remove
DISM.exe /Online /Enable-Feature /featurename:TIFFIFilter /Remove
DISM.exe /Online /Enable-Feature /featurename:WorkFolders-Client /Remove
DISM.exe /Online /Enable-Feature /featurename:SMB1Protocol /Remove
DISM.exe /Online /Enable-Feature /featurename:Microsoft-Hyper-V-All  /Remove
DISM.exe /Online /Enable-Feature /featurename:Microsoft-Hyper-V-Tools-All   /Remove
DISM.exe /Online /Enable-Feature /featurename:Microsoft-Hyper-V /Remove
DISM.exe /Online /Enable-Feature /featurename:Microsoft-Hyper-V-Management-Clients /Remove
DISM.exe /Online /Enable-Feature /featurename:Microsoft-Hyper-V-Management-PowerShell /Remove

Cola como .bat e executa como administrador.

Deve voltar de boa.
 
  • Curtir
Reações: Nanover

Sonymaster

Jogador de Videogame das décadas 1980/1990.
Colaborador
03/03/2007
4,652
18,137
0
43
Portal/Fóruns/Games/Retrô
Windows 10 enfim ultrapassa o Windows 7 como o OS mais usado em desktops no mundo

Segundo resultados de pesquisa da Net Applications, o Windows 10 enfim ultrapassou o Windows 7 em fatia de mercado, o que significa que ele se tornou o sistema operacional mais usado em computadores desktop no mundo, três anos após o seu lançamento oficial.

windows-10-sistema-mais-usado_chamada.jpg

A adoção do Windows 10 começou bem rápida, ainda mais com a Microsoft promovendo agressivamente o update do sistema, através da atualização gratuita e muita propaganda. O update gratuito parou de ser oferecido em julho de 2016, o que fez com que o crescimento da adoção diminuísse muito de ritmo. Ainda assim, a presença do Windows 10 em computadores desktop continuou crescendo até atingir 39,22% da fatia de mercado mundial em dezembro passado, segundo a Net Applications.

windows-10-sistema-mais-usado-01.jpg

Enquanto isso, o Windows 7 caiu para 36,90% no mês passado, ficando na segunda posição de sistema operacional mais usado. É interessante que o Windows XP, uma versão mais antiga, ficou na frente do Windows 8.1, segundo a pesquisa. Essas versões do sistema operacional da Microsoft conseguiram 4,54% e 4,45%, respectivamente. O Windows 8 original está em apenas 0,88% dos computadores desktop.

Como um todo, a liderança do Windows no mercado continua indisputável. São 86,20% dos desktops com o sistema operacional em dezembro. MacOS conta com 10,65% de presença e o Linux apenas 2,78%.

Fonte: Adrenaline
 

luky22

O importante e que o Amor venceu 🙄🙄🙄
Registrado
20/11/2007
3,161
1,920
17
Belo horizonte ( zona norte )
Po, rodei o bat agora não consigo acessar servidor samba mais

Poderia fazer um bat que desfaz essas alterações? Pois já ativei tudo e qualquer registro de rede e autenticação e não consigo acesso ao samba, que não posso ficar sem

Cara aconselho fortemente quando for fazer esse tipo de alteração no sistema, fazer um ponto de restauração antes, pra não se preocupar caso de algo errado.
 
  • Curtir
Reações: Nanover

Nanover

/cry
Registrado
30/07/2009
742
1,131
0
Sem Localização
Sabe o que o Samba usa de features do Windows, exatamente?

Tudo o que eu desabilitei de features está com o seguinte na linha:
Disable-Feature
È só trocar o Disable por Enable e rodar de novo.

Código:
DISM.exe /Online /Enable-Feature /featurename:SimpleTCP  /Remove
DISM.exe /Online /Enable-Feature /featurename:SNMP   /Remove
DISM.exe /Online /Enable-Feature /featurename:WMISnmpProvider /Remove
DISM.exe /Online /Enable-Feature /featurename:Windows-Identity-Foundation  /Remove
DISM.exe /Online /Enable-Feature /featurename:DirectoryServices-ADAM-Client /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-WebServerRole /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-WebServer /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-CommonHttpFeatures /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-HttpErrors /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-HttpRedirect /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-ApplicationDevelopment /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-NetFxExtensibility /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-NetFxExtensibility45 /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-HealthAndDiagnostics /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-HttpLogging /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-LoggingLibraries /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-RequestMonitor /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-HttpTracing  /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-Security /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-URLAuthorization /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-RequestFiltering /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-IPSecurity /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-Performance /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-HttpCompressionDynamic /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-WebServerManagementTools /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-ManagementScriptingTools /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-IIS6ManagementCompatibility /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-Metabase /Remove
DISM.exe /Online /Enable-Feature /featurename:WAS-WindowsActivationService /Remove
DISM.exe /Online /Enable-Feature /featurename:WAS-ProcessModel /Remove
DISM.exe /Online /Enable-Feature /featurename:WAS-NetFxEnvironment /Remove
DISM.exe /Online /Enable-Feature /featurename:WAS-ConfigurationAPI /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-HostableWebCore /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-CertProvider /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-WindowsAuthentication /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-DigestAuthentication /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-ClientCertificateMappingAuthentication /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-IISCertificateMappingAuthentication /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-ODBCLogging /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-StaticContent /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-DefaultDocument /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-DirectoryBrowsing /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-WebDAV /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-WebSockets /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-ApplicationInit /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-ASPNET /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-ASPNET45 /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-ASP /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-CGI /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-ISAPIExtensions /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-ISAPIFilter /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-ServerSideIncludes /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-CustomLogging /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-BasicAuthentication /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-HttpCompressionStatic /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-ManagementConsole /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-ManagementService /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-WMICompatibility /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-LegacyScripts /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-LegacySnapIn /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-FTPServer /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-FTPSvc /Remove
DISM.exe /Online /Enable-Feature /featurename:IIS-FTPExtensibility /Remove
DISM.exe /Online /Enable-Feature /featurename:MSMQ-Container /Remove
DISM.exe /Online /Enable-Feature /featurename:MSMQ-Server /Remove
DISM.exe /Online /Enable-Feature /featurename:MSMQ-Triggers /Remove
DISM.exe /Online /Enable-Feature /featurename:MSMQ-ADIntegration /Remove
DISM.exe /Online /Enable-Feature /featurename:MSMQ-HTTP /Remove
DISM.exe /Online /Enable-Feature /featurename:MSMQ-Multicast /Remove
DISM.exe /Online /Enable-Feature /featurename:MSMQ-DCOMProxy /Remove
DISM.exe /Online /Enable-Feature /featurename:WCF-HTTP-Activation45 /Remove
DISM.exe /Online /Enable-Feature /featurename:WCF-TCP-Activation45 /Remove
DISM.exe /Online /Enable-Feature /featurename:WCF-Pipe-Activation45 /Remove
DISM.exe /Online /Enable-Feature /featurename:WCF-MSMQ-Activation45 /Remove
DISM.exe /Online /Enable-Feature /featurename:WCF-HTTP-Activation /Remove
DISM.exe /Online /Enable-Feature /featurename:WCF-NonHTTP-Activation /Remove
DISM.exe /Online /Enable-Feature /featurename:NetFx4Extended-ASPNET45 /Remove
DISM.exe /Online /Enable-Feature /featurename:MediaPlayback /Remove
DISM.exe /Online /Enable-Feature /featurename:WindowsMediaPlayer /Remove
DISM.exe /Online /Enable-Feature /featurename:Microsoft-Windows-MobilePC-Client-Premium-Package-net /Remove
DISM.exe /Online /Enable-Feature /featurename:Printing-XPSServices-Features /Remove
DISM.exe /Online /Enable-Feature /featurename:RasCMAK /Remove
DISM.exe /Online /Enable-Feature /featurename:RasRip /Remove
DISM.exe /Online /Enable-Feature /featurename:MSRDC-Infrastructure /Remove
DISM.exe /Online /Enable-Feature /featurename:TelnetClient /Remove
DISM.exe /Online /Enable-Feature /featurename:TelnetServer /Remove
DISM.exe /Online /Enable-Feature /featurename:TFTP /Remove
DISM.exe /Online /Enable-Feature /featurename:TIFFIFilter /Remove
DISM.exe /Online /Enable-Feature /featurename:WorkFolders-Client /Remove
DISM.exe /Online /Enable-Feature /featurename:SMB1Protocol /Remove
DISM.exe /Online /Enable-Feature /featurename:Microsoft-Hyper-V-All  /Remove
DISM.exe /Online /Enable-Feature /featurename:Microsoft-Hyper-V-Tools-All   /Remove
DISM.exe /Online /Enable-Feature /featurename:Microsoft-Hyper-V /Remove
DISM.exe /Online /Enable-Feature /featurename:Microsoft-Hyper-V-Management-Clients /Remove
DISM.exe /Online /Enable-Feature /featurename:Microsoft-Hyper-V-Management-PowerShell /Remove

Cola como .bat e executa como administrador.

Deve voltar de boa.

Volto a funcionar, muito obrigado :cuti:

Cara aconselho fortemente quando for fazer esse tipo de alteração no sistema, fazer um ponto de restauração antes, pra não se preocupar caso de algo errado.

Sim, fui inocente achando que era algo mais de boas, mas me lasquei :sefu:
 
  • Curtir
Reações: luky22

luky22

O importante e que o Amor venceu 🙄🙄🙄
Registrado
20/11/2007
3,161
1,920
17
Belo horizonte ( zona norte )
Volto a funcionar, muito obrigado :cuti:



Sim, fui inocente achando que era algo mais de boas, mas me lasquei :sefu:

Acontece man, mas sempre que vou mexer em qualquer coisa no sistema que pode muda-lo profundamente eu sempre deixo um ponto de restauração caso aconteça algo.
Mas qual foi sua experiencia com esse .bat que o amigo passou ? Achou que o sistema se comportou melhor ? Nós conte como foi, ou esta sendo sua experiencia.
 

Nanover

/cry
Registrado
30/07/2009
742
1,131
0
Sem Localização
Acontece man, mas sempre que vou mexer em qualquer coisa no sistema que pode muda-lo profundamente eu sempre deixo um ponto de restauração caso aconteça algo.
Mas qual foi sua experiencia com esse .bat que o amigo passou ? Achou que o sistema se comportou melhor ? Nós conte como foi, ou esta sendo sua experiencia.

Não rodei no pc da assinatura, rodei em outro pc mais simples. Mas no mais, tirando o problema para acessar o servidor SMB, até o momento não senti muita diferença :(

Mas mal cheguei a testar direito
 
  • Curtir
Reações: luky22

klondike

know-it-all Member
Registrado
16/02/2008
2,870
413
42
Windows 10 enfim ultrapassa o Windows 7 como o OS mais usado em desktops no mundo
 
É meio difícil de acreditar, mas, enfim era de se esperar, pq como não tem outro sistema operacional confiável, a tendência é que esse sistema operacional bugado vire padrão, e a Microsoft no futuro não vai lançar uma nova versão que seja confiável e sem bugs, simples assim...
 
Última edição:

Users who are viewing this thread