Windows NT KAMIDAKI 10.0 build 19045 (Windows 10) AMD64
Apache/2.4.58 (Win64) OpenSSL/3.1.3 PHP/8.3.9
Server IP : 192.168.3.16 & Your IP : 216.73.216.204
Domains :
Cant Read [ /etc/named.conf ]
User : SISTEMA
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
C: /
Windows /
diagnostics /
system /
WindowsUpdate /
Delete
Unzip
Name
Size
Permission
Date
Action
en-US
[ DIR ]
drwxrwxrwx
2023-03-23 12:54
pt-BR
[ DIR ]
drwxrwxrwx
2019-12-07 15:53
CL_SetupEnv.ps1
5.12
KB
-rw-rw-rw-
2019-12-07 10:09
CL_Utility.ps1
3.1
KB
-rw-rw-rw-
2019-12-07 10:09
DiagPackage.diagpkg
12.81
KB
-rw-rw-rw-
2019-12-07 10:09
DiagPackage.dll
77
KB
-rw-rw-rw-
2019-12-07 10:09
RC_DataStore.ps1
1.01
KB
-rw-rw-rw-
2019-12-07 10:09
RC_DateTime.ps1
5
KB
-rw-rw-rw-
2019-12-07 10:09
RC_Pendingrestart.ps1
960
B
-rw-rw-rw-
2019-12-07 10:09
RC_Pendingupdates.ps1
1010
B
-rw-rw-rw-
2019-12-07 10:09
RC_WaaSMedic.ps1
1.16
KB
-rw-rw-rw-
2019-12-07 10:09
RC_appdata.ps1
739
B
-rw-rw-rw-
2019-12-07 10:09
RS_AppData.ps1
577
B
-rw-rw-rw-
2019-12-07 10:09
RS_DataStore.ps1
5.29
KB
-rw-rw-rw-
2019-12-07 10:09
RS_DateTime.ps1
2.09
KB
-rw-rw-rw-
2019-12-07 10:09
RS_GENWUError.ps1
4.2
KB
-rw-rw-rw-
2019-12-07 10:09
RS_Pendingrestart.ps1
227
B
-rw-rw-rw-
2019-12-07 10:09
RS_Pendingupdates.ps1
1.16
KB
-rw-rw-rw-
2019-12-07 10:09
RS_WaaSMedic.ps1
854
B
-rw-rw-rw-
2019-12-07 10:09
TS_Main.ps1
3.54
KB
-rw-rw-rw-
2019-12-07 10:09
VF_DataStore.ps1
1.08
KB
-rw-rw-rw-
2019-12-07 10:09
VF_GenWUError.ps1
1.15
KB
-rw-rw-rw-
2019-12-07 10:09
VF_Pendingupdates.ps1
645
B
-rw-rw-rw-
2019-12-07 10:09
cl_Service.ps1
4.31
KB
-rw-rw-rw-
2019-12-07 10:09
cl_windowsupdate.ps1
13.53
KB
-rw-rw-rw-
2019-12-07 10:09
cl_windowsversion.ps1
6.94
KB
-rw-rw-rw-
2019-12-07 10:09
rc_genwuerror.ps1
2.77
KB
-rw-rw-rw-
2019-12-07 10:09
Save
Rename
# Copyright © 2017, Microsoft Corporation. All rights reserved. # ============================================================= # Initialize # ============================================================= param($oldTimestamp) Import-LocalizedData -BindingVariable RS_DataSore_LocalizedStrings -FileName CL_LocalizationData $wuLogSourceFile = 'WUDiagTempFolder\DataStoreCollectedFiles' New-Item -Path $wuLogSourceFile -ItemType directory -ErrorAction SilentlyContinue $wuLogDestnFile = 'WUDiagTempFolder\DataStoreAndWULogFiles.zip' $wuReport = 'WUDiagTempFolder\outputreport.txt' # ============================================================ # Load Utilities # ============================================================ . .\CL_SetupEnv.ps1 . .\CL_Service.ps1 . .\CL_Utility.ps1 # ============================================================ # Functions # ============================================================ function DeleteBakFolder() { $bak = "softwaredistribution.bak" if(test-path (join-path $env:windir "$bak")){ del (join-path $env:windir "$bak*") -force -Recurse } } function AddEDBBacK() { sleep 2 $BakPath = join-path $env:windir "\$global:SDFbak\DataStore\DataStore.edb" $SDFPath = join-path "$env:windir" "SoftwareDistribution\DataStore" if(!(test-path $BakPath)) { return } $timeout = [Timespan]"0:0:15" $start = Get-Date do{ if(Test-path $SDFPath) { Test-ServiceState wuauserv "stopped" Copy-Item $BakPath $SDFPath -force break; } sleep 1 }while (((Get-Date) - $start) -le $timeout) if(!(Test-path $SDFPath)) { Test-ServiceState wuauserv "stopped" $d = new-item $SDFPath -type directory -force Copy-Item $BakPath $SDFPath -force } } function Renamesoftwaredistribution() { [int]$i=1 trap [Exception] { [string]$str=$Error[0] $str | convertto-xml | Update-DiagReport -Id "RS_DataStore" -Name "Error$i" -Verbosity informational #$str+$i Continue } [int]$j=1 $folder = join-path "$env:systemroot" "softwaredistribution" $bak = "softwaredistribution.bak" if(!(test-path (join-path $env:systemroot "$bak"))){ }else{ while((test-path (join-path $env:systemroot ("$bak"+$j)))) { $j=$j+1 #$j } $bak += $j } $global:SDFbak = $bak ren $folder $bak -Force -ErrorAction Stop SetDiagProgress "id_name_rc_datastoreprogress" return $true } #Collect and copy files to zip folder Function Backup-EDBFile() { SetDiagProgress "ID_CollectFileProgressActivity" $datastorefile = "$env:Windir\softwaredistribution\datastore\datastore.edb" $dismlog = "$env:windir\logs\DISM\dism.log" Copy-Item $datastorefile $wuLogSourceFile -Recurse -Force -ErrorAction SilentlyContinue Copy-Item $dismlog $wuLogSourceFile -Recurse -Force -ErrorAction SilentlyContinue if((Check-WindowsVersion) -eq 61) { Create-ZipFromDirectory -Source $wuLogSourceFile -ZipFileName $wuLogDestnFile -Force $size = Get-SizeFormat(dir $wuLogDestnFile | Select-Object -ExpandProperty Length) Update-DiagReport -File $wuLogDestnFile -Id "RS_DataStore" ` -Name ([System.IO.Path]::GetFileName($wuLogDestnFile)) ` -Description $size ` -Verbosity Informational } else { Arm-Zip ($wuLogSourceFile) ($wuLogDestnFile) Remove-Item -Path $wuLogSourceFile -Recurse -Force -ErrorAction SilentlyContinue $size = Get-SizeFormat(dir $wuLogDestnFile | Select-Object -ExpandProperty Length) Update-DiagReport -Id "RS_DataStore" -File $wuLogDestnFile -Name "DataStoreAndWULogFiles.zip" -Description ($size) -Verbosity Informational } } # ============================================================ # Main # ============================================================ try { if((Check-WindowsVersion) -eq 61) { $logsFolderName = "DataStoreAndWULogFiles" $ResultRootDirectory = $env:TEMP $wuLogDestnFile = "DataStoreAndWULogFiles.zip" $wuLogSourceFile = [System.IO.Path]::Combine($ResultRootDirectory, $logsFolderName) New-Item -ItemType Directory -Path $wuLogSourceFile -Force | Out-Null } #Stop wuauserv service Test-ServiceState wuauserv "stopped" #Stop dosvc service which is present only in Windows 10 if((Check-WindowsVersion) -ge 100) { Test-ServiceState dosvc "stopped" } #Taking backup of EDB file after a second timespan Sleep 1 Backup-EDBFile Renamesoftwaredistribution #Delete the registry entries $regKey = "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\DeliveryOptimization\Jobs" If(Test-Path -Path $regKey) { Remove-Item -Path $regKey -Recurse -Force } # Adding EDB File Back AddEDBBack DeleteBakFolder &{ Fix-ServiceWithDebugFile "wuauserv" ($wuReport) "RS_DataStore : " } trap [Exception]{ [string]$errorString = GetDiagString "ID_Error_MSG_Service" $errorString.Replace("%ServiceName%","wuauserv") | ConvertTo-Xml | Update-Diagreport -Id "RS_DataStore" -Name "$errorString" -Verbosity informational } #Start wuauserv service Test-ServiceState wuauserv "Running" #Start dosvc service which is present only in Windows 10 if((Check-WindowsVersion) -ge 100) { Test-ServiceState dosvc "Running" } $true > $verifierLogFileName } catch { $false > $verifierLogFileName }