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. # =============================================================================== # Load Utilities # ============================================================================== . .\CL_Utility.ps1 #*================================================================================ # Functions # Test-ServiceState # Test-ServiceStateChange # WaitFor-ServiceStatus # Set-ServiceRunning # Fix-ServiceWithDebugFile # SideBySide #*================================================================================ #Test-ServiceState #*================================================================================ function Test-ServiceState { param($srvcName = $(throw "need name of service"), $state = $("Need state Running or Stopped")) $svc = Get-Service $srvcName if($svc.status -eq $state) { Write-Debug "no change needed" } if($svc.status -ne $state) { switch($state) { "Running" {Start-Service $srvcName; if((Test-ServiceStateChange -test $svc -goal 'Running' -til 9)) { return $true} } "Stopped" {Stop-Service -Force $srvcName -ErrorAction SilentlyContinue; if((Test-ServiceStateChange -test $svc -goal 'Stopped' -til 9)) { return $true} } default {Get-Service $srvcName; return $false } } } } #*================================================================================ #SvcStateChange #*================================================================================ Function Test-ServiceStateChange { param($test, $goal, $til) $atEnd = $false $range = 1..$til while(-not ($test.status -eq $goal) -and (-not $atEnd)) { $range | foreach-object { sleep ($_ * 1.1); $test.refresh() if($test.status -eq $goal) {continue} } $atEnd = $true } if($test.status -eq $goal) { return $true } else { return $false } } #*================================================================================ #WaitFor-ServiceStatus #*================================================================================ function WaitFor-ServiceStatus([string]$serviceName=$(throw "No service name is specified"),$serviceStatus=$(throw "No service status is specified")) { $Service = Get-Service | Where-Object {$_.Name -eq $ServiceName} if($Service -ne $null) { [TimeSpan]$timeOut = New-Object TimeSpan(0,0,0,10,0) $Service.WaitForStatus($serviceStatus, $timeOut) } } #*================================================================================ #Set-ServiceRunning #*================================================================================ function Set-ServiceRunning() { Param($svc,[switch]$nostop,$scriptname) sc.exe sdset $svc "D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)" sc.exe config $svc start= auto if(!$nostop) { &{ Test-ServiceState $svc "Stopped" } trap [Exception]{ [string]$str = ($RS_DataSore_LocalizedStrings.ID_ERROR_MSG_SERVICE).replace("%ServiceName%",$svc) $str | ConvertTo-Xml | Update-Diagreport -Id $scriptname -Name "$str" -Verbosity informational } } &{ Fix-Service $svc } trap [Exception]{ [string]$str = ($RS_DataSore_LocalizedStrings.ID_ERROR_MSG_SERVICE).replace("%ServiceName%",$svc) $str | ConvertTo-Xml | Update-Diagreport -Id $scriptname -Name "$str" -Verbosity informational } } #*================================================================================ #Fix-ServiceWithDebugFile #*================================================================================ function Fix-ServiceWithDebugFile($ServiceName,$debugFile,$message) { trap [Exception] { [string]$strerror = ("$message"+($_.Exception.Message)) $strerror >> $debugFile continue; } $Service = Get-Service | Where-Object {$_.Name -eq $ServiceName} if ($Service -ne $null) { Set-Service -Name $ServiceName -StartupType Automatic Start-Service $ServiceName WaitFor-ServiceStatus $ServiceName 'Running' ("$message : $ServiceName "+( (get-service $servicename).status ) ) >> $debugFile } else { [string]$DebugString = 'Fix-Service Warning: Service ' + $ServiceName + ' not found.' $DebugString >> $debugFile } }