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 /
Printer /
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_Utility.ps1
28.88
KB
-rw-rw-rw-
2019-12-07 10:09
DiagPackage.diagpkg
25.57
KB
-rw-rw-rw-
2019-12-07 10:09
DiagPackage.dll
63
KB
-rw-rw-rw-
2019-12-07 10:09
MF_PrinterDiagnostic.ps1
4.41
KB
-rw-rw-rw-
2019-12-07 10:09
RS_CancelAllJobs.ps1
607
B
-rw-rw-rw-
2019-12-07 10:09
RS_DeletePrintJobs.ps1
4.06
KB
-rw-rw-rw-
2019-12-07 10:09
RS_NoPrinterInstalled.ps1
1
KB
-rw-rw-rw-
2019-12-07 10:09
RS_PrinterDriver.ps1
555
B
-rw-rw-rw-
2019-12-07 10:09
RS_PrinterTurnedOff.ps1
377
B
-rw-rw-rw-
2019-12-07 10:09
RS_ProcessPrinterjobs.ps1
1.24
KB
-rw-rw-rw-
2019-12-07 10:09
RS_RestartSpoolerService.ps1
663
B
-rw-rw-rw-
2019-12-07 10:09
RS_SetSpoolerStartMode.ps1
709
B
-rw-rw-rw-
2019-12-07 10:09
RS_SpoolerCrashing.ps1
1.96
KB
-rw-rw-rw-
2019-12-07 10:09
RS_StartSpoolerService.ps1
1.55
KB
-rw-rw-rw-
2019-12-07 10:09
RS_WrongDefaultPrinter.ps1
1.37
KB
-rw-rw-rw-
2019-12-07 10:09
TS_CannotConnect.ps1
4.11
KB
-rw-rw-rw-
2019-12-07 10:09
TS_DefaultPrinter.ps1
1.42
KB
-rw-rw-rw-
2019-12-07 10:09
TS_NoPrinterInstalled.ps1
1.07
KB
-rw-rw-rw-
2019-12-07 10:09
TS_OutOfPaper.ps1
663
B
-rw-rw-rw-
2019-12-07 10:09
TS_OutOfToner.ps1
757
B
-rw-rw-rw-
2019-12-07 10:09
TS_PaperJam.ps1
654
B
-rw-rw-rw-
2019-12-07 10:09
TS_PrintJobsStuck.ps1
2.04
KB
-rw-rw-rw-
2019-12-07 10:09
TS_PrinterDriver.ps1
746
B
-rw-rw-rw-
2019-12-07 10:09
TS_PrinterDriverError.ps1
1.03
KB
-rw-rw-rw-
2019-12-07 10:09
TS_PrinterTurnedOff.ps1
760
B
-rw-rw-rw-
2019-12-07 10:09
TS_SetSpoolerMode.ps1
974
B
-rw-rw-rw-
2019-12-07 10:09
TS_SpoolerCrashing.ps1
1.36
KB
-rw-rw-rw-
2019-12-07 10:09
TS_SpoolerService.ps1
640
B
-rw-rw-rw-
2019-12-07 10:09
UpdatePrinterDriver.dll
10.5
KB
-rw-rw-rw-
2019-12-07 10:09
VF_PrinterTurnedOff.ps1
1.28
KB
-rw-rw-rw-
2019-12-07 10:09
Save
Rename
# Copyright � 2008, Microsoft Corporation. All rights reserved. PARAM($printerName) # # check the default printer's connection # Import-LocalizedData -BindingVariable localizationString -FileName CL_LocalizationData . .\CL_Utility.ps1 Write-DiagProgress -activity $localizationString.progress_ts_cannotConnect function PingServerName([string]$serverName) { if([string]::IsNullorEmpty($ServerName)) { return $false } else { $pingSender = New-Object System.Net.NetworkInformation.Ping try { $reply = $pingSender.Send($ServerName.SubString($ServerName.IndexOf('\')+2)) } catch { return $false } if($reply.Status -eq [System.Net.NetworkInformation.IPStatus]::Success) { return $true } else { return $false } } } $printerSelected = GetPrinterFromPrinterName $printerName if($printerSelected.NetWork) { if(-not (PingServerName $printerSelected.ServerName)) { Update-DiagRootCause -id "RC_CannotConnect" -instanceId "SMB" -Detected $true -parameter @{ "PRINTERTYPE" = "SMB";"SMBSHARE" = $printerSelected.ServerName; "TCP_PRINTERADDRESS" = ""; "PRINTERNAME" = $printerName } } else { Update-DiagRootCause -id "RC_CannotConnect" -instanceId "SMB" -Detected $false -parameter @{ "PRINTERTYPE" = "SMB";"SMBSHARE" = $printerSelected.ServerName; "TCP_PRINTERADDRESS" = ""; "PRINTERNAME" = $printerName } } } else { # # Get printer port information # $ports = Get-WmiObject Win32_TCPIPPrinterPort $connectPort = $null foreach($port in $ports) { if($printerSelected.PortName -eq $port.Name) { $connectPort = $port } } if($connectPort -ne $null) { # # Check the printer port connection using TcpClient # $tcpClient = New-Object System.Net.Sockets.TcpClient try { # # Some ports perhaps cause the exception of the function. We need not catch it out of program. # try { $tcpClient.Connect($connectPort.HostAddress, $connectPort.PortNumber) } catch { WriteFileExceptionReport "TS_CannotConnect" "$_" } $hostAddress = $connectPort.HostAddress $portNumber = $connectPort.PortNumber if(-not $tcpClient.Connected) { Update-DiagRootCause -id "RC_CannotConnect" -instanceId "TCP" -Detected $true -parameter @{ "PRINTERTYPE" = "Winsock";"SMBSHARE" = ""; "TCP_PRINTERADDRESS" = "${hostAddress}:$portNumber"; "PRINTERNAME" = $printerName } } else { Update-DiagRootCause -id "RC_CannotConnect" -instanceId "TCP" -Detected $false -parameter @{ "PRINTERTYPE" = "Winsock";"SMBSHARE" = ""; "TCP_PRINTERADDRESS" = "${hostAddress}:$portNumber"; "PRINTERNAME" = $printerName } } } finally { $tcpClient.Close() } $connectPort | select-object -Property @{Name=$localizationString.printerPort_portName; Expression={$_.Name}}, @{Name=$localizationString.printerPort_portNumber; Expression={$_.portNumber}} | convertto-xml | Update-DiagReport -id PrinterPort -name $localizationString.printerPort_name -verbosity Informational -rid "RC_CannotConnect" -instanceId �TCP� } elseif(-not [string]::IsNullorEmpty($printerSelected.ServerName)) { if(-not (PingServerName $printerSelected.ServerName)) { Update-DiagRootCause -id "RC_CannotConnect" -instanceId "SMB" -Detected $true -parameter @{ "PRINTERTYPE" = "SMB";"SMBSHARE" = $printerSelected.ServerName; "TCP_PRINTERADDRESS" = ""; "PRINTERNAME" = $printerName } } else { Update-DiagRootCause -id "RC_CannotConnect" -instanceId "SMB" -Detected $false -parameter @{ "PRINTERTYPE" = "SMB";"SMBSHARE" = $printerSelected.ServerName; "TCP_PRINTERADDRESS" = ""; "PRINTERNAME" = $printerName } } } }