├── PDQ Inventory Collections
├── README.md
├── Reboot Required.xml
├── Reboot Timeline.xml
├── Servers.xml
└── Workstations.xml
├── PDQ Inventory Tools
├── PDQ_InventoryTools.xml
├── PDQ_InventoryTools_V2.xml
├── README.md
├── Tools
│ ├── Ajout Groupe AD
│ │ ├── Ajout_Groupe_AD.xml
│ │ └── README.md
│ ├── Autorisation Accès Bureau Public
│ │ ├── Autorisation_Accès_Bureau_Public.xml
│ │ └── README.md
│ ├── Changement Description AD
│ │ ├── Changement_Description_AD.xml
│ │ └── README.md
│ ├── Check & Active Points de Restauration
│ │ ├── Check_&_Active_Points_de_Restauration.xml
│ │ └── README.md
│ ├── Check Taille du Profil Utilisateur
│ │ ├── Check_Taille_du_Profil_Utilisateur.xml
│ │ └── README.md
│ ├── Check_if_Missing_Drivers
│ │ ├── Check if Missing Drivers.xml
│ │ └── README.md
│ ├── DameWare_RC_Auto
│ │ ├── DameWare RC Auto.xml
│ │ └── README.md
│ ├── Get AD User Groupes
│ │ ├── Get_AD_User_Groupes.xml
│ │ └── README.md
│ ├── Get AD User's Infos
│ │ ├── Get_AD_User's_Infos.xml
│ │ └── README.md
│ ├── Get Local Printers
│ │ ├── Get_LocaPrinters.xml
│ │ └── README.md
│ ├── Get Mapped Printers
│ │ ├── Get_Mapped_Printers.xml
│ │ └── README.md
│ ├── Ouvrir Itinerant Profile
│ │ ├── Ouvrir Itinerant Profile.xml
│ │ └── README.md
│ ├── Ouvrir_C$
│ │ ├── Ouvrir C$.xml
│ │ └── README.md
│ ├── README.md
│ ├── Résolution Full HD 19201080
│ │ ├── README.md
│ │ └── Résolution _Full_HD_1920_1080.xml
│ ├── TCPI_IP Optimisation
│ │ ├── README.md
│ │ └── TCPI_IP_Optimisation.xml
│ └── TightVNC_Auto
│ │ ├── README.md
│ │ └── TightVNC Auto.xml
├── Tools1.png
├── Tools1_V2.png
├── Tools2.png
└── Tools2_V2.png
├── PDQInventory
└── Hardware
│ ├── Admin Local Désactivé.xml
│ ├── Appareils mobiles connectés.xml
│ ├── Cartes graphiques Nvidia.xml
│ ├── Comptes Invité Actif.xml
│ ├── Faille Intel SA-00086.xml
│ ├── Imprimantes USB.xml
│ ├── Imprimantes locales.xml
│ ├── Lecteurs de DVD_CD-ROM USB.xml
│ ├── Lecteurs de cartes à puce.xml
│ ├── LocalPrinters.png
│ ├── NVidia.png
│ ├── Pare-feu Non Disabled.xml
│ ├── Poste Fixes en Wi-Fi.xml
│ ├── Profilelist.bak.xml
│ ├── README.md
│ ├── Serial to USB.xml
│ ├── USBPrinters.png
│ └── Vitesses LAN.xml
├── README.md
├── Reports
├── Application_Comparison_with_Version.xml
├── AppsNewToEnvironment.xml
├── CurrentUserIsLocalAdmin.xml
├── GroupedDisplays-Fancy.xml
├── ListDuplicateApplications.xml
├── ProfileList.bak.xml
├── README.md
├── Report_MonitorsCount.xml
├── Toutes_les_Applications.xml
└── Uninstalls Commands.xml
├── Scripts
├── Autoadminlogon
│ ├── AutoAdminLogon Activation.xml
│ ├── AutoAdminLogon Désactivation.xml
│ ├── AutoAdminLogon_Disable.png
│ ├── AutoAdminLogon_Enable.png
│ ├── README.md
│ ├── disable.cmd
│ └── enable.cmd
├── Autologon
│ ├── Autologon Set.xml
│ ├── Autologon.cmd
│ ├── Autologon_example.png
│ └── README.md
├── BackupUsersProfiles
│ ├── Backup Profils Utilisateurs Locaux.xml
│ ├── BackupUsersProfiles.ps1
│ └── README.md
├── ChangeResolution
│ ├── Change1440_900.ps1
│ ├── Change1600_900.ps1
│ ├── Change1920_1080.ps1
│ ├── README.md
│ ├── Resolution 19_ 1440_900.xml
│ ├── Resolution 24_ 1600_900.xml
│ ├── Resolution Full HD 1920_1080.xml
│ └── Resolution.png
├── CheckADUser
│ ├── Check User Profile Size - LOGGED ON USER.xml
│ ├── CheckUserProfileSize.ps1
│ └── README.md
├── CheckAntivirus
│ ├── Check Anti-Virus.xml
│ ├── SecuritySoftView.cfg
│ ├── SecuritySoftView.chm
│ ├── SecuritySoftView.exe
│ └── SecuritySoftView_readme.txt
├── CheckBSOD
│ ├── BlueScreenView.cfg
│ ├── BlueScreenView.chm
│ ├── BlueScreenView.exe
│ ├── Check BSOD.xml
│ ├── bluescreenview-x64.zip
│ └── readme.txt
├── CheckBatteryInfo
│ ├── BatteryInfoView.cfg
│ ├── BatteryInfoView.chm
│ ├── BatteryInfoView.exe
│ ├── Check Battery Infos.xml
│ ├── batteryinfoview.zip
│ └── readme.txt
├── CheckBookmarks
│ ├── Check Favoris Navigateurs.xml
│ ├── faview.cfg
│ ├── faview.chm
│ ├── faview.exe
│ ├── faview.zip
│ └── readme.txt
├── CheckBrowserAddons
│ ├── BrowserAddonsView.cfg
│ ├── BrowserAddonsView.chm
│ ├── BrowserAddonsView.exe
│ ├── BrowserAddonsView_readme.txt
│ └── Check Browser Addons.xml
├── CheckDiskSpace
│ ├── Check Disque Espace.xml
│ └── CheckDiskSpace.ps1
├── CheckDiskUsage
│ ├── Check Disque Usage.xml
│ ├── DiskUsage.ps1
│ └── README.md
├── CheckDrivesLetters
│ ├── Check Drives Letters.xml
│ ├── DriveLetterView.cfg
│ ├── DriveLetterView.chm
│ ├── DriveLetterView.exe
│ └── DriveLetterView_readme.txt
├── CheckIncomingCon
│ ├── Check Incoming Connections.xml
│ ├── NetworkOpenedFiles.cfg
│ ├── NetworkOpenedFiles.chm
│ ├── NetworkOpenedFiles.exe
│ └── readme.txt
├── CheckLastActivity
│ ├── Check Last Activity.xml
│ ├── LastActivityView.cfg
│ ├── LastActivityView.chm
│ ├── LastActivityView.exe
│ ├── lastactivityview.zip
│ └── readme.txt
├── CheckLocalAdmins
│ ├── Check Local Admins (Moins Rapide).xml
│ ├── Check Local Admins (Rapide).xml
│ ├── CheckLocalAdmins.ps1
│ └── CheckLocalAdmins2.ps1
├── CheckLogonHistory
│ ├── Check Logon Logoff History.xml
│ └── GetLogonLogoff.ps1
├── CheckMappedDrives
│ ├── Check Mapped Drives (PowerShell).xml
│ └── MappedDrives.ps1
├── CheckMonitorEDID
│ ├── Check Monitors.xml
│ ├── MonitorInfoView.cfg
│ ├── MonitorInfoView.chm
│ ├── MonitorInfoView.exe
│ └── MonitorInfoView_readme.txt
├── CheckNetworkPrinters
│ ├── Check Printers (Batch).xml
│ └── Printers.bat
├── CheckOpenedWindows
│ ├── Check Opened Windows.xml
│ ├── GUIPropView.cfg
│ ├── GUIPropView.chm
│ ├── GUIPropView.exe
│ └── GUIPropView_readme.txt
├── CheckProcessorUsage
│ ├── Check Processeur Usage.xml
│ └── ProcessorUsage.ps1
├── CheckReliability
│ ├── Check Reliability AppError.xml
│ ├── Check Reliability AppHang.xml
│ ├── Check Reliability EventLog.xml
│ ├── Check Reliability MSI Installer.xml
│ ├── Check Reliability UserPnP.xml
│ ├── Check Reliability WindowsUpdates.xml
│ ├── Reliability_AppError.ps1
│ ├── Reliability_AppHang.ps1
│ ├── Reliability_EventLog.ps1
│ ├── Reliability_MsiInstaller.ps1
│ ├── Reliability_UserPnp.ps1
│ └── Reliability_WindowsUpdate.ps1
├── CheckShortcuts
│ ├── Check Raccourcis Bureau.xml
│ ├── readme.txt
│ ├── shman.cfg
│ ├── shman.chm
│ └── shman.exe
├── CheckSound
│ ├── Check Volume Son.xml
│ ├── README.md
│ ├── Set Volume Hauts-parleurs 75%.xml
│ ├── Set Volume Microphone 35%.xml
│ ├── SoundCheck_Set.png
│ ├── SoundVolumeView.cfg
│ ├── SoundVolumeView.chm
│ ├── SoundVolumeView.exe
│ ├── readme.txt
│ ├── soundvolumeview-x64.zip
│ └── soundvolumeview.zip
├── CheckStartup
│ ├── Check What's in Startup.xml
│ ├── WhatInStartup.cfg
│ ├── WhatInStartup.chm
│ ├── WhatInStartup.exe
│ ├── readme.txt
│ ├── whatinstartup-x64.zip
│ └── whatinstartup.zip
├── CheckUSBDevices
│ ├── Check USB Devices.xml
│ ├── USBDeview.cfg
│ ├── USBDeview.chm
│ ├── USBDeview.exe
│ ├── readme.txt
│ ├── usbdeview-x64.zip
│ └── usbdeview.zip
├── CheckUpTimes
│ ├── Check Turned On Times.xml
│ ├── TurnedOnTimesView.cfg
│ ├── TurnedOnTimesView.chm
│ ├── TurnedOnTimesView.exe
│ ├── readme.txt
│ └── turnedontimesview.zip
├── CheckVNCPassword
│ ├── BasicProg.cfg
│ ├── Check VNC Password.xml
│ ├── VNCPassView.chm
│ ├── VNCPassView.exe
│ ├── readme.txt
│ └── vncpassview.zip
├── CheckWebcamImage
│ ├── Check Webcam Image.xml
│ ├── WebCamImageSave.cfg
│ ├── WebCamImageSave.chm
│ ├── WebCamImageSave.exe
│ └── WebCamImageSave_readme.txt
├── CheckWifiHistory
│ ├── Check Wi-fi History.xml
│ ├── WifiHistoryView.cfg
│ ├── WifiHistoryView.chm
│ ├── WifiHistoryView.exe
│ └── WifiHistoryView_readme.txt
├── CheckWifiNetview
│ ├── Check Wi-Fi Réseaux Dispo.xml
│ ├── WirelessNetView.cfg
│ ├── WirelessNetView.chm
│ ├── WirelessNetView.exe
│ └── WirelessNetView_readme.txt
├── CheckWifiStatus
│ ├── Check Wi-Fi Status.xml
│ ├── WirelessConnectionInfo.cfg
│ ├── WirelessConnectionInfo.chm
│ ├── WirelessConnectionInfo.exe
│ └── WirelessConnectionInfo_readme.txt
├── CheckWirelessPassword
│ ├── Check Wi-Fi Password.xml
│ ├── WirelessKeyView.cfg
│ ├── WirelessKeyView.chm
│ ├── WirelessKeyView.exe
│ ├── readme.txt
│ ├── wirelesskeyview-x64.zip
│ └── wirelesskeyview.zip
├── CheckandActiveRestorePoint
│ ├── Check & Active Points de Restaurations.xml
│ └── CheckandActiveRestorePoints.ps1
├── Clean
│ ├── Clean Profils Dossiers.xml
│ ├── Clean.png
│ ├── DelProf2.exe
│ ├── README.md
│ └── cleanupprofiles.vbs
├── CleanSpooler
│ ├── Clean Spooler.xml
│ ├── CleanSpooler.png
│ ├── CleanSpooler.ps1
│ └── README.md
├── Cleanbk
│ ├── Clean Profils Registre.xml
│ ├── Cleanbk.png
│ ├── README.md
│ ├── ScriptClearBak.vbs
│ └── ScriptClearBak_Log.txt
├── DisableWin10Upgrade
│ ├── Disable OS Upgrade Win10.xml
│ └── DisableOSUpgrade.ps1
├── Drivers
│ ├── Add Printer Drivers.xml
│ ├── Check Drivers Problems.xml
│ └── README.md
├── EnableNetworkAwake
│ ├── Activation Carte LAN Veille (Dell + M700).xml
│ ├── README.md
│ └── W7-EnableNetworkAwake.cmd
├── Firefox
│ ├── Clean Registre Firefox.xml
│ └── Clean_Firefox.exe
├── Firewall
│ ├── Disableservice+firewall.ps1
│ ├── Enableservice+firewall.ps1
│ ├── Firewall TurnOFF.xml
│ └── Firewall TurnON.xml
├── KillNotResponding
│ ├── Activation Kill Process figés.xml
│ ├── Add_Kill_Not_Responding_Tasks.reg
│ ├── Disable.cmd
│ ├── Désactivation Kill Process figés.xml
│ ├── Enable.cmd
│ └── Remove_Kill_Not_Responding_Tasks.reg
├── LocalAdmin
│ ├── ChangeLocalAdminPW.ps1
│ ├── Changer Password Administrateur Local.xml
│ ├── CreateLocalAdmin_AddtoAdmins.ps1
│ ├── Créer un Utilisateur Local Administrateur.xml
│ ├── LireMe.txt
│ └── ModifPassword.ps1
├── LogOffCurrentUser
│ ├── LogOff Curent User.xml
│ └── LogOff.vbs
├── NetworkRemap
│ ├── Remap Drives.xml
│ └── RemapDrives.cmd
├── OpenCMDHere
│ ├── Remove Open CMD as Admin.xml
│ ├── Remove Open CMD local.xml
│ ├── Remove_CMDAsAdmin.cmd
│ ├── Remove_CMDAsAdmin.reg
│ ├── Remove_CMDLocal.cmd
│ ├── Remove_CMDLocal.reg
│ ├── Win10
│ │ ├── Add_CMDAsAdmin_win10.cmd
│ │ ├── Add_CMDAsAdmin_win10.reg
│ │ ├── Add_CMDLocal_win10.cmd
│ │ ├── Add_CMDLocal_win10.reg
│ │ ├── Open CMD as Admin Win10.xml
│ │ └── Open CMD local Win10.xml
│ └── Win7
│ │ ├── Add_CMDAsAdmin_win7.reg
│ │ ├── Add_CMDAsAdmin_win7.reg.cmd
│ │ ├── Add_CMDLocal_win7.reg
│ │ ├── Add_CMDLocal_win7.reg.cmd
│ │ ├── Open CMD as Admin Win7.xml
│ │ └── Open CMD local Win7.xml
├── PowershellOptimizeStartup
│ ├── PSOptiStartup.ps1
│ └── Powershell Optimisation Startup.xml
├── PowershellUnrestricted
│ ├── Execution_Unrestricted.Cmd
│ └── Powershell Set-ExecutionPolicy Unrestricted.xml
├── README.md
├── ResetSpooler
│ ├── Reset_Spooler.ps1
│ └── Spooler Reset.xml
├── SpeedTest
│ ├── Check Network Speed Test (Powershell).xml
│ └── Test-NetworkSpeed.ps1
├── StartupRepair
│ ├── Désactivation StartUpRepair.xml
│ ├── README.md
│ └── StartupRepair.cmd
├── TrustedSites
│ ├── AddingTrustedSites.ps1
│ ├── Ajout Trusted Sites.xml
│ └── README.md
├── Win10Decrapifier
│ ├── Win10 Decrapifier 1709-.xml
│ ├── Win10 Decrapifier 1803+.xml
│ ├── Win10Decrapifier_1709.ps1
│ └── Win10Decrapifier_1803_1809.ps1
├── WindowsActivation
│ ├── Activate_Win_KMS.bat
│ └── Activation KMS Windows.xml
├── cleanup_orphaned_printers
│ ├── Clean Orphaned Printers.xml
│ ├── Cleanup_Orphaned_Printers.vbs
│ └── Cleanup_Orphaned_Printers_execute.bat
├── empty_all_recycle_bins
│ ├── Clean Corbeilles.xml
│ └── empty_all_recycle_bins.bat
├── enable_remote_desktop
│ ├── Enable RDP.bat
│ └── Enable Remote Desktop.xml
├── tempfilecleanup
│ ├── Clean Temp File.xml
│ └── TempFileCleanup.bat
├── usb_device_cleanup
│ ├── Clean USB Device.xml
│ ├── DriveCleanup x64.exe
│ ├── DriveCleanup x86.exe
│ └── USBDriveCleanup.bat
└── zCheck_Path.png
└── Uninstalls
├── README.md
├── remove_adobe_flash_player
├── Flash.png
├── README.md
├── Remove Adobe Flash Player (all versions).xml
├── adobe_flash_player_nuker.bat
└── uninstall_flash_player.exe
├── remove_java_runtime
├── Java.png
├── README.md
├── Remove Java Runtime (all versions).xml
└── java_runtime_nuker.bat
└── remove_vnc_servers
├── README.md
├── Remove VNC Servers (TightVNC, UltraVNC, RealVNC).xml
├── VNC.png
└── remove_all_vnc_servers.bat
/PDQ Inventory Collections/README.md:
--------------------------------------------------------------------------------
1 | Here is the Collections Section.
2 |
3 |
4 | Most of the time, this concerns dedicated applications, settings, files/directories,
5 | or requires the Enterprise version to manipulate...Hard to share this.
6 |
--------------------------------------------------------------------------------
/PDQ Inventory Tools/README.md:
--------------------------------------------------------------------------------
1 | Here is the Tools Section. One of the most interesting part.
2 | ````
3 | I need to explain some Tools like 'Change AD Description' (Computer's Description),
4 | or 'Allow Public Desktop's access' (Here, users can't touch desktop items so I allow
5 | them manually), or 'Kill not responding' (Process not responding, a right-click on
6 | Desktop only) [...] I'll write everything here with code, but it's a big part ahah (12/07/2019).
7 | ````
8 | ````
9 | You just need to import this .xml file into the PDQ Inventory console to access this list of tools.
10 | You need to adapt/translate some parts.
11 | When imported in PDQ, you can modify and test each Tool in shell mode (Powershell or CMD).
12 | You choose to capture output or not, leave shell open or not.
13 | ````
14 |
15 | It should look like this, for PDQ_InventoryTools_V2.xml (From PDQ Inventory v19.0.40) :
16 |
17 | 
18 |
19 | 
20 |
21 |
22 |
23 |
24 |
25 | It should look like this, for PDQ_InventoryTools.xml :
26 |
27 | 
28 |
29 | 
30 |
31 |
--------------------------------------------------------------------------------
/PDQ Inventory Tools/Tools/Ajout Groupe AD/Ajout_Groupe_AD.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | DoNotScan
6 |
7 |
8 | 00:03:00
9 |
10 | Local
11 | #===================
12 | #Script pour ajouter un poste à un groupe AD
13 | #===================
14 |
15 |
16 | #On cherche les groupes AD et on affiche un menu de sélection:
17 | $Groupes = Get-ADGroup -Filter "name -like 'G_ordinateurs*'"
18 | $Menu = @{}
19 | for ($Valeur=1;$Valeur -le $Groupes.count; $Valeur++)
20 | {Write-Host "$Valeur= $($Groupes[$Valeur-1].name)"
21 | $Menu.Add($Valeur,($Groupes[$Valeur-1].name))}
22 | [int]$Choix = Read-Host 'Choisir le Groupe AD: '
23 |
24 | #On enregistre la sélection du menu
25 | $Selection = $Menu.Item($Choix)
26 |
27 | #On recré les Distinguished Names:
28 | #Identity:
29 | $ADUserInfo = Get-ADComputer "$(Computer:TARGET)" -Properties *
30 | $DistingName = $ADUserInfo.DistinguishedName
31 | $Identity = $DistingName
32 | #MemberOf:
33 | $GroupName = 'G_ordinateurs*'
34 | $DistingName2 = $ADGroupInfo.DistinguishedName
35 | #2nd menu pour correspondance DistinguishedName avec Name du menu d'avant:
36 | $Menu2 = @{}
37 | $ADGroupInfo = Get-ADGroup -Filter "name -like 'G_ordinateurs*'"
38 | for ($Valeur2=1;$Valeur2 -le $ADGroupInfo.count; $Valeur2++)
39 | {Write-Host "$Valeur2= $($ADGroupInfo[$Valeur2-1].distinguishedname)"
40 | $Menu2.Add($Valeur2,($ADGroupInfo[$Valeur2-1].distinguishedname))}
41 | $Choix2 = $Menu2.Item($Choix)
42 |
43 |
44 | #On ajoute le poste au groupe choisi:
45 | Add-ADPrincipalGroupMembership -Identity:"$Identity" -MemberOf:"$Choix2" -Verbose
46 |
47 | Write-Host ""
48 | Write-Host "Le poste "$(Computer:TARGET)" a ete ajoute au Groupe AD '$Selection', OK!" -ForegroundColor Green
49 | Write-Host ""
50 |
51 | Invoke-Command -ScriptBlock {pdqinventory ScanComputers -Computers "$(Computer:TARGET)" -ScanProfile "AD Infos"}
52 |
53 |
54 |
55 | LeaveShellOpen
56 | PowerShell
57 |
58 | Stock0120
59 |
60 | Ajout Groupe AD
61 | CustomTool
62 |
63 |
--------------------------------------------------------------------------------
/PDQ Inventory Tools/Tools/Ajout Groupe AD/README.md:
--------------------------------------------------------------------------------
1 | ````
2 | Powershell script to find and shows AD Groups, print a Menu with a number for each group,
3 | choose one and then add the selected computer to this AD Group. Way more comfortable than .mcc. Usefull One !
4 | I'm only looking for groups that are called "G_ordinateurs*", you need to adjust this and translate as well.
5 | It looks shitty, but i'm not a Powershell expert at all ahah. It works and there is color, so i'm happy with that.
6 | I don't think i will improve this by myself.
7 | I let you suggest me improvments :)
8 | ````
9 | ````
10 | #===================
11 | #Script pour ajouter un poste à un groupe AD
12 | #===================
13 |
14 |
15 | #On cherche les groupes AD et on affiche un menu de sélection:
16 | $Groupes = Get-ADGroup -Filter "name -like 'G_ordinateurs*'"
17 | $Menu = @{}
18 | for ($Valeur=1;$Valeur -le $Groupes.count; $Valeur++)
19 | {Write-Host "$Valeur= $($Groupes[$Valeur-1].name)"
20 | $Menu.Add($Valeur,($Groupes[$Valeur-1].name))}
21 | [int]$Choix = Read-Host 'Choisir le Groupe AD: '
22 |
23 | #On enregistre la sélection du menu
24 | $Selection = $Menu.Item($Choix)
25 |
26 | #On recré les Distinguished Names:
27 | #Identity:
28 | $ADUserInfo = Get-ADComputer "$(Computer:TARGET)" -Properties *
29 | $DistingName = $ADUserInfo.DistinguishedName
30 | $Identity = $DistingName
31 | #MemberOf:
32 | $GroupName = 'G_ordinateurs*'
33 | $DistingName2 = $ADGroupInfo.DistinguishedName
34 | #2nd menu pour correspondance DistinguishedName avec Name du menu d'avant:
35 | $Menu2 = @{}
36 | $ADGroupInfo = Get-ADGroup -Filter "name -like 'G_ordinateurs*'"
37 | for ($Valeur2=1;$Valeur2 -le $ADGroupInfo.count; $Valeur2++)
38 | {Write-Host "$Valeur2= $($ADGroupInfo[$Valeur2-1].distinguishedname)"
39 | $Menu2.Add($Valeur2,($ADGroupInfo[$Valeur2-1].distinguishedname))}
40 | $Choix2 = $Menu2.Item($Choix)
41 |
42 |
43 | #On ajoute le poste au groupe choisi:
44 | Add-ADPrincipalGroupMembership -Identity:"$Identity" -MemberOf:"$Choix2" -Verbose
45 |
46 | Write-Host ""
47 | Write-Host "Le poste "$(Computer:TARGET)" a ete ajoute au Groupe AD '$Selection', OK!" -ForegroundColor Green
48 | Write-Host ""
49 |
50 | Invoke-Command -ScriptBlock {pdqinventory ScanComputers -Computers "$(Computer:TARGET)" -ScanProfile "AD Infos"}
51 |
52 | ````
53 |
--------------------------------------------------------------------------------
/PDQ Inventory Tools/Tools/Autorisation Accès Bureau Public/Autorisation_Accès_Bureau_Public.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | DoNotScan
6 |
7 |
8 | 00:03:00
9 |
10 | Local
11 | icacls "C:\Users\Public\Desktop" /grant "Tout le Monde":(f) /T
12 |
13 |
14 |
15 | ToolWindowCaptureOutput
16 | Command
17 |
18 | Stock0895
19 |
20 | Autorisation Accès Bureau Public
21 | CustomTool
22 |
23 |
--------------------------------------------------------------------------------
/PDQ Inventory Tools/Tools/Autorisation Accès Bureau Public/README.md:
--------------------------------------------------------------------------------
1 | A command to set ACL on a Directory for Everyone (or not). You need to translate from French/modify "Tout le Monde". Here we block that. I allow access individually.
2 | ````
3 | icacls "C:\Users\Public\Desktop" /grant "Tout le Monde":(f) /T
4 | ````
5 |
--------------------------------------------------------------------------------
/PDQ Inventory Tools/Tools/Changement Description AD/Changement_Description_AD.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | ScanAfter
6 |
7 |
8 | 00:03:00
9 |
10 | Local
11 | $description = Read-Host 'Entrez la description voulue '
12 | Set-ADComputer $(Computer:TARGET) -replace:@{"description"="$($description)"}
13 | Invoke-Command -ScriptBlock {pdqinventory ScanComputers -Computers "$(Computer:TARGET)" -ScanProfile "AD Infos"}
14 |
15 |
16 |
17 | LeaveShellOpen
18 | PowerShell
19 |
20 | Stock0120
21 | Ctrl+Alt+D
22 | Changement Description AD
23 | CustomTool
24 |
25 |
--------------------------------------------------------------------------------
/PDQ Inventory Tools/Tools/Changement Description AD/README.md:
--------------------------------------------------------------------------------
1 | Powershell script to replace an AD Description for a remote computer, and then Scan for AD Infos. Usefull one !
2 | ````
3 | $description = Read-Host 'Entrez la description voulue '
4 | Set-ADComputer $(Computer:TARGET) -replace:@{"description"="$($description)"}
5 | Invoke-Command -ScriptBlock {pdqinventory ScanComputers -Computers "$(Computer:TARGET)" -ScanProfile "AD Infos"}
6 | ````
7 |
--------------------------------------------------------------------------------
/PDQ Inventory Tools/Tools/Check & Active Points de Restauration/Check_&_Active_Points_de_Restauration.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | DoNotScan
6 |
7 |
8 | 00:03:00
9 |
10 | Remote
11 | $ScriptBlock = {
12 | Get-ComputerRestorePoint -OutVariable RestorePoints
13 |
14 | if(-not($RestorePoints)){
15 |
16 | $env:COMPUTERNAME
17 |
18 | Enable-ComputerRestore -Drive C: -Verbose
19 | }
20 | }
21 |
22 | Invoke-Command -ScriptBlock $ScriptBlock
23 |
24 |
25 |
26 | ToolWindowCaptureOutput
27 | PowerShell
28 |
29 | Icon-PowerShell
30 |
31 | Check & Active Points de Restauration
32 | CustomTool
33 |
34 |
--------------------------------------------------------------------------------
/PDQ Inventory Tools/Tools/Check & Active Points de Restauration/README.md:
--------------------------------------------------------------------------------
1 | Powershell script to check if Restore Points are enable for C: drive. If no, this activates it.
2 | ````
3 | $ScriptBlock = {
4 | Get-ComputerRestorePoint -OutVariable RestorePoints
5 |
6 | if(-not($RestorePoints)){
7 |
8 | $env:COMPUTERNAME
9 |
10 | Enable-ComputerRestore -Drive C: -Verbose
11 | }
12 | }
13 |
14 | Invoke-Command -ScriptBlock $ScriptBlock
15 | ````
16 |
--------------------------------------------------------------------------------
/PDQ Inventory Tools/Tools/Check Taille du Profil Utilisateur/Check_Taille_du_Profil_Utilisateur.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | DoNotScan
6 |
7 |
8 | 00:03:00
9 |
10 | Remote
11 | $Sum = [math]::Round(
12 | (
13 | (
14 | (
15 | Get-ChildItem -Path "\\FileServer\Users_directory\$env:username" |
16 | ForEach-Object {
17 | Write-Host "Analyse du fichier $($_.FullName)" -ForegroundColor Green ;
18 | Get-ChildItem -Path $_.FullName -Recurse -File -ErrorAction SilentlyContinue } | Measure-Object -Property Length -Sum).Sum)/1MB
19 | )
20 | )
21 | write-Host "Taille totale des données contenus dans le dossier utilisateur de $env:username :" -ForegroundColor Cyan
22 | Write-Host "$Sum Mb" -ForegroundColor Cyan
23 | Write-Host "Chemin analysé :" -ForegroundColor Cyan
24 | Write-Host "\\FileServer\Users_directory\$env:username" -ForegroundColor Cyan
25 |
26 |
27 |
28 | ToolWindowCaptureOutput
29 | PowerShell
30 |
31 | Icon-PowerShell
32 |
33 | Check Taille du Profil Utilisateur
34 | CustomTool
35 |
36 |
37 |
--------------------------------------------------------------------------------
/PDQ Inventory Tools/Tools/Check Taille du Profil Utilisateur/README.md:
--------------------------------------------------------------------------------
1 | Powershell script to get the Profile's size, for a logged on user, on a remote computer. Show in MB.
2 | -Change user's profile path
3 | ````
4 | $Sum = [math]::Round(
5 | (
6 | (
7 | (
8 | Get-ChildItem -Path "\\FileServer\Users_directory\$env:username" |
9 | ForEach-Object {
10 | Write-Host "Analyse du fichier $($_.FullName)" -ForegroundColor Green ;
11 | Get-ChildItem -Path $_.FullName -Recurse -File -ErrorAction SilentlyContinue } | Measure-Object -Property Length -Sum).Sum)/1MB
12 | )
13 | )
14 | write-Host "Taille totale des données contenus dans le dossier utilisateur de $env:username :" -ForegroundColor Cyan
15 | Write-Host "$Sum Mb" -ForegroundColor Cyan
16 | Write-Host "Chemin analysé :" -ForegroundColor Cyan
17 | Write-Host "\\FileServer\Users_directory\$env:username" -ForegroundColor Cyan
18 | ````
19 |
--------------------------------------------------------------------------------
/PDQ Inventory Tools/Tools/Check_if_Missing_Drivers/Check if Missing Drivers.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | DoNotScan
6 |
7 | 0
8 | 00:03:00
9 |
10 | Remote
11 | Get-WmiObject Win32_PNPEntity | Where-Object{$_.ConfigManagerErrorCode -ne 0} | Select Name, DeviceID
12 |
13 |
14 |
15 | ToolWindowCaptureOutput
16 | PowerShell
17 |
18 | Stock0830
19 |
20 | Check if Missing Drivers
21 | CustomTool
22 |
23 |
--------------------------------------------------------------------------------
/PDQ Inventory Tools/Tools/Check_if_Missing_Drivers/README.md:
--------------------------------------------------------------------------------
1 | Powershell command to check if drivers are missing (or any error code) on a remote computer, and list them.
2 | ````
3 | Get-WmiObject Win32_PNPEntity | Where-Object{$_.ConfigManagerErrorCode -ne 0} | Select Name, DeviceID
4 | ````
5 |
--------------------------------------------------------------------------------
/PDQ Inventory Tools/Tools/DameWare_RC_Auto/DameWare RC Auto.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | DoNotScan
6 |
7 |
8 | 00:03:00
9 |
10 | Local
11 | "C:\Program Files\SolarWinds\DameWare Mini Remote Control x64\DWRCC.exe" -h -m:$(Computer:TARGET) -md: -a:1 -c -x
12 |
13 |
14 |
15 | NoShell
16 | Command
17 |
18 | Stock0030
19 |
20 | DameWare RC Auto
21 | CustomTool
22 |
23 |
--------------------------------------------------------------------------------
/PDQ Inventory Tools/Tools/DameWare_RC_Auto/README.md:
--------------------------------------------------------------------------------
1 | Command to run DameWare with autoscaling. Credentials are already saved in DameWare, no need to use them here.
2 | ````
3 | "C:\Program Files\SolarWinds\DameWare Mini Remote Control x64\DWRCC.exe" -h -m:$(Computer:TARGET) -md: -a:1 -c -x
4 | ````
5 |
--------------------------------------------------------------------------------
/PDQ Inventory Tools/Tools/Get AD User Groupes/Get_AD_User_Groupes.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | DoNotScan
6 |
7 |
8 | 00:03:00
9 |
10 | Local
11 | #Recuperation Username distant :
12 | $ComputerInfos = Get-WmiObject -Class Win32_ComputerSystem -Computername $(Computer:TARGET)
13 | [String] ${stUserDomain},[String] ${stUserAccount} = $ComputerInfos.Username.split("\")
14 |
15 | #On cherche les groupes AD :
16 | $ADUserInfo = Get-ADUser ${stUserAccount} -Properties *
17 | Write-Host "L'utilisateur '${stUserAccount}' est membre des groupes :" -ForegroundColor Cyan
18 | $ADUserInfo.MemberOf
19 |
20 |
21 |
22 | ToolWindowCaptureOutput
23 | PowerShell
24 |
25 | Stock0520
26 |
27 | Get AD User Groupes
28 | CustomTool
29 |
30 |
--------------------------------------------------------------------------------
/PDQ Inventory Tools/Tools/Get AD User Groupes/README.md:
--------------------------------------------------------------------------------
1 | Powershell script to get AD Groups, for the logged on User on a remote computer.
2 |
3 | ````
4 | #Recuperation Username distant :
5 | $ComputerInfos = Get-WmiObject -Class Win32_ComputerSystem -Computername $(Computer:TARGET)
6 | [String] ${stUserDomain},[String] ${stUserAccount} = $ComputerInfos.Username.split("\")
7 |
8 | #On cherche les groupes AD :
9 | $ADUserInfo = Get-ADUser ${stUserAccount} -Properties *
10 | Write-Host "L'utilisateur '${stUserAccount}' est membre des groupes :" -ForegroundColor Cyan
11 | $ADUserInfo.MemberOf
12 | ````
13 |
--------------------------------------------------------------------------------
/PDQ Inventory Tools/Tools/Get Local Printers/Get_LocaPrinters.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | DoNotScan
6 |
7 |
8 | 00:00:20
9 |
10 | Remote
11 | Get-WmiObject win32_printer| select Name, Sharename, SystemName
12 |
13 |
14 |
15 | ToolWindowCaptureOutput
16 | PowerShell
17 |
18 | Icon-PowerShell
19 |
20 | Get Local Printers
21 | CustomTool
22 |
23 |
--------------------------------------------------------------------------------
/PDQ Inventory Tools/Tools/Get Local Printers/README.md:
--------------------------------------------------------------------------------
1 | Powershell command to get Local Printers on a remote computer.
2 | ````
3 | Get-WmiObject win32_printer| select Name, Sharename, SystemName
4 | ````
5 |
--------------------------------------------------------------------------------
/PDQ Inventory Tools/Tools/Ouvrir Itinerant Profile/Ouvrir Itinerant Profile.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | DoNotScan
6 |
7 |
8 | 00:03:00
9 |
10 | Local
11 | #Recuperation Username distant :
12 | $ComputerInfos = Get-WmiObject -Class Win32_ComputerSystem -Computername $(Computer:TARGET)
13 | [String] ${stUserDomain},[String] ${stUserAccount} = $ComputerInfos.Username.split("\")
14 |
15 | #On ouvre l'explorateur sur le dossier utilisateur ciblé
16 | cmd.exe /c explorer.exe \\fileserver\users_directory\${stUserAccount}
17 |
18 |
19 |
20 | NoShell
21 | PowerShell
22 |
23 | Stock0895
24 |
25 | Ouvrir Itinerant Profile
26 | CustomTool
27 |
28 |
--------------------------------------------------------------------------------
/PDQ Inventory Tools/Tools/Ouvrir Itinerant Profile/README.md:
--------------------------------------------------------------------------------
1 | Powershell script to Open an user's profile (logged on a remote computer). It works for a local, or an itinerant profile. Don't forget this one too, usefull for me.
2 | ````
3 | #Get Remote Username :
4 | $ComputerInfos = Get-WmiObject -Class Win32_ComputerSystem -Computername $(Computer:TARGET)
5 | [String] ${stUserDomain},[String] ${stUserAccount} = $ComputerInfos.Username.split("\")
6 |
7 | #On ouvre l'explorateur sur le dossier utilisateur ciblé
8 | cmd.exe /c explorer.exe \\FileServer\users_directory\${stUserAccount}
9 | ````
10 |
--------------------------------------------------------------------------------
/PDQ Inventory Tools/Tools/Ouvrir_C$/Ouvrir C$.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | DoNotScan
6 |
7 |
8 | 00:03:00
9 |
10 | Local
11 | explorer.exe "\\$(Computer:TARGETHOSTNAME)\C$"
12 |
13 |
14 |
15 | NoShell
16 | Command
17 | Attempts to connect via Windows Explorer (explorer.exe) to the target computer’s Windows directory. By default the %WINDIR% directory is shared as ADMIN$.
18 | Stock0895
19 |
20 | Ouvrir \\C$
21 | CustomTool
22 |
23 |
--------------------------------------------------------------------------------
/PDQ Inventory Tools/Tools/Ouvrir_C$/README.md:
--------------------------------------------------------------------------------
1 | Command to open C:\ in explorer, on a remote computer. Don't forget this one, basic.
2 | ````
3 | explorer.exe "\\$(Computer:TARGETHOSTNAME)\C$"
4 | ````
5 |
--------------------------------------------------------------------------------
/PDQ Inventory Tools/Tools/README.md:
--------------------------------------------------------------------------------
1 | My PDQ Inventory Tools
2 | ````
3 | Nothing complicate here, but usefull commands/scripts.
4 | I forget to use Win + R with these PDQ tools.
5 | ````
6 |
--------------------------------------------------------------------------------
/PDQ Inventory Tools/Tools/TCPI_IP Optimisation/README.md:
--------------------------------------------------------------------------------
1 | I won't comment that, see bellow :
2 | ````
3 | # For a discussion of this setting and its impact, see:
4 | # http://technet.microsoft.com/en-us/magazine/2007.01.cableguy.aspx
5 | # The intent is to optimize TCP performance by setting the
6 | # receive window auto-tuning level to Disabled.
7 |
8 |
9 |
10 |
11 | # To disable TCP/IP autotunning, in an elevated CMD shell run:
12 |
13 | netsh.exe interface tcp set global autotuninglevel= Disabled
14 |
15 |
16 |
17 | # To see current TCP global settings and to confirm
18 | # that "Receive Window Auto-Tuning Level" is disabled:
19 |
20 | netsh.exe interface tcp show global
21 |
22 |
23 |
24 | # To reset back to the factory default:
25 | #netsh.exe interface tcp set global autotuninglevel= normal
26 | ````
27 |
--------------------------------------------------------------------------------
/PDQ Inventory Tools/Tools/TCPI_IP Optimisation/TCPI_IP_Optimisation.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | DoNotScan
6 |
7 |
8 | 00:03:00
9 |
10 | Local
11 | # For a discussion of this setting and its impact, see:
12 | # http://technet.microsoft.com/en-us/magazine/2007.01.cableguy.aspx
13 | # The intent is to optimize TCP performance by setting the
14 | # receive window auto-tuning level to Disabled.
15 |
16 |
17 |
18 |
19 | # To disable TCP/IP autotunning, in an elevated CMD shell run:
20 |
21 | netsh.exe interface tcp set global autotuninglevel= Disabled
22 |
23 |
24 |
25 | # To see current TCP global settings and to confirm
26 | # that "Receive Window Auto-Tuning Level" is disabled:
27 |
28 | netsh.exe interface tcp show global
29 |
30 |
31 |
32 | # To reset back to the factory default:
33 | #netsh.exe interface tcp set global autotuninglevel= normal
34 |
35 |
36 |
37 | ToolWindowCaptureOutput
38 | PowerShell
39 |
40 | Icon-PowerShell
41 |
42 | TCPI/IP Optimisation
43 | CustomTool
44 |
45 |
--------------------------------------------------------------------------------
/PDQ Inventory Tools/Tools/TightVNC_Auto/README.md:
--------------------------------------------------------------------------------
1 | Command to run TightVNC with autoscaling & password.
2 | ````
3 | "C:\Program Files\uvnc bvba\UltraVNC\vncviewer.exe" $(Computer:TARGETHOSTNAME) /autoscaling /password PASSWORD
4 | ````
5 |
--------------------------------------------------------------------------------
/PDQ Inventory Tools/Tools/TightVNC_Auto/TightVNC Auto.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | DoNotScan
6 |
7 |
8 | 01:00:00
9 |
10 | Local
11 | "C:\Program Files\uvnc bvba\UltraVNC\vncviewer.exe" $(Computer:TARGETHOSTNAME) /autoscaling /password PASSWORD
12 |
13 |
14 |
15 | NoShell
16 | Command
17 |
18 | Stock0030
19 |
20 | TightVNC Auto
21 | CustomTool
22 |
23 |
--------------------------------------------------------------------------------
/PDQ Inventory Tools/Tools1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/PDQ Inventory Tools/Tools1.png
--------------------------------------------------------------------------------
/PDQ Inventory Tools/Tools1_V2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/PDQ Inventory Tools/Tools1_V2.png
--------------------------------------------------------------------------------
/PDQ Inventory Tools/Tools2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/PDQ Inventory Tools/Tools2.png
--------------------------------------------------------------------------------
/PDQ Inventory Tools/Tools2_V2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/PDQ Inventory Tools/Tools2_V2.png
--------------------------------------------------------------------------------
/PDQInventory/Hardware/Admin Local Désactivé.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Any
7 |
8 |
9 | All
10 |
11 |
12 |
13 | Local User
14 | UserName
15 | Contains
16 | Administrateur
17 |
18 |
19 |
20 | Local User
21 | IsDisabled
22 | IsTrue
23 |
24 |
25 |
26 |
27 | All
28 |
29 |
30 |
31 | Local User
32 | UserName
33 | Contains
34 | Administrator
35 |
36 |
37 |
38 | Local User
39 | IsDisabled
40 | IsTrue
41 |
42 |
43 |
44 |
45 |
46 | BasicReportDefinition
47 |
48 |
49 | ComputerId
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 | DynamicCollection
59 | 2018-09-21T11:28:18.0000000+02:00
60 |
61 |
62 |
63 |
64 | 2018-09-21T11:28:18.0000000+02:00
65 | Admin Local Désactivé
66 |
67 | CHA\Paramétrages\Admin Local Désactivé
68 | DynamicCollection
69 |
70 |
71 |
--------------------------------------------------------------------------------
/PDQInventory/Hardware/Appareils mobiles connectés.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | All
7 |
8 |
9 |
10 | Hardware Device
11 | ClassName
12 | StartsWith
13 | Appareils mobiles
14 |
15 |
16 |
17 | BasicReportDefinition
18 |
19 |
20 | ComputerId
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 | DynamicCollection
30 | 2018-09-21T14:30:08.0000000+02:00
31 |
32 |
33 |
34 |
35 | 2018-09-21T14:30:08.0000000+02:00
36 | Appareils mobiles connectés
37 |
38 | CHA\Hardware\Appareils mobiles connectés
39 | DynamicCollection
40 |
41 |
42 |
--------------------------------------------------------------------------------
/PDQInventory/Hardware/Comptes Invité Actif.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Any
7 |
8 |
9 | All
10 |
11 |
12 |
13 | Local User
14 | UserName
15 | Contains
16 | Invité
17 |
18 |
19 |
20 | Local User
21 | IsDisabled
22 | !IsTrue
23 |
24 |
25 |
26 |
27 |
28 | BasicReportDefinition
29 |
30 |
31 | ComputerId
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 | DynamicCollection
41 | 2018-09-21T15:02:42.0000000+02:00
42 |
43 |
44 |
45 |
46 | 2018-09-21T15:06:24.0000000+02:00
47 | Comptes Invité Actif
48 |
49 | CHA\Paramétrages\Comptes Invité Actif
50 | DynamicCollection
51 |
52 |
53 |
--------------------------------------------------------------------------------
/PDQInventory/Hardware/Lecteurs de DVD_CD-ROM USB.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | All
7 |
8 |
9 |
10 | Hardware Device
11 | ClassName
12 | Contains
13 | Lecteurs de DVD/CD-ROM
14 |
15 |
16 |
17 | Hardware Device
18 | Name
19 | Contains
20 | USB
21 |
22 |
23 |
24 | BasicReportDefinition
25 |
26 |
27 | ComputerId
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 | DynamicCollection
37 | 2018-09-21T14:34:35.0000000+02:00
38 |
39 |
40 |
41 |
42 | 2018-09-21T14:38:45.0000000+02:00
43 | Lecteurs de DVD/CD-ROM USB
44 |
45 | CHA\Hardware\Lecteurs de DVD/CD-ROM USB
46 | DynamicCollection
47 |
48 |
49 |
--------------------------------------------------------------------------------
/PDQInventory/Hardware/LocalPrinters.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/PDQInventory/Hardware/LocalPrinters.png
--------------------------------------------------------------------------------
/PDQInventory/Hardware/NVidia.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/PDQInventory/Hardware/NVidia.png
--------------------------------------------------------------------------------
/PDQInventory/Hardware/Pare-feu Non Disabled.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | All
7 |
8 |
9 |
10 | Name
11 | Contains
12 | MpsSvc
13 |
14 |
15 |
16 | State
17 | !Contains
18 | Disabled
19 |
20 |
21 |
22 | StartMode
23 | !Contains
24 | Disabled
25 |
26 |
27 |
28 | BasicReportDefinition
29 |
30 |
31 | ComputerId
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 | DynamicCollection
41 | 2018-09-21T11:26:52.0000000+02:00
42 |
43 |
44 |
45 |
46 | 2018-09-21T11:39:59.0000000+02:00
47 | Pare-feu Non Disabled
48 |
49 | CHA\Paramétrages\Pare-feu Non Disabled
50 | DynamicCollection
51 |
52 |
53 |
--------------------------------------------------------------------------------
/PDQInventory/Hardware/Profilelist.bak.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | All
7 |
8 |
9 |
10 | PathName
11 | Contains
12 | SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\
13 |
14 |
15 |
16 | BasicReportDefinition
17 |
18 |
19 | ComputerId
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 | DynamicCollection
29 | 2018-10-09T09:37:58.0000000+02:00
30 |
31 | <Error>
32 | <Message>Enterprise Mode is required to use the table 'Registry' in a filter</Message>
33 | <Type>AdminArsenal.Reports.Engine.Basic.InvalidFilterInsufficientLicenseException</Type>
34 | <StackTrace> à AdminArsenal.Reports.Engine.Basic.ValueFilter.Apply(HashSet`1 keys, Dictionary`2 keyCache, Dictionary`2 queryCache)
35 | à AdminArsenal.Reports.Engine.Basic.GroupFilter.Apply(HashSet`1 keys, Dictionary`2 keyCache, Dictionary`2 queryCache)
36 | à AdminArsenal.Reports.Engine.Basic.BasicReportDefinition.ReportDefinitionTypeManager.Run(BasicReportDefinition report, BasicReportDefinitionRunContext context)
37 | à AdminArsenal.PDQInventory.Collections.DynamicCollection.UpdateComputerMembership(ComputerId[] computerIds)
38 | à AdminArsenal.PDQInventory.Collections.Collection.UpdateMembership(CollectionId collectionId, Collection collection, ComputerId[] computerIds)</StackTrace>
39 | <Data Name="Collection">CHA\Paramétrages\Profilelist.bak</Data>
40 | </Error>
41 |
42 |
43 | 2019-04-19T14:05:16.0000000+02:00
44 | Profilelist.bak
45 |
46 | CHA\Paramétrages\Profilelist.bak
47 | DynamicCollection
48 |
49 |
50 |
--------------------------------------------------------------------------------
/PDQInventory/Hardware/README.md:
--------------------------------------------------------------------------------
1 | Some Collections for PDQ Inventory related to Hardware components.
2 |
3 | Descriptions Here :
4 |
5 | ````
6 | "Admin Local Désactivé.xml"
7 | Show computers with disabled Local Administrator/Administrateur.
8 | ````
9 | ````
10 | "Appareils mobiles connectés.xml"
11 | Show computers with mobile devices.
12 | ````
13 | ````
14 | "Cartes graphiques Nvidia.xml"
15 | Show computers with Nvidia Graphic Cards.
16 | Models are for my personal situation, see below :
17 | ````
18 | 
19 | ````
20 | "Comptes Invité Actif.xml"
21 | Show computers with enabled Local Guest Account.
22 | ````
23 | ````
24 | "Faille Intel SA-00086.xml"
25 | Show computers with this Intel's vulnerability (Linked to a Report & a Scan Profile, coming soon here).
26 |
27 | ````
28 | ````
29 | "Imprimantes USB.xml"
30 | Show computers with an USB Printer connected/installed.
31 | Models are for my personal situation, see below :
32 | ````
33 | 
34 | ````
35 | "Imprimantes locales.xml"
36 | Show computers with a Local Printer installed (not network/mapped).
37 | Models are for my personal situation, see below :
38 | ````
39 | 
40 | ````
41 | "Lecteurs de DVD_CD-ROM USB.xml"
42 | Show computers with an USB/External CD/DVD Player/Writer
43 | ````
44 | ````
45 | "Lecteurs de cartes à puce.xml"
46 | Show computers with SmardCard Reader.
47 | ````
48 | ````
49 | "Pare-feu Non Disabled.xml"
50 | Show computers with enabled Firewall.
51 | ````
52 | ````
53 | "Poste Fixes en Wi-Fi.xml"
54 | Show Desktop Workstation with a Connect Wi-Fi interface (We have AIO Workstations with Wi-Fi,
55 | people sometimes inadvertently connect to Wi-fi at the same time as in Ethernet).
56 | ````
57 | ````
58 | "Profilelist.bak.xml"
59 | Show computers with keys in registry in ProfileList (Linked to a Scan Profile, coming soon here).
60 | ````
61 | ````
62 | "Serial to USB.xml"
63 | Show computers with a Serial-to-USB cable (For automat & Cie).
64 | ````
65 | ````
66 | "Vitesses LAN.xml"
67 | Shows computers by sorting them by connection speed (1000, 100, 10). To see problems.
68 | ````
69 |
--------------------------------------------------------------------------------
/PDQInventory/Hardware/Serial to USB.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | All
7 |
8 |
9 |
10 | Hardware Device
11 | ClassName
12 | Contains
13 | Ports (COM et LPT)
14 |
15 |
16 |
17 | Hardware Device
18 | Name
19 | StartsWith
20 | USB Serial Port
21 |
22 |
23 |
24 | BasicReportDefinition
25 |
26 |
27 | ComputerId
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 | DynamicCollection
37 | 2018-09-27T10:30:36.0000000+02:00
38 |
39 |
40 |
41 |
42 | 2018-09-27T10:30:36.0000000+02:00
43 | Serial to USB
44 |
45 | CHA\Hardware\Serial to USB
46 | DynamicCollection
47 |
48 |
49 |
--------------------------------------------------------------------------------
/PDQInventory/Hardware/USBPrinters.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/PDQInventory/Hardware/USBPrinters.png
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | PDQ_Repo (Not Official)
2 |
3 | ````
4 | Repository about PDQ Deploy/Inventory Tools, Utilities, Scripts ...
5 | To Check, Repair, Change ...
6 | This Repo is the root of PDQ Deploy's Repository.
7 | These are my daily Tools to manage 2500 Workstations, under Windows 7.
8 |
9 | For the moment, i'll add .xml files and tools/scripts, one after another.
10 | Sorry if you want to add everything at once, will see later.
11 | Some parts have been translated into French.
12 |
13 | I hope this will serve others.
14 | For others Installations Packages.. Most of the time, this concerns dedicated applications,
15 | or requires the Enterprise version to manipulate...Hard to share this.
16 | Can still be usefull for Free Version users ):
17 | ````
18 |
19 | The PDQ Inventory's Tools Section :
20 | https://github.com/wizz13150/PDQ_Repo/tree/master/PDQ%20Inventory%20Tools
21 |
22 |
23 | (French) Screenshots for V2 (From PDQ Inventory v19.0.40):
24 |
25 | 
26 | 
27 |
28 |
29 |
30 |
31 | (French) Screenshots for v1 :
32 |
33 | 
34 | 
35 |
36 |
37 | The PDQ Inventory's Reports section :
38 | https://github.com/wizz13150/PDQ_Repo/tree/master/Reports
39 |
40 |
41 | The PDQ Deploy's Uninstalls section :
42 | https://github.com/wizz13150/PDQ_Repo/tree/master/Uninstalls
43 |
44 |
45 | The PDQ Deploy's Scripts/Packages that I can share :
46 | https://github.com/wizz13150/PDQ_Repo/tree/master/Scripts
47 | ````
48 | For most of "Check*" packages (include CheckSound, but surprise inside), it export an html (or csv) report,
49 | you need to open the report.. Most of checks come from http://www.nirsoft.net .
50 | I usually put this Package on a Directory in PDQ with the report's path in title.
51 | I just select this second package, Ctrl+C, Windows+R and Ctrl+V, to open it, see Screenshot below.
52 | I just need to automatically open the report once generated. I have not yet figured out how to do that.
53 | Screenshot Copy Report's Path
54 | ````
55 |
56 | Here is a post on Reddit, don't hesitate to give me a feedback/improvement/ideas :
57 | https://www.reddit.com/r/sysadmin/comments/cc8le4/github_repo_for_pdq_users/
58 |
59 | For Installers packages and Others Utilities for PDQ Deploy, see the awesome "PDQ Packs" from u/vocatus :
60 | https://www.reddit.com/u/vocatus/
61 |
62 |
63 | And Thanks to AdminArsenal for these amazing software !
64 |
65 |
66 |
67 | Try PDQ Deploy & Inventory :
68 | https://www.pdq.com/download/
69 |
70 | Get a quote :
71 | https://sales.pdq.com/
72 |
73 |
74 | ````
75 | PS:
76 | The qualities of a good IT Tech ?
77 | 1 - RTFM !
78 | 2 - Never believe the end user. Don't trust, verify.
79 | 3 - If you work well, you'll spend time at the coffee machine with the secretaries. I said it, I'm lazy.
80 | ````
81 |
--------------------------------------------------------------------------------
/Reports/Application_Comparison_with_Version.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | -- https://gist.github.com/Colby-PDQ/133fdcc7596d8908d6f43a195b9e02f2
6 |
7 | SELECT
8 | Computers.Name AS "Computer Name"
9 | , Applications.Name AS "Application Name"
10 | , Applications.Version AS "Application Version"
11 | FROM
12 | (
13 | SELECT
14 | Applications.ApplicationId
15 | , COUNT(Applications.Name || Applications.Version) AS "ApplicationCount"
16 | FROM
17 | Applications
18 | INNER JOIN
19 | Computers USING (ComputerId)
20 | WHERE
21 | <ComputerFilter>
22 | GROUP BY
23 | Applications.Name || Applications.Version
24 | ) ApplicationCounts
25 | INNER JOIN
26 | Applications USING (ApplicationId)
27 | INNER JOIN
28 | Computers USING (ComputerId)
29 | WHERE
30 | <ComputerFilter>
31 | AND
32 | ApplicationCounts.ApplicationCount = 1
33 | ORDER BY
34 | Applications.Name COLLATE NOCASE
35 | SqlReportDefinition
36 |
37 | 2018-10-24T20:44:55.0000000+02:00
38 | Select 2 computers, then run this report. It will show you if an application only exists on one of them, or if each of them has a different version.
39 |
40 | 2019-06-08T22:02:14.0000000+02:00
41 | Application Comparison with Version
42 | Reports\Application Comparison with Version
43 |
44 | SqlReport
45 | SqlReport
46 |
47 |
--------------------------------------------------------------------------------
/Reports/AppsNewToEnvironment.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | SELECT
6 | Computers.Name as "Computer",
7 | Applications.Name as "Application",
8 | Applications.InstallDate
9 | FROM Computers
10 | JOIN Applications on Applications.ComputerId = Computers.ComputerId
11 | WHERE Applications.InstallDate > date('now', '-14 day')
12 | AND Applications.Name NOT IN
13 | (SELECT
14 | Applications.Name
15 | FROM Computers
16 | JOIN Applications on Applications.ComputerId = Computers.ComputerId
17 | WHERE Applications.InstallDate < date('now', '-14 day') )
18 | AND Applications.Name NOT LIKE "Microsoft Visual C++ % Redistributable%"
19 | AND Applications.Name NOT LIKE "Opera%"
20 | AND Applications.Name NOT LIKE "Mozilla Thunderbird%"
21 | GROUP BY Computers.Name
22 | SqlReportDefinition
23 |
24 | 2019-10-07T15:40:36.0000000+02:00
25 | PDQ Inventory SQL Report query to list applications new to environment in the last 14 days
26 |
27 | 2019-10-07T15:42:03.0000000+02:00
28 | AppsNewToEnvironment
29 | Reports\Reports\AppsNewToEnvironment
30 |
31 | SqlReport
32 | SqlReport
33 |
34 |
--------------------------------------------------------------------------------
/Reports/CurrentUserIsLocalAdmin.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | -- Created by Colby Bouma for: https://old.reddit.com/r/pdq/comments/bty5po/request_wmi_query_check_if_user_is_local/
6 |
7 | SELECT
8 | Computers.Name AS "Computer Name"
9 | , Computers.CurrentUser AS "Current User"
10 | , LocalGroupMembers.UserName AS "Local Group Member Username"
11 | FROM
12 | Computers
13 | INNER JOIN
14 | LocalGroupMembers USING (ComputerId)
15 | INNER JOIN
16 | LocalGroups USING (LocalGroupId)
17 | WHERE
18 | -- Enables filtering by Collection
19 | <ComputerFilter>
20 | AND
21 | -- Find computers whose Current User contains one of the entries from its Local Group Members table
22 | -- Source for LIKE trick: https://stackoverflow.com/a/29766435
23 | Computers.CurrentUser LIKE '%' || LocalGroupMembers.UserName || '%'
24 | AND
25 | -- Only look at the Administrators group, using the SID
26 | LocalGroups.SID = 'S-1-5-32-544'
27 | AND
28 | -- Username blacklist
29 | LocalGroupMembers.UserName NOT IN (
30 | 'Administrator'
31 | , 'The.Boss'
32 | )
33 | ORDER BY
34 | Computers.Name COLLATE NOCASE
35 | SqlReportDefinition
36 |
37 | 2019-07-11T00:39:17.0000000+02:00
38 |
39 |
40 | 2019-10-07T12:37:40.0000000+02:00
41 | Current User is a local admin
42 | Reports\Reports\Current User is a local admin
43 |
44 | SqlReport
45 | SqlReport
46 |
47 |
--------------------------------------------------------------------------------
/Reports/GroupedDisplays-Fancy.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | SELECT
6 | Computers.Name AS "Computer Name"
7 | , Computers.Model AS "Computer Model"
8 | , Computers.Manufacturer AS "Computer Manufacturer"
9 | , Computers.SerialNumber AS "Computer Serial Number"
10 | , Computers.Memory AS "Computer Memory"
11 | , CPUs.ProcessorSummary AS "CPU Processor"
12 | , Computers.OS AS "Computer O/S"
13 | , Computers.OSVersion AS "Computer O/S Version"
14 | , Computers.OSServicePack AS "Computer SP / Release"
15 |
16 | -- GROUP_CONCAT usage lovingly stolen from this video: https://www.pdq.com/blog/webcast-recap-sql-made-simple-reports-in-inventory/
17 | -- The || trick is adapted from: https://stackoverflow.com/a/29766435
18 | , GROUP_CONCAT(Displays.Model || ' (' || Displays.SerialNumber || ')', ', ') AS "Display Models and Serial Numbers"
19 | FROM
20 | Computers
21 | INNER JOIN
22 | CPUs USING (ComputerId)
23 | INNER JOIN
24 | Displays USING (ComputerId)
25 | WHERE
26 | <ComputerFilter>
27 | GROUP BY
28 | Computers.ComputerId
29 | ORDER BY
30 | Computers.Name COLLATE NOCASE
31 | SqlReportDefinition
32 |
33 | 2019-10-08T09:24:38.0000000+02:00
34 | A couple of PDQ Inventory SQL Reports that group the Display Model and Display Serial Number fields so each computer only has 1 line.
35 |
36 | 2019-10-08T09:25:47.0000000+02:00
37 | Grouped Displays - Fancy
38 | Reports\Reports\Grouped Displays - Fancy
39 |
40 | SqlReport
41 | SqlReport
42 |
43 |
--------------------------------------------------------------------------------
/Reports/ListDuplicateApplications.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | SELECT
6 | Computers.Name as "Computer",
7 | group_concat(Applications.Name, ", ") "Applications",
8 | Count(Computers.Name) as Count
9 | FROM Applications
10 | JOIN Computers on Computers.ComputerId=Applications.ComputerId
11 | WHERE Applications.Name LIKE "Firefox%"
12 | GROUP by Computers.Name
13 | HAVING Count(Computers.Name) > 1
14 | SqlReportDefinition
15 |
16 | 2019-10-08T09:04:19.0000000+02:00
17 |
18 |
19 | 2019-10-08T09:05:19.0000000+02:00
20 | List Duplicate Applications
21 | Reports\Reports\List Duplicate Applications
22 |
23 | SqlReport
24 | SqlReport
25 |
26 |
--------------------------------------------------------------------------------
/Reports/ProfileList.bak.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | All
7 |
8 |
9 |
10 | PathName
11 | Contains
12 | SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\
13 |
14 |
15 |
16 | BasicReportDefinition
17 |
18 |
19 | Name
20 |
21 |
22 | Nom du Poste
23 |
24 |
25 | PathName
26 | Count
27 |
28 | Chemin du Registre
29 |
30 |
31 |
32 | 2018-10-09T12:49:29.0000000+02:00
33 |
34 |
35 | 2018-10-09T13:13:39.0000000+02:00
36 | ProfileList.bak
37 | Reports\ProfileList.bak
38 |
39 | BasicReport
40 | BasicReport
41 |
42 |
--------------------------------------------------------------------------------
/Reports/README.md:
--------------------------------------------------------------------------------
1 | Reports Section. I didn't use this function too much. It will come.
2 |
3 | Some usefull reports. Evolving.
4 |
5 | ````
6 | - Application_Comparison_with_Version.xml
7 | Select 2 computers, then run this report. It will show you if an application only exists on one of them, or if each of them has a different version.
8 |
9 | - AppsNewToEnvironment.xml
10 | PDQ Inventory SQL Report query to list applications new to environment in the last 14 days
11 |
12 | - CurrentUserIsLocalAdmin.xml
13 | Show computers with current user who is member of Local Admins.
14 |
15 | - GroupedDisplays-Fancy.xml
16 | A couple of PDQ Inventory SQL Reports that group the Display Model and Display Serial Number fields so each computer only has 1 line.
17 |
18 | - ProfileList.bak.xml
19 | Print .bak keys count from registry for each computer (Path : HKLM:Software\Microsoft\Windows NT\CurrentVersion\ProfileList).
20 |
21 | - Report_MonitorsCount.xml
22 | Print monitors count for each computer. Need improvements to exclude virtuals displays.
23 |
24 | - Toutes_les_Applications.xml
25 | List all applications & versions, and show computer names for each. Different from 'Applications' default report !
26 |
27 | - Uninstalls Commands.xml
28 | List all Uninstalls Commands for every version of every Applications on Scan Allowed Workstations & Computers count for each version.
29 | ````
30 |
--------------------------------------------------------------------------------
/Reports/Report_MonitorsCount.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Name
8 |
9 |
10 |
11 |
12 |
13 | InstanceId
14 | Count
15 |
16 | Number of Monitors
17 |
18 |
19 |
20 | All
21 |
22 |
23 | BasicReportDefinition
24 |
25 |
26 | Number of Monitors
27 |
28 | BasicReport
29 |
30 |
--------------------------------------------------------------------------------
/Reports/Toutes_les_Applications.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Select
6 | Applications.Name 'Applications',
7 | Applications.Version 'Versions',
8 | count(Computers.Name) 'Number',
9 | group_concat(Computers.Name, ', ') 'Computer Names'
10 | from Computers inner join Applications on Computers.ComputerID=Applications.ComputerID
11 | group by Applications.Name
12 | order by Applications.Name
13 | SqlReportDefinition
14 |
15 | 2019-06-01T20:46:23.0000000+02:00
16 | Une liste de toutes les applications
17 |
18 | 2019-06-01T20:47:40.0000000+02:00
19 | Toutes les Applications
20 | Reports\Toutes les Applications
21 |
22 | SqlReport
23 | SqlReport
24 |
25 |
--------------------------------------------------------------------------------
/Reports/Uninstalls Commands.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | All
7 |
8 |
9 |
10 | AllowScan
11 | IsTrue
12 |
13 |
14 |
15 | BasicReportDefinition
16 |
17 |
18 | Name
19 |
20 |
21 |
22 |
23 |
24 | Version
25 |
26 |
27 |
28 |
29 |
30 | Publisher
31 |
32 |
33 |
34 |
35 |
36 | Name
37 | Count
38 |
39 | Computers Count
40 |
41 |
42 | Uninstall
43 |
44 |
45 |
46 |
47 |
48 |
49 | 2019-07-15T10:54:58.0000000+02:00
50 | Uninstalls Commands for Applications on Scan Allowed Workstations
51 |
52 | 2019-07-15T11:01:24.0000000+02:00
53 | Uninstalls Commands
54 | Reports\Uninstalls Commands
55 |
56 | BasicReport
57 | BasicReport
58 |
59 |
--------------------------------------------------------------------------------
/Scripts/Autoadminlogon/AutoAdminLogon Activation.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | Both
9 | All
10 | OperatingSystem
11 |
12 |
13 | AlwaysRun
14 | LoggedOnUser
15 |
16 |
17 | None
18 |
19 |
20 | Collection
21 |
22 |
23 | Default
24 | 7.00:00:00
25 | Manual
26 |
27 |
28 |
29 |
30 |
31 |
32 | $(Repository)\Scripts\Autoadminlogon\enable.cmd
33 |
34 |
35 |
36 | Install
37 |
38 | Never
39 |
40 | 0,1641,3010,2359302
41 |
42 |
43 |
44 | Both
45 | All
46 | OperatingSystem
47 |
48 |
49 | AlwaysRun
50 | LoggedOnUser
51 |
52 |
53 | None
54 |
55 |
56 | Collection
57 |
58 |
59 | StopDeploymentFail
60 | Enable
61 | Install
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 | AutoAdminLogon Activation
79 | CHA Softwares\Scripts\Autologon\AutoAdminLogon Activation
80 |
81 | Normal
82 | Icon-Package
83 |
84 |
85 |
86 |
--------------------------------------------------------------------------------
/Scripts/Autoadminlogon/AutoAdminLogon Désactivation.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | Both
9 | All
10 | OperatingSystem
11 |
12 |
13 | AlwaysRun
14 | LoggedOnUser
15 |
16 |
17 | None
18 |
19 |
20 | Collection
21 |
22 |
23 | Default
24 | 7.00:00:00
25 | Manual
26 |
27 |
28 |
29 |
30 |
31 |
32 | $(Repository)\Scripts\Autoadminlogon\disable.cmd
33 |
34 |
35 |
36 | Install
37 |
38 | Never
39 |
40 | 0,1641,3010,2359302
41 |
42 |
43 |
44 | Both
45 | All
46 | OperatingSystem
47 |
48 |
49 | AlwaysRun
50 | LoggedOnUser
51 |
52 |
53 | None
54 |
55 |
56 | Collection
57 |
58 |
59 | StopDeploymentFail
60 | Disable
61 | Install
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 | AutoAdminLogon Désactivation
79 | CHA Softwares\Scripts\Autologon\AutoAdminLogon Désactivation
80 |
81 | Normal
82 | Icon-Package
83 |
84 |
85 |
86 |
--------------------------------------------------------------------------------
/Scripts/Autoadminlogon/AutoAdminLogon_Disable.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/Scripts/Autoadminlogon/AutoAdminLogon_Disable.png
--------------------------------------------------------------------------------
/Scripts/Autoadminlogon/AutoAdminLogon_Enable.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/Scripts/Autoadminlogon/AutoAdminLogon_Enable.png
--------------------------------------------------------------------------------
/Scripts/Autoadminlogon/README.md:
--------------------------------------------------------------------------------
1 | A Package to Enable/Disable the registry key 'AutoAdminLogon'
2 |
3 |
4 | For Enable, import "AutoAdminLogon Activation.xml" & link to "Enable.cmd" :
5 | 
6 |
7 | For Disable, import "AutoAdminLogon Désactivation.xml" & link to "Disable.cmd" :
8 | 
9 |
--------------------------------------------------------------------------------
/Scripts/Autoadminlogon/disable.cmd:
--------------------------------------------------------------------------------
1 |
2 | REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "AutoAdminLogon" /f /d "0"
3 |
--------------------------------------------------------------------------------
/Scripts/Autoadminlogon/enable.cmd:
--------------------------------------------------------------------------------
1 |
2 | REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "AutoAdminLogon" /f /d "1"
3 |
--------------------------------------------------------------------------------
/Scripts/Autologon/Autologon Set.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | Both
9 | All
10 | OperatingSystem
11 |
12 |
13 | AlwaysRun
14 | LoggedOnUser
15 |
16 |
17 | None
18 |
19 |
20 | Collection
21 |
22 |
23 | Default
24 | 7.00:00:00
25 | Manual
26 |
27 |
28 |
29 |
30 |
31 |
32 | $(Repository)\Scripts\Autologon\Autologon.cmd
33 |
34 |
35 |
36 | Install
37 |
38 | Never
39 | Username Password
40 | 0,1641,3010,2359302
41 |
42 |
43 |
44 | Both
45 | All
46 | OperatingSystem
47 |
48 |
49 | AlwaysRun
50 | LoggedOnUser
51 |
52 |
53 | None
54 |
55 |
56 | Collection
57 |
58 |
59 | StopDeploymentFail
60 | Autologon Bloc
61 | Install
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 | Autologon Set
79 | CHA Softwares\Scripts\Autologon\Autologon Set
80 |
81 | Normal
82 | Icon-Package
83 |
84 |
85 |
86 |
--------------------------------------------------------------------------------
/Scripts/Autologon/Autologon.cmd:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/Scripts/Autologon/Autologon.cmd
--------------------------------------------------------------------------------
/Scripts/Autologon/Autologon_example.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/Scripts/Autologon/Autologon_example.png
--------------------------------------------------------------------------------
/Scripts/Autologon/README.md:
--------------------------------------------------------------------------------
1 | A Package to set up an AutoLogon on a remote computer.
2 |
3 | In this one, I use package's parameters as variable for "Autologon.cmd".
4 | Indeed, you use "%1" & "%2" and just set the value in package.
5 |
6 | ````
7 | %1 will be the username
8 | %2 will be the password
9 | ````
10 |
11 | I use this for generic sessions, 1 package for each.
12 |
13 | For exemple for 'Bloc' user. You replace 'Username' & 'Password', it should look like this, :
14 |
15 | 
16 |
--------------------------------------------------------------------------------
/Scripts/BackupUsersProfiles/BackupUsersProfiles.ps1:
--------------------------------------------------------------------------------
1 | <#
2 | .SYNOPSIS
3 | Backup user files to remote folder.
4 | .DESCRIPTION
5 | This script will create a backup of user's profile folder (Usually found in C:\Users)
6 | The backup is done via robocopy utility. By defalut, it uses 16 threads (/MT:16 switch), but if you're having problems you could adjust /MT switch or remove it altogether.
7 | .NOTES
8 | Version: 1
9 | Author: Alex
10 |
11 | .EXAMPLE
12 | ./BackupUsersProfiles.ps1
13 | #>
14 |
15 | $ErrorActionPreference = "Continue"
16 |
17 | ### Import Assemblies
18 | [Void][Reflection.Assembly]::Load("System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")
19 |
20 | ### RegEx String to filter out system folders and files
21 | $RegEx = "(Intel|Program\sFiles|Temp|Users|PerfLogs|Windows)|(^.*\.(bat|sys|log|tmp|bak)$)"
22 | $Date = Get-Date -f dd.MM.yyyy-HH.mm
23 | #$ProfileSelection = Select-TextItem -ErrorAction Ignore -Options (Get-ChildItem -Path "C:\Users" -ErrorAction Ignore) -DisplayProperty Name
24 | $ProfileSelection = Get-ChildItem -Path "C:\Users" -Name
25 | $BackupFolder = $ProfileSelection.Name + $Date
26 | $UserProfile = Get-ChildItem -Path "C:\users"-Recurse $ProfileSelection.FullName
27 | $UserProfileSize = $UserProfile | Measure-Object -Property Length -Sum
28 |
29 | New-Item -Path \\Repository\Software\Scripts\BackupUsersProfiles\$env:computername.$Date -ItemType Directory -Force #| Out-Null
30 | New-Item -Path \\Repository\Software\Scripts\BackupUsersProfiles\$env:computername.$Date\$BackupFolder -ItemType Directory -Force
31 |
32 | $UserProfilePath = $ProfileSelection.FullName
33 | $UserProfileFolder = $ProfileSelection.Name
34 |
35 | Write-Host "`nDébut de la Sauvegarde des profils utilisateurs locaux" -foregroundcolor cyan
36 |
37 | Sleep 5
38 |
39 | Robocopy $UserProfileFolder "C:\users\" "\\Repository\Software\Scripts\BackupUsersProfiles\$env:computername.$Date\$BackupFolder\" /XJ /MIR /MT:16 /r:0 /A-:SH
40 |
41 | Write-Host "`nFin de la Sauvegarde des profils utilisateurs locaux !" -foregroundcolor cyan
42 |
--------------------------------------------------------------------------------
/Scripts/BackupUsersProfiles/README.md:
--------------------------------------------------------------------------------
1 | A simple copy script to backup "C:\Users\*" to the package directory.
2 | May be useful before acting on certain workstations.
3 |
--------------------------------------------------------------------------------
/Scripts/ChangeResolution/README.md:
--------------------------------------------------------------------------------
1 | A Package to change display Resolution, on a remote computer.
2 |
3 | I use 3 differents resolutions, you can change the ratio in scripts.
4 |
5 | It should look like this :
6 |
7 | 
8 |
--------------------------------------------------------------------------------
/Scripts/ChangeResolution/Resolution.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/Scripts/ChangeResolution/Resolution.png
--------------------------------------------------------------------------------
/Scripts/CheckADUser/CheckUserProfileSize.ps1:
--------------------------------------------------------------------------------
1 | # Get the cumulative size of all user profiles on the system in MB
2 | # Can be on local disk, OR a network share for non local profiles
3 | # Run as 'Logged On User' for PDQ Deploy !
4 |
5 | $Sum = [math]::Round(
6 | (
7 | (
8 | (
9 | Get-ChildItem -Path "\\FileServer\USERS$\$env:username" |
10 | ForEach-Object {
11 | Write-Host "Analyse du fichier $($_.FullName)" -ForegroundColor Green ;
12 | Get-ChildItem -Path $_.FullName -Recurse -File -ErrorAction SilentlyContinue } | Measure-Object -Property Length -Sum).Sum)/1MB
13 | )
14 | )
15 | write-Host "Taille totale des données contenus dans le dossier utilisateur de $env:username :" -ForegroundColor Cyan
16 | Write-Host "$Sum Mb" -ForegroundColor Cyan
17 | Write-Host "Chemin analysé :" -ForegroundColor Cyan
18 | Write-Host "\\FileServer\USERS$\$env:username" -ForegroundColor Cyan
19 |
--------------------------------------------------------------------------------
/Scripts/CheckADUser/README.md:
--------------------------------------------------------------------------------
1 | List the User Profile's content & the size in MB. This may be longer on the big profiles.
2 |
--------------------------------------------------------------------------------
/Scripts/CheckAntivirus/SecuritySoftView.cfg:
--------------------------------------------------------------------------------
1 | [General]
2 | ShowTimeInGMT=0
3 | MarkOddEvenRows=0
4 | ShowGridLines=0
5 | SaveFilterIndex=0
6 | ShowInfoTip=1
7 | WinPos=2C 00 00 00 00 00 00 00 01 00 00 00 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 9C 00 00 00 9C 00 00 00 CD 03 00 00 7C 02 00 00
8 | Columns=96 00 00 00 96 00 01 00 64 00 02 00 64 00 03 00 64 00 04 00 FA 00 05 00 FA 00 06 00 96 00 07 00 96 00 08 00 96 00 09 00 78 00 0A 00 78 00 0B 00
9 | Sort=0
10 |
--------------------------------------------------------------------------------
/Scripts/CheckAntivirus/SecuritySoftView.chm:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/Scripts/CheckAntivirus/SecuritySoftView.chm
--------------------------------------------------------------------------------
/Scripts/CheckAntivirus/SecuritySoftView.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/Scripts/CheckAntivirus/SecuritySoftView.exe
--------------------------------------------------------------------------------
/Scripts/CheckBSOD/BlueScreenView.cfg:
--------------------------------------------------------------------------------
1 | [General]
2 | ShowGridLines=0
3 | SaveFilterIndex=0
4 | ShowInfoTip=1
5 | ShowTimeInGMT=0
6 | VerSplitLoc=16383
7 | LowerPaneMode=1
8 | MarkDriversInStack=1
9 | AddExportHeaderLine=0
10 | ComputersFile=
11 | LoadFrom=1
12 | DumpChkCommand=""%programfiles%\Debugging Tools for Windows\DumpChk.exe" "%1""
13 | MarkOddEvenRows=0
14 | SingleDumpFile=
15 | WinPos=2C 00 00 00 00 00 00 00 01 00 00 00 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 1E 00 00 00 1E 00 00 00 9E 02 00 00 FE 01 00 00
16 | Columns=B4 00 00 00 78 00 01 00 96 00 02 00 6E 00 03 00 6E 00 04 00 6E 00 05 00 6E 00 06 00 6E 00 07 00 96 00 08 00 78 00 09 00 8C 00 0A 00 82 00 0B 00 78 00 0C 00 78 00 0D 00 50 00 0E 00 78 00 0F 00 78 00 10 00 78 00 11 00 78 00 12 00 50 00 13 00 50 00 14 00 5A 00 15 00 5A 00 16 00 5A 00 17 00 5A 00 18 00 5A 00 19 00
17 | Sort=4097
18 | ModulesColumns=B4 00 00 00 78 00 01 00 78 00 02 00 78 00 03 00 78 00 04 00 78 00 05 00 78 00 06 00 78 00 07 00 78 00 08 00 78 00 09 00 78 00 0A 00 78 00 0B 00
19 | ModulesSort=1
20 |
--------------------------------------------------------------------------------
/Scripts/CheckBSOD/BlueScreenView.chm:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/Scripts/CheckBSOD/BlueScreenView.chm
--------------------------------------------------------------------------------
/Scripts/CheckBSOD/BlueScreenView.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/Scripts/CheckBSOD/BlueScreenView.exe
--------------------------------------------------------------------------------
/Scripts/CheckBSOD/bluescreenview-x64.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/Scripts/CheckBSOD/bluescreenview-x64.zip
--------------------------------------------------------------------------------
/Scripts/CheckBatteryInfo/BatteryInfoView.cfg:
--------------------------------------------------------------------------------
1 | [General]
2 | ShowGridLines=0
3 | SaveFilterIndex=0
4 | ShowInfoTip=1
5 | DisplayMode=1
6 | BatInfoRefreshTime=10
7 | LogInfoTime=60
8 | AutoRefreshBatInfo=1
9 | AutoUpdateLog=1
10 | TrayIcon=0
11 | MarkOddEvenRows=0
12 | LogSuspend=1
13 | LogResume=1
14 | LogResumeCritical=1
15 | LogLowBattery=1
16 | StartAsHidden=0
17 | AutoScrollDown=0
18 | AddLogLinesToFile=0
19 | LogFilename=
20 | LogFileFormat=2
21 | AlwaysOnTop=0
22 | ShowCapacityInmAh=1
23 | WinPos=2C 00 00 00 00 00 00 00 01 00 00 00 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 84 00 00 00 A2 00 00 00 04 03 00 00 09 03 00 00
24 | Columns=78 00 00 00 6E 00 01 00 64 00 02 00 64 00 03 00 64 00 04 00 64 00 05 00 64 00 06 00
25 | Sort=0
26 | BatInfoColumns=2C 01 00 00 C8 00 01 00 00 00 02 00 00 00 03 00 00 00 04 00
27 | BatInfoSort=0
28 |
--------------------------------------------------------------------------------
/Scripts/CheckBatteryInfo/BatteryInfoView.chm:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/Scripts/CheckBatteryInfo/BatteryInfoView.chm
--------------------------------------------------------------------------------
/Scripts/CheckBatteryInfo/BatteryInfoView.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/Scripts/CheckBatteryInfo/BatteryInfoView.exe
--------------------------------------------------------------------------------
/Scripts/CheckBatteryInfo/batteryinfoview.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/Scripts/CheckBatteryInfo/batteryinfoview.zip
--------------------------------------------------------------------------------
/Scripts/CheckBatteryInfo/readme.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/Scripts/CheckBatteryInfo/readme.txt
--------------------------------------------------------------------------------
/Scripts/CheckBookmarks/faview.cfg:
--------------------------------------------------------------------------------
1 | [General]
2 | WinPos=2C 00 00 00 00 00 00 00 01 00 00 00 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 00 00 00 00 00 00 00 80 02 00 00 E0 01 00 00
3 | Columns=B4 00 00 00 2C 01 01 00 78 00 02 00 78 00 03 00 78 00 04 00 78 00 05 00 5E 01 06 00 96 00 07 00
4 | Sort1=0
5 | ShowGridLines=0
6 | SaveFilterIndex=0
7 | ShowInfoTip=1
8 | IEFolder=C:\Users\AGasparoux.ADCHA\Favorites
9 | MozillaFilename=
10 | Browser=1
11 |
--------------------------------------------------------------------------------
/Scripts/CheckBookmarks/faview.chm:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/Scripts/CheckBookmarks/faview.chm
--------------------------------------------------------------------------------
/Scripts/CheckBookmarks/faview.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/Scripts/CheckBookmarks/faview.exe
--------------------------------------------------------------------------------
/Scripts/CheckBookmarks/faview.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/Scripts/CheckBookmarks/faview.zip
--------------------------------------------------------------------------------
/Scripts/CheckBrowserAddons/BrowserAddonsView.cfg:
--------------------------------------------------------------------------------
1 | [General]
2 | MarkOddEvenRows=0
3 | ShowGridLines=0
4 | SaveFilterIndex=0
5 | ShowInfoTip=1
6 | ShowTimeInGMT=0
7 | HideDisabledItems=0
8 | HideAskToActivate=0
9 | DataSourceChrome=1
10 | DataSourceFirefox=1
11 | DataSourceIE=1
12 | ChromeProfiles=
13 | FirefoxProfiles=
14 | SaveFileEncoeding=0
15 | UseQuickFilter=0
16 | QuickFilterString=
17 | QuickFilterColumnsMode=1
18 | QuickFilterFindMode=1
19 | QuickFilterShowHide=1
20 | AddExportHeaderLine=1
21 | WinPos=2C 00 00 00 00 00 00 00 01 00 00 00 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 1A 00 00 00 1A 00 00 00 6B 05 00 00 65 03 00 00
22 | Columns=64 00 00 00 64 00 01 00 78 00 02 00 64 00 03 00 78 00 04 00 78 00 05 00 FA 00 06 00 78 00 07 00 96 00 08 00 78 00 09 00 78 00 0A 00 FA 00 0B 00 FA 00 0C 00 96 00 0D 00 96 00 0E 00 96 00 0F 00 96 00 10 00 64 00 11 00 FA 00 12 00
23 | Sort=2
24 |
--------------------------------------------------------------------------------
/Scripts/CheckBrowserAddons/BrowserAddonsView.chm:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/Scripts/CheckBrowserAddons/BrowserAddonsView.chm
--------------------------------------------------------------------------------
/Scripts/CheckBrowserAddons/BrowserAddonsView.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/Scripts/CheckBrowserAddons/BrowserAddonsView.exe
--------------------------------------------------------------------------------
/Scripts/CheckDiskSpace/CheckDiskSpace.ps1:
--------------------------------------------------------------------------------
1 | $DriveSize = (Get-WmiObject Win32_LogicalDisk -filter "DriveType=3" |Select-Object -ExpandProperty size)/1GB
2 | $AvailableSpace = (Get-WmiObject Win32_LogicalDisk -filter "DriveType=3" |Select-Object -ExpandProperty FreeSpace)/1GB
3 | $DriveLetter = Get-WmiObject Win32_LogicalDisk -filter "DriveType=3" |Select-Object -ExpandProperty DeviceID
4 |
5 | $DriveSizeStripped = "{0:F0}" -f $DriveSize
6 | $AvailableSpaceStripped = "{0:F0}" -f $AvailableSpace
7 | $PercentAvailable = "{0:P0}" -f ($AvailableSpace/$DriveSize)
8 | $percent = ($used)/($disk.size)
9 | $percent = "{0:P0}" -f $percent
10 |
11 | Write-Host "Drive Letter: $DriveLetter"
12 | Write-host "Disque de $DriveSizeStripped`GB"
13 | Write-host "Espace disque libre : $AvailableSpaceStripped`GB"
14 | Write-Host "Pourcentage utilisé : $percent"
15 | Write-host "Pourcentage libre : $PercentAvailable"
16 |
17 |
18 | if ($PercentAvailable -lt 20) {Write-Host -ForegroundColor Red "Pas assez d'espace disque !"}
19 | else {Write-Host -ForegroundColor Green "Il y a assez d'espace disque, OK !"}
--------------------------------------------------------------------------------
/Scripts/CheckDiskUsage/Check Disque Usage.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | Both
9 | All
10 | OperatingSystem
11 |
12 |
13 | AlwaysRun
14 | LoggedOnUser
15 |
16 |
17 | None
18 |
19 |
20 | Collection
21 |
22 |
23 | Default
24 | 7.00:00:00
25 | Manual
26 |
27 |
28 |
29 |
30 |
31 |
32 | $(Repository)\Scripts\CheckDiskUsage\DiskUsage.ps1
33 |
34 |
35 |
36 | Install
37 |
38 | Never
39 |
40 | 0,1641,3010,2359302
41 |
42 |
43 |
44 | Both
45 | All
46 | OperatingSystem
47 |
48 |
49 | AlwaysRun
50 | LoggedOnUser
51 |
52 |
53 | None
54 |
55 |
56 | Collection
57 |
58 |
59 | StopDeploymentFail
60 | Check Disk Times
61 | Install
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 | Check l'usage du disque de la machine en %
72 |
73 |
74 |
75 |
76 |
77 |
78 | Check Disque Usage
79 | CHA Softwares\Scripts\Checks\Check Disque Usage
80 |
81 | Normal
82 | Icon-Package
83 |
84 |
85 |
86 |
--------------------------------------------------------------------------------
/Scripts/CheckDiskUsage/DiskUsage.ps1:
--------------------------------------------------------------------------------
1 | for ($i=0;$i -lt 7;$i++) {
2 | $counters = Get-Counter -Counter '\disque physique(_total)\pourcentage du temps disque' #-ComputerName Alex
3 | $properties = @(
4 |
5 | @{n='Server';e={$_.Path.Split('\')[2]}},
6 |
7 | @{n='Counter';e={$_.Path.Split('\')[-1]}},
8 |
9 | @{n='Value';e={[math]::Round($_.CookedValue)}}
10 |
11 | )
12 |
13 | $counters.CounterSamples | Select-Object -Property $properties
14 |
15 | sleep 1
16 |
17 | }
--------------------------------------------------------------------------------
/Scripts/CheckDiskUsage/README.md:
--------------------------------------------------------------------------------
1 | Shows you the disk usage rate, in %. It may be convenient to know if the disk is working at maximum or not.
2 |
--------------------------------------------------------------------------------
/Scripts/CheckDrivesLetters/DriveLetterView.cfg:
--------------------------------------------------------------------------------
1 | [General]
2 | ShowGridLines=0
3 | SaveFilterIndex=0
4 | ShowInfoTip=1
5 | ShowTimeInGMT=0
6 | MarkOddEvenRows=0
7 | DecodeSerialNumbers=1
8 | WinPos=2C 00 00 00 00 00 00 00 01 00 00 00 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 00 00 00 00 00 00 00 80 02 00 00 E0 01 00 00
9 | Columns=64 00 00 00 64 00 01 00 96 00 02 00 C8 00 03 00 50 00 04 00 FA 00 05 00 FA 00 06 00 64 00 07 00 64 00 08 00 78 00 09 00 78 00 0A 00 78 00 0B 00 78 00 0C 00 78 00 0D 00 78 00 0E 00 64 00 0F 00 64 00 10 00 82 00 11 00 82 00 12 00 82 00 13 00 82 00 14 00
10 | Sort=0
11 |
--------------------------------------------------------------------------------
/Scripts/CheckDrivesLetters/DriveLetterView.chm:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/Scripts/CheckDrivesLetters/DriveLetterView.chm
--------------------------------------------------------------------------------
/Scripts/CheckDrivesLetters/DriveLetterView.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/Scripts/CheckDrivesLetters/DriveLetterView.exe
--------------------------------------------------------------------------------
/Scripts/CheckIncomingCon/NetworkOpenedFiles.cfg:
--------------------------------------------------------------------------------
1 | [General]
2 | MarkOddEvenRows=0
3 | ShowGridLines=0
4 | SaveFilterIndex=0
5 | ShowInfoTip=1
6 | ShowTimeInGMT=0
7 | AutoRefresh=1
8 | LoadFrom=1
9 | RemoteComputerName=micka
10 | DisplayMode=1
11 | TrayIcon=0
12 | SaveFileEncoeding=0
13 | AddToLogFile=0
14 | LogFileType=1
15 | LogFileEncoding=2
16 | LogFilename=
17 | ResolveIPAddresses=1
18 | UseQuickFilter=0
19 | QuickFilterString=
20 | QuickFilterColumnsMode=1
21 | QuickFilterFindMode=1
22 | QuickFilterShowHide=1
23 | MainFont=00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
24 | WinPos=2C 00 00 00 00 00 00 00 01 00 00 00 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF E8 F8 FF FF 68 00 00 00 26 FF FF FF C6 02 00 00
25 | Columns=68 01 00 00 96 00 01 00 96 00 02 00 96 00 03 00 64 00 04 00 64 00 05 00 64 00 06 00 64 00 07 00 78 00 08 00 78 00 09 00 B4 00 0A 00 78 00 0B 00 78 00 0C 00 78 00 0D 00 78 00 0E 00 78 00 0F 00 78 00 10 00 78 00 11 00
26 | Sort=0
27 |
--------------------------------------------------------------------------------
/Scripts/CheckIncomingCon/NetworkOpenedFiles.chm:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/Scripts/CheckIncomingCon/NetworkOpenedFiles.chm
--------------------------------------------------------------------------------
/Scripts/CheckIncomingCon/NetworkOpenedFiles.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/Scripts/CheckIncomingCon/NetworkOpenedFiles.exe
--------------------------------------------------------------------------------
/Scripts/CheckLastActivity/LastActivityView.cfg:
--------------------------------------------------------------------------------
1 | [General]
2 | ShowGridLines=0
3 | SaveFilterIndex=0
4 | ShowInfoTip=1
5 | ShowTimeInGMT=0
6 | MarkOddEvenRows=0
7 | SaveFileEncoeding=0
8 | LastTimeFilter=0
9 | LastTimeFilterValue=1
10 | LastTimeFilterUnit=4
11 | ReadArchiveFiles=1
12 | UseQuickFilter=0
13 | QuickFilterString=
14 | QuickFilterColumnsMode=1
15 | QuickFilterFindMode=1
16 | QuickFilterShowHide=1
17 | WinPos=2C 00 00 00 02 00 00 00 03 00 00 00 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF B4 F8 FF FF 34 00 00 00 34 FB FF FF 14 02 00 00
18 | Columns=98 00 00 00 96 00 01 00 96 00 02 00 FA 00 03 00 96 00 04 00 78 00 05 00
19 | Sort=4096
20 |
--------------------------------------------------------------------------------
/Scripts/CheckLastActivity/LastActivityView.chm:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/Scripts/CheckLastActivity/LastActivityView.chm
--------------------------------------------------------------------------------
/Scripts/CheckLastActivity/LastActivityView.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/Scripts/CheckLastActivity/LastActivityView.exe
--------------------------------------------------------------------------------
/Scripts/CheckLastActivity/lastactivityview.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/Scripts/CheckLastActivity/lastactivityview.zip
--------------------------------------------------------------------------------
/Scripts/CheckLocalAdmins/CheckLocalAdmins2.ps1:
--------------------------------------------------------------------------------
1 | $global:admins = Gwmi win32_groupuser #-ComputerName Micka
2 | $global:admins = $global:admins |? {$_.groupcomponent –like '*"Administrateurs"'}
3 | $global:admins | Select-Object -Property GroupComponent,PartComponent | Format-table -AutoSize
4 |
5 |
6 |
--------------------------------------------------------------------------------
/Scripts/CheckLogonHistory/GetLogonLogoff.ps1:
--------------------------------------------------------------------------------
1 | <#
2 | .SYNOPSIS
3 | Get log on and log off dates from a particular computer.
4 | .DESCRIPTION
5 | This script will search for log on and log off events on a particular computer
6 | and display them in a table.
7 | .NOTES
8 | Version: 1.0
9 | Author: Daniel Allen
10 | Last Modified Date: 16.08.2016
11 | .EXAMPLE
12 | ./Get-LogOn-LogOff.ps1
13 | #>
14 |
15 | Param (
16 | [string]$Computer = $env:computername,
17 | [int]$Days = 30
18 | )
19 |
20 | $Result = @()
21 |
22 | Write-Host "La collecte des journaux d’événements peut prendre un certain temps...."
23 |
24 | $ELogs = Get-EventLog System -Source Microsoft-Windows-WinLogon -After (Get-Date).AddDays(-$Days) -ComputerName $Computer
25 |
26 | if ($ELogs) {
27 |
28 | Write-Host "Recherche en cours..."
29 |
30 | ForEach ($Log in $ELogs) {
31 |
32 | if ($Log.InstanceId -eq 7001) { $ET = "Logon" }
33 |
34 | elseif ($Log.InstanceId -eq 7002) { $ET = "Logoff" }
35 |
36 | else { Continue }
37 |
38 | $Result += New-Object PSObject -Property @{
39 | Time = $Log.TimeWritten
40 | 'Event Type' = $ET
41 | User = (New-Object System.Security.Principal.SecurityIdentifier $Log.ReplacementStrings[1]).Translate([System.Security.Principal.NTAccount])
42 | }
43 | }
44 |
45 | $Result | Select Time,"Event Type",User | Sort Time -Descending #| Out-GridView
46 |
47 | Write-Host "Voili Voilou."
48 | }
49 |
50 | else {
51 |
52 | Write-Host "Un problème avec $Computer."
53 | Write-Host "If you see a 'Network Path not found' error, try starting the Remote Registry service on that computer."
54 | Write-Host "Or there are no logon/logoff events (XP requires auditing be turned on)"
55 | }
--------------------------------------------------------------------------------
/Scripts/CheckMappedDrives/MappedDrives.ps1:
--------------------------------------------------------------------------------
1 | $ComputerName = "$env:computername"
2 | $explorer = Get-WmiObject -ComputerName $ComputerName -Class win32_process | ?{$_.name -eq "explorer.exe"}
3 |
4 | #If a session was returned check HKEY_USERS for Network drives under their SID
5 | if($explorer){
6 | $Hive = [long]$HIVE_HKU = 2147483651
7 | $sid = ($explorer.GetOwnerSid()).sid
8 | $owner = $explorer.GetOwner()
9 | $RegProv = get-WmiObject -List -Namespace "root\default" -ComputerName $ComputerName | Where-Object {$_.Name -eq "StdRegProv"}
10 | $DriveList = $RegProv.EnumKey($Hive, "$($sid)\Network")
11 |
12 | #If the SID network has mapped drives iterate and report on said drives
13 | if($DriveList.sNames.count -gt 0){
14 | "$($owner.Domain)\$($owner.user) on $($ComputerName)"
15 | foreach($drive in $DriveList.sNames){
16 | "$($drive)`t$(($RegProv.GetStringValue($Hive, "$($sid)\Network\$($drive)", "RemotePath")).sValue)"
17 | }
18 | }else{"No mapped drives on $($ComputerName)"}
19 | }else{"explorer.exe not running on $($ComputerName)"}
--------------------------------------------------------------------------------
/Scripts/CheckMonitorEDID/MonitorInfoView.cfg:
--------------------------------------------------------------------------------
1 | [General]
2 | ShowGridLines=0
3 | SaveFilterIndex=0
4 | VerSplitLoc=16383
5 | ShowInfoTip=1
6 | HideInactiveMonitors=0
7 | LowerPaneMode=1
8 | WinPos=2C 00 00 00 00 00 00 00 01 00 00 00 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF D0 00 00 00 D0 00 00 00 88 04 00 00 FD 02 00 00
9 | Columns=78 00 00 00 50 00 01 00 6E 00 02 00 64 00 03 00 6E 00 04 00 6E 00 05 00 64 00 06 00 82 00 07 00 82 00 08 00 78 00 09 00 78 00 0A 00 5A 00 0B 00 5A 00 0C 00 5A 00 0D 00 5A 00 0E 00 5A 00 0F 00 5A 00 10 00 5A 00 11 00 5A 00 12 00 FA 00 13 00 96 00 14 00 78 00 15 00
10 | Sort=0
11 |
--------------------------------------------------------------------------------
/Scripts/CheckMonitorEDID/MonitorInfoView.chm:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/Scripts/CheckMonitorEDID/MonitorInfoView.chm
--------------------------------------------------------------------------------
/Scripts/CheckMonitorEDID/MonitorInfoView.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/Scripts/CheckMonitorEDID/MonitorInfoView.exe
--------------------------------------------------------------------------------
/Scripts/CheckNetworkPrinters/Printers.bat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/Scripts/CheckNetworkPrinters/Printers.bat
--------------------------------------------------------------------------------
/Scripts/CheckOpenedWindows/GUIPropView.cfg:
--------------------------------------------------------------------------------
1 | [General]
2 | MarkOddEvenRows=0
3 | ShowGridLines=0
4 | SaveFilterIndex=0
5 | ShowInfoTip=1
6 | AutoRefresh=1
7 | DisplayHiddenWindows=0
8 | DisplayZeroSizeWindows=0
9 | SortOnEveryUpdate=0
10 | HideMyWindows=0
11 | ShowChildInLowerPane=1
12 | DisplayHiddenChildWindows=1
13 | DisplayDisabledChildWindows=1
14 | VerSplitLoc=16383
15 | SaveFileEncoeding=0
16 | AddExportHeaderLine=1
17 | WinPos=2C 00 00 00 00 00 00 00 01 00 00 00 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 4E 00 00 00 4E 00 00 00 38 06 00 00 75 03 00 00
18 | Columns=64 00 00 00 96 00 01 00 50 00 02 00 50 00 03 00 64 00 04 00 64 00 05 00 96 00 06 00 96 00 07 00 50 00 08 00 50 00 09 00 64 00 0A 00 FA 00 0B 00 FA 00 0C 00 FA 00 0D 00 78 00 0E 00 78 00 0F 00 78 00 10 00 78 00 11 00 78 00 12 00 64 00 13 00 64 00 14 00 64 00 15 00
19 | Sort=7
20 | ChildColumns=64 00 00 00 64 00 01 00 50 00 02 00 C8 00 03 00 50 00 04 00 50 00 05 00 50 00 06 00 78 00 07 00 78 00 08 00 96 00 09 00 64 00 0A 00 64 00 0B 00 C8 00 0C 00 C8 00 0D 00 C8 00 0E 00 64 00 0F 00 64 00 10 00 64 00 11 00 64 00 12 00 64 00 13 00 64 00 14 00 64 00 15 00
21 | ChildSort=0
22 |
--------------------------------------------------------------------------------
/Scripts/CheckOpenedWindows/GUIPropView.chm:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/Scripts/CheckOpenedWindows/GUIPropView.chm
--------------------------------------------------------------------------------
/Scripts/CheckOpenedWindows/GUIPropView.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/Scripts/CheckOpenedWindows/GUIPropView.exe
--------------------------------------------------------------------------------
/Scripts/CheckProcessorUsage/ProcessorUsage.ps1:
--------------------------------------------------------------------------------
1 | for ($i=0;$i -lt 7;$i++) {
2 | $counters = Get-Counter -Counter '\processeur(_total)\% temps processeur' #-ComputerName Alex
3 | $properties = @(
4 |
5 | @{n='Server';e={$_.Path.Split('\')[2]}},
6 |
7 | @{n='Counter';e={$_.Path.Split('\')[-1]}},
8 |
9 | @{n='Value';e={[math]::Round($_.CookedValue)}}
10 |
11 | )
12 |
13 | $counters.CounterSamples | Select-Object -Property $properties
14 |
15 | sleep 1
16 |
17 | }
--------------------------------------------------------------------------------
/Scripts/CheckReliability/Reliability_AppError.ps1:
--------------------------------------------------------------------------------
1 | Function Get-ReliabilityInfo{
2 | <#
3 | .SYNOPSIS
4 | List events from the reliability records
5 | .DESCRIPTION
6 | This is helpful for troubleshooting application hangs, errors, failed Windows Updates, and much more. You can also determine which Windows Updates have been installed recently.
7 | .NOTES
8 | Author : Rich Prescott
9 | Requires: PowerShell Version 1.0
10 | .LINK
11 | http://blog.richprescott.com
12 | http://twitter.com/Rich_Prescott
13 | .EXAMPLE
14 | Get-ReliabilityInfo
15 |
16 | Lists application errors from the local computer
17 | .EXAMPLE
18 | Get-ReliabilityInfo -Computername MyPC01 -Type Microsoft-Windows-WindowsUpdateClient
19 |
20 | Shows recently installed updates and their installation results
21 | .Parameter Type
22 | Available Options:
23 | MsiInstaller
24 | Microsoft-Windows-WindowsUpdateClient
25 | Microsoft-Windows-UserPnp
26 | Application Error
27 | Application Hang
28 | EventLog
29 | #>
30 |
31 | Param(
32 | [String[]]$Computername=$Env:Computername,
33 | [String]$Type='Application Error'
34 | )
35 |
36 | Process{
37 | ForEach ($Computer in $ComputerName){
38 | Get-WmiObject Win32_ReliabilityRecords -ComputerName $Computer |
39 | Where-Object{$_.SourceName -eq $Type} |
40 | Sort-Object TimeGenerated |
41 | Select-Object SourceName,Logfile,TimeGenerated,EventIdentifier,Message
42 | }
43 | }
44 | }
45 | Get-ReliabilityInfo
--------------------------------------------------------------------------------
/Scripts/CheckReliability/Reliability_AppHang.ps1:
--------------------------------------------------------------------------------
1 | Function Get-ReliabilityInfo{
2 | <#
3 | .SYNOPSIS
4 | List events from the reliability records
5 | .DESCRIPTION
6 | This is helpful for troubleshooting application hangs, errors, failed Windows Updates, and much more. You can also determine which Windows Updates have been installed recently.
7 | .NOTES
8 | Author : Rich Prescott
9 | Requires: PowerShell Version 1.0
10 | .LINK
11 | http://blog.richprescott.com
12 | http://twitter.com/Rich_Prescott
13 | .EXAMPLE
14 | Get-ReliabilityInfo
15 |
16 | Lists application errors from the local computer
17 | .EXAMPLE
18 | Get-ReliabilityInfo -Computername MyPC01 -Type Microsoft-Windows-WindowsUpdateClient
19 |
20 | Shows recently installed updates and their installation results
21 | .Parameter Type
22 | Available Options:
23 | MsiInstaller
24 | Microsoft-Windows-WindowsUpdateClient
25 | Microsoft-Windows-UserPnp
26 | Application Error
27 | Application Hang
28 | EventLog
29 | #>
30 |
31 | Param(
32 | [String[]]$Computername=$Env:Computername,
33 | [String]$Type='Application Hang'
34 | )
35 |
36 | Process{
37 | ForEach ($Computer in $ComputerName){
38 | Get-WmiObject Win32_ReliabilityRecords -ComputerName $Computer |
39 | Where-Object{$_.SourceName -eq $Type} |
40 | Sort-Object TimeGenerated |
41 | Select-Object SourceName,Logfile,TimeGenerated,EventIdentifier,Message
42 | }
43 | }
44 | }
45 | Get-ReliabilityInfo
--------------------------------------------------------------------------------
/Scripts/CheckReliability/Reliability_EventLog.ps1:
--------------------------------------------------------------------------------
1 | Function Get-ReliabilityInfo{
2 | <#
3 | .SYNOPSIS
4 | List events from the reliability records
5 | .DESCRIPTION
6 | This is helpful for troubleshooting application hangs, errors, failed Windows Updates, and much more. You can also determine which Windows Updates have been installed recently.
7 | .NOTES
8 | Author : Rich Prescott
9 | Requires: PowerShell Version 1.0
10 | .LINK
11 | http://blog.richprescott.com
12 | http://twitter.com/Rich_Prescott
13 | .EXAMPLE
14 | Get-ReliabilityInfo
15 |
16 | Lists application errors from the local computer
17 | .EXAMPLE
18 | Get-ReliabilityInfo -Computername MyPC01 -Type Microsoft-Windows-WindowsUpdateClient
19 |
20 | Shows recently installed updates and their installation results
21 | .Parameter Type
22 | Available Options:
23 | MsiInstaller
24 | Microsoft-Windows-WindowsUpdateClient
25 | Microsoft-Windows-UserPnp
26 | Application Error
27 | Application Hang
28 | EventLog
29 | #>
30 |
31 | Param(
32 | [String[]]$Computername=$Env:Computername,
33 | [String]$Type='EventLog'
34 | )
35 |
36 | Process{
37 | ForEach ($Computer in $ComputerName){
38 | Get-WmiObject Win32_ReliabilityRecords -ComputerName $Computer |
39 | Where-Object{$_.SourceName -eq $Type} |
40 | Sort-Object TimeGenerated |
41 | Select-Object SourceName,Logfile,TimeGenerated,EventIdentifier,Message
42 | }
43 | }
44 | }
45 | Get-ReliabilityInfo
--------------------------------------------------------------------------------
/Scripts/CheckReliability/Reliability_MsiInstaller.ps1:
--------------------------------------------------------------------------------
1 | Function Get-ReliabilityInfo{
2 | <#
3 | .SYNOPSIS
4 | List events from the reliability records
5 | .DESCRIPTION
6 | This is helpful for troubleshooting application hangs, errors, failed Windows Updates, and much more. You can also determine which Windows Updates have been installed recently.
7 | .NOTES
8 | Author : Rich Prescott
9 | Requires: PowerShell Version 1.0
10 | .LINK
11 | http://blog.richprescott.com
12 | http://twitter.com/Rich_Prescott
13 | .EXAMPLE
14 | Get-ReliabilityInfo
15 |
16 | Lists application errors from the local computer
17 | .EXAMPLE
18 | Get-ReliabilityInfo -Computername MyPC01 -Type Microsoft-Windows-WindowsUpdateClient
19 |
20 | Shows recently installed updates and their installation results
21 | .Parameter Type
22 | Available Options:
23 | MsiInstaller
24 | Microsoft-Windows-WindowsUpdateClient
25 | Microsoft-Windows-UserPnp
26 | Application Error
27 | Application Hang
28 | EventLog
29 | #>
30 |
31 | Param(
32 | [String[]]$Computername=$Env:Computername,
33 | [String]$Type='MsiInstaller'
34 | )
35 |
36 | Process{
37 | ForEach ($Computer in $ComputerName){
38 | Get-WmiObject Win32_ReliabilityRecords -ComputerName $Computer |
39 | Where-Object{$_.SourceName -eq $Type} |
40 | Sort-Object TimeGenerated |
41 | Select-Object SourceName,Logfile,TimeGenerated,EventIdentifier,Message
42 | }
43 | }
44 | }
45 | Get-ReliabilityInfo
--------------------------------------------------------------------------------
/Scripts/CheckReliability/Reliability_UserPnp.ps1:
--------------------------------------------------------------------------------
1 | Function Get-ReliabilityInfo{
2 | <#
3 | .SYNOPSIS
4 | List events from the reliability records
5 | .DESCRIPTION
6 | This is helpful for troubleshooting application hangs, errors, failed Windows Updates, and much more. You can also determine which Windows Updates have been installed recently.
7 | .NOTES
8 | Author : Rich Prescott
9 | Requires: PowerShell Version 1.0
10 | .LINK
11 | http://blog.richprescott.com
12 | http://twitter.com/Rich_Prescott
13 | .EXAMPLE
14 | Get-ReliabilityInfo
15 |
16 | Lists application errors from the local computer
17 | .EXAMPLE
18 | Get-ReliabilityInfo -Computername MyPC01 -Type Microsoft-Windows-WindowsUpdateClient
19 |
20 | Shows recently installed updates and their installation results
21 | .Parameter Type
22 | Available Options:
23 | MsiInstaller
24 | Microsoft-Windows-WindowsUpdateClient
25 | Microsoft-Windows-UserPnp
26 | Application Error
27 | Application Hang
28 | EventLog
29 | #>
30 |
31 | Param(
32 | [String[]]$Computername=$Env:Computername,
33 | [String]$Type='Microsoft-Windows-UserPnp'
34 | )
35 |
36 | Process{
37 | ForEach ($Computer in $ComputerName){
38 | Get-WmiObject Win32_ReliabilityRecords -ComputerName $Computer |
39 | Where-Object{$_.SourceName -eq $Type} |
40 | Sort-Object TimeGenerated |
41 | Select-Object SourceName,Logfile,TimeGenerated,EventIdentifier,Message
42 | }
43 | }
44 | }
45 | Get-ReliabilityInfo
--------------------------------------------------------------------------------
/Scripts/CheckReliability/Reliability_WindowsUpdate.ps1:
--------------------------------------------------------------------------------
1 | Function Get-ReliabilityInfo{
2 | <#
3 | .SYNOPSIS
4 | List events from the reliability records
5 | .DESCRIPTION
6 | This is helpful for troubleshooting application hangs, errors, failed Windows Updates, and much more. You can also determine which Windows Updates have been installed recently.
7 | .NOTES
8 | Author : Rich Prescott
9 | Requires: PowerShell Version 1.0
10 | .LINK
11 | http://blog.richprescott.com
12 | http://twitter.com/Rich_Prescott
13 | .EXAMPLE
14 | Get-ReliabilityInfo
15 |
16 | Lists application errors from the local computer
17 | .EXAMPLE
18 | Get-ReliabilityInfo -Computername MyPC01 -Type Microsoft-Windows-WindowsUpdateClient
19 |
20 | Shows recently installed updates and their installation results
21 | .Parameter Type
22 | Available Options:
23 | MsiInstaller
24 | Microsoft-Windows-WindowsUpdateClient
25 | Microsoft-Windows-UserPnp
26 | Application Error
27 | Application Hang
28 | EventLog
29 | #>
30 |
31 | Param(
32 | [String[]]$Computername=$Env:Computername,
33 | [String]$Type='Microsoft-Windows-WindowsUpdateClient'
34 | )
35 |
36 | Process{
37 | ForEach ($Computer in $ComputerName){
38 | Get-WmiObject Win32_ReliabilityRecords -ComputerName $Computer |
39 | Where-Object{$_.SourceName -eq $Type} |
40 | Sort-Object TimeGenerated |
41 | Select-Object SourceName,Logfile,TimeGenerated,EventIdentifier,Message
42 | }
43 | }
44 | }
45 | Get-ReliabilityInfo
--------------------------------------------------------------------------------
/Scripts/CheckShortcuts/shman.cfg:
--------------------------------------------------------------------------------
1 | [General]
2 | MarkBrokenShortcuts=1
3 | AskBeforeAnyAction=1
4 | ShowGridLines=1
5 | SaveFilterIndex=0
6 | WinPos=2C 00 00 00 00 00 00 00 01 00 00 00 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 00 00 00 00 00 00 00 5A 02 00 00 1B 02 00 00
7 | Columns=64 00 00 00 9C 00 01 00 64 00 02 00 64 00 03 00 64 00 04 00 64 00 05 00 64 00 06 00 64 00 07 00 64 00 08 00 64 00 09 00 64 00 0A 00 64 00 0B 00
8 | Sort=4097
9 |
--------------------------------------------------------------------------------
/Scripts/CheckShortcuts/shman.chm:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/Scripts/CheckShortcuts/shman.chm
--------------------------------------------------------------------------------
/Scripts/CheckShortcuts/shman.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/Scripts/CheckShortcuts/shman.exe
--------------------------------------------------------------------------------
/Scripts/CheckSound/README.md:
--------------------------------------------------------------------------------
1 | ````
2 | Packages to Check & Set the Render and Capture volume on a remote computer.
3 | Every package is based on same files.
4 | You can adjust % directly in the package parameters.
5 | ````
6 | ````
7 | "Check Volume Son.xml" to Check volume (%) in HTML (or csv) report
8 | "Set Volume Hauts-parleurs 75%.xml" to Set Render volume at 75%
9 | "Set Volume Microphone 35%.xml" to Set Capture volume at 35%
10 | ````
11 |
12 | It should look like this :
13 |
14 | 
15 |
--------------------------------------------------------------------------------
/Scripts/CheckSound/SoundCheck_Set.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/Scripts/CheckSound/SoundCheck_Set.png
--------------------------------------------------------------------------------
/Scripts/CheckSound/SoundVolumeView.cfg:
--------------------------------------------------------------------------------
1 | [General]
2 | MarkOddEvenRows=0
3 | ShowGridLines=0
4 | SaveFilterIndex=0
5 | ShowInfoTip=1
6 | AutoRefresh=1
7 | TrayIcon=0
8 | StartAsHidden=0
9 | SortOnEveryUpdate=0
10 | MainFont=00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
11 | AlwaysOnTop=0
12 | AutoSizeColumnsOnUpdate=0
13 | MouseWheelMode=2
14 | MouseWheelPercentChange=5
15 | ShowDisabledDevices=0
16 | AlignNumbersToRight=0
17 | SelectedChannel=0
18 | WinPos=2C 00 00 00 00 00 00 00 01 00 00 00 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF D9 F8 FF FF 33 01 00 00 7E FD FF FF B9 03 00 00
19 | Columns=96 00 00 00 78 00 01 00 5A 00 02 00 96 00 03 00 64 00 04 00 64 00 05 00 64 00 06 00 78 00 07 00 78 00 08 00 78 00 09 00 78 00 0A 00 78 00 0B 00 5E 01 0C 00 5E 01 0D 00 5E 01 0E 00 96 00 0F 00 96 00 10 00 2C 01 11 00 64 00 12 00 96 00 13 00
20 | Sort=0
21 | [RecentFiles]
22 | 0=
23 | 1=
24 | 2=
25 | 3=
26 | 4=
27 | 5=
28 | 6=
29 | 7=
30 | 8=
31 | 9=
32 |
--------------------------------------------------------------------------------
/Scripts/CheckSound/SoundVolumeView.chm:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/Scripts/CheckSound/SoundVolumeView.chm
--------------------------------------------------------------------------------
/Scripts/CheckSound/SoundVolumeView.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/Scripts/CheckSound/SoundVolumeView.exe
--------------------------------------------------------------------------------
/Scripts/CheckSound/soundvolumeview-x64.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/Scripts/CheckSound/soundvolumeview-x64.zip
--------------------------------------------------------------------------------
/Scripts/CheckSound/soundvolumeview.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/Scripts/CheckSound/soundvolumeview.zip
--------------------------------------------------------------------------------
/Scripts/CheckStartup/WhatInStartup.cfg:
--------------------------------------------------------------------------------
1 | [General]
2 | ShowGridLines=0
3 | SaveFilterIndex=0
4 | ShowInfoTip=1
5 | TrayIcon=0
6 | MarkDisabledItems=1
7 | ShowTimeInGMT=0
8 | WindowsFolder=
9 | ProfileFolder=
10 | ProcessPathDriveAsWinDir=1
11 | PermanentDisableMode=1
12 | AddExportHeaderLine=0
13 | WinPos=2C 00 00 00 00 00 00 00 01 00 00 00 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 00 00 00 00 00 00 00 80 02 00 00 E0 01 00 00
14 | Columns=E1 00 00 00 78 00 01 00 38 03 02 00 64 00 03 00 78 00 04 00 78 00 05 00 78 00 06 00 78 00 07 00 B4 00 08 00 FA 00 09 00 78 00 0A 00 78 00 0B 00 50 00 0C 00 64 00 0D 00 78 00 0E 00
15 | Sort=0
16 | [Disabled_ALEX]
17 | 0=1 Canon DR-C240 SVC
18 | 1=3 Steam
19 | 2=6 checkLecteur.lnk
20 | Count=3
21 |
--------------------------------------------------------------------------------
/Scripts/CheckStartup/WhatInStartup.chm:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/Scripts/CheckStartup/WhatInStartup.chm
--------------------------------------------------------------------------------
/Scripts/CheckStartup/WhatInStartup.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/Scripts/CheckStartup/WhatInStartup.exe
--------------------------------------------------------------------------------
/Scripts/CheckStartup/whatinstartup-x64.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/Scripts/CheckStartup/whatinstartup-x64.zip
--------------------------------------------------------------------------------
/Scripts/CheckStartup/whatinstartup.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/Scripts/CheckStartup/whatinstartup.zip
--------------------------------------------------------------------------------
/Scripts/CheckUSBDevices/USBDeview.cfg:
--------------------------------------------------------------------------------
1 | [General]
2 | ShowGridLines=0
3 | ShowInfoTip=1
4 | DisplayDisconnected=1
5 | DisplayNoPortSerial=1
6 | DisplayNoDriver=0
7 | DisplayHubs=0
8 | ShowDisconnectMessage=0
9 | TrayIcon=0
10 | ShowWindowOnDeviceConnect=0
11 | DisplayOnlyDriveLetter=0
12 | AutoPlayOnDeviceConnect=0
13 | DisplayBalloonOnDeviceConnect=0
14 | StartAsHidden=0
15 | ShowTimeInGMT=0
16 | DisplayBalloonOnDeviceDisconnect=0
17 | RetrieveUSBPower=1
18 | MarkConnectedDevices=1
19 | SortOnEveryUpdate=0
20 | SaveFilterIndex=0
21 | DeviceConnectExecute=
22 | UseDeviceConnectExecute=0
23 | DeviceDisconnectExecute=
24 | UseDeviceDisconnectExecute=0
25 | AddExportHeaderLine=0
26 | MarkOddEvenRows=0
27 | DecodeSerialNumbers=1
28 | MainFont=00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
29 | RemoteComputer=
30 | RemoteFile=
31 | AutoStartRemoteRegistry=0
32 | DisableEnableWaitTime=100
33 | AlwaysOnTop=0
34 | WinPos=2C 00 00 00 02 00 00 00 03 00 00 00 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 00 00 00 00 00 00 00 5F 05 00 00 62 03 00 00
35 | Columns=96 00 00 00 B4 00 01 00 96 00 02 00 5A 00 03 00 5A 00 04 00 5A 00 05 00 50 00 06 00 5A 00 07 00 78 00 08 00 78 00 09 00 78 00 0A 00 64 00 0B 00 64 00 0C 00 64 00 0D 00 50 00 0E 00 50 00 0F 00 50 00 10 00 64 00 11 00 6E 00 12 00 96 00 13 00 96 00 14 00 96 00 15 00 6E 00 16 00 6E 00 17 00 6E 00 18 00 6E 00 19 00 8C 00 1A 00 8C 00 1B 00 5A 00 1C 00 5A 00 1D 00 82 00 1E 00 82 00 1F 00 82 00 20 00 82 00 21 00 C8 00 22 00 96 00 23 00
36 | Sort=0
37 |
--------------------------------------------------------------------------------
/Scripts/CheckUSBDevices/USBDeview.chm:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/Scripts/CheckUSBDevices/USBDeview.chm
--------------------------------------------------------------------------------
/Scripts/CheckUSBDevices/USBDeview.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/Scripts/CheckUSBDevices/USBDeview.exe
--------------------------------------------------------------------------------
/Scripts/CheckUSBDevices/usbdeview-x64.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/Scripts/CheckUSBDevices/usbdeview-x64.zip
--------------------------------------------------------------------------------
/Scripts/CheckUSBDevices/usbdeview.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/Scripts/CheckUSBDevices/usbdeview.zip
--------------------------------------------------------------------------------
/Scripts/CheckUpTimes/TurnedOnTimesView.cfg:
--------------------------------------------------------------------------------
1 | [General]
2 | MarkOddEvenRows=0
3 | ShowGridLines=0
4 | SaveFilterIndex=0
5 | ShowInfoTip=1
6 | ShowTimeInGMT=0
7 | UseNewEventLogAPI=0
8 | SleepEvents=1
9 | Source=1
10 | RemoteComputer=
11 | ExternalFolder=
12 | ReadArchiveFiles=1
13 | MultiServers=
14 | MainFont=00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
15 | WinPos=2C 00 00 00 00 00 00 00 01 00 00 00 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF CE F8 FF FF 4E 00 00 00 B0 FC FF FF 42 02 00 00
16 | Columns=96 00 00 00 96 00 01 00 78 00 02 00 96 00 03 00 9B 00 04 00 96 00 05 00 96 00 06 00 96 00 07 00 96 00 08 00
17 | Sort=0
18 |
--------------------------------------------------------------------------------
/Scripts/CheckUpTimes/TurnedOnTimesView.chm:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/Scripts/CheckUpTimes/TurnedOnTimesView.chm
--------------------------------------------------------------------------------
/Scripts/CheckUpTimes/TurnedOnTimesView.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/Scripts/CheckUpTimes/TurnedOnTimesView.exe
--------------------------------------------------------------------------------
/Scripts/CheckUpTimes/turnedontimesview.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/Scripts/CheckUpTimes/turnedontimesview.zip
--------------------------------------------------------------------------------
/Scripts/CheckVNCPassword/BasicProg.cfg:
--------------------------------------------------------------------------------
1 | [General]
2 | ShowGridLines=0
3 | SaveFilterIndex=0
4 | ShowInfoTip=1
5 | WinPos=2C 00 00 00 00 00 00 00 01 00 00 00 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 00 00 00 00 00 00 00 F1 03 00 00 9F 01 00 00
6 | Columns=BE 00 00 00 50 00 01 00 BE 00 02 00
7 | Sort=0
8 |
--------------------------------------------------------------------------------
/Scripts/CheckVNCPassword/VNCPassView.chm:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/Scripts/CheckVNCPassword/VNCPassView.chm
--------------------------------------------------------------------------------
/Scripts/CheckVNCPassword/VNCPassView.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/Scripts/CheckVNCPassword/VNCPassView.exe
--------------------------------------------------------------------------------
/Scripts/CheckVNCPassword/readme.txt:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | VNCPassView v1.05
5 | Copyright (c) 2007 - 2014 Nir Sofer
6 | Web site: http://www.nirsoft.net
7 |
8 |
9 |
10 | Description
11 | ===========
12 |
13 | VNCPassView is a small utility that recover the passwords stored by the
14 | VNC tool. It can recover 2 of passwords: password stored for the current
15 | logged-on user (HKEY_CURRENT_USER in the Registry), and password stored
16 | for the all users.
17 |
18 |
19 |
20 | Versions History
21 | ================
22 |
23 |
24 | * Version 1.05 - Added support for the password of TightVNC.
25 | * Version 1.02 - Added support for the latest version of UltraVNC.
26 | * Version 1.01 - Added support for version 3 of VNC.
27 | * Version 1.00 - First release.
28 |
29 |
30 |
31 | Using VNCPassView
32 | =================
33 |
34 | This utility doesn't require any installaion process or additional DLLs.
35 | Just run the executable file (VNCPassView.exe), and the VNC passwords
36 | will be displayed, if they are stored on your computer.
37 |
38 |
39 |
40 | Translating VNCPassView to other languages
41 | ==========================================
42 |
43 | In order to translate VNCPassView to other language, follow the
44 | instructions below:
45 | 1. Run VNCPassView with /savelangfile parameter:
46 | VNCPassView.exe /savelangfile
47 | A file named VNCPassView_lng.ini will be created in the folder of
48 | VNCPassView utility.
49 | 2. Open the created language file in Notepad or in any other text
50 | editor.
51 | 3. Translate all string entries to the desired language. Optionally,
52 | you can also add your name and/or a link to your Web site.
53 | (TranslatorName and TranslatorURL values) If you add this information,
54 | it'll be used in the 'About' window.
55 | 4. After you finish the translation, Run VNCPassView, and all
56 | translated strings will be loaded from the language file.
57 | If you want to run VNCPassView without the translation, simply rename
58 | the language file, or move it to another folder.
59 |
60 |
61 |
62 | License
63 | =======
64 |
65 | This utility is released as freeware. You are allowed to freely
66 | distribute this utility via floppy disk, CD-ROM, Internet, or in any
67 | other way, as long as you don't charge anything for this. If you
68 | distribute this utility, you must include all files in the distribution
69 | package, without any modification !
70 |
71 |
72 |
73 | Disclaimer
74 | ==========
75 |
76 | The software is provided "AS IS" without any warranty, either expressed
77 | or implied, including, but not limited to, the implied warranties of
78 | merchantability and fitness for a particular purpose. The author will not
79 | be liable for any special, incidental, consequential or indirect damages
80 | due to loss of data or any other reason.
81 |
82 |
83 |
84 | Feedback
85 | ========
86 |
87 | If you have any problem, suggestion, comment, or you found a bug in my
88 | utility, you can send a message to nirsofer@yahoo.com
89 |
--------------------------------------------------------------------------------
/Scripts/CheckVNCPassword/vncpassview.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/Scripts/CheckVNCPassword/vncpassview.zip
--------------------------------------------------------------------------------
/Scripts/CheckWebcamImage/WebCamImageSave.cfg:
--------------------------------------------------------------------------------
1 | [General]
2 | ShowGridLines=0
3 | SaveFilterIndex=0
4 | ShowInfoTip=1
5 | PreviewMode=1
6 | PreviewScaling=1
7 | HardwareOverlay=0
8 | LabelColor=00C0E0
9 | ShadeColor=404040
10 | UseCustomLabel=0
11 | UseCaptureEvery=1
12 | CaptureEvery=60
13 | ImageQuality=75
14 | Label=%date:yyyy-MM-dd% %time:HH:mm:ss%
15 | Filename=
16 | TrayIcon=0
17 | FontBold=1
18 | FontSize=22
19 | FontName=Arial
20 | LabelPosition=1
21 | LoadLabelFromFile=0
22 | LabelFilename=
23 | StartAsHidden=0
24 | WinPos=2C 00 00 00 00 00 00 00 01 00 00 00 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 00 00 00 00 00 00 00 80 02 00 00 E0 01 00 00
25 |
--------------------------------------------------------------------------------
/Scripts/CheckWebcamImage/WebCamImageSave.chm:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/Scripts/CheckWebcamImage/WebCamImageSave.chm
--------------------------------------------------------------------------------
/Scripts/CheckWebcamImage/WebCamImageSave.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/Scripts/CheckWebcamImage/WebCamImageSave.exe
--------------------------------------------------------------------------------
/Scripts/CheckWifiHistory/WifiHistoryView.cfg:
--------------------------------------------------------------------------------
1 | [General]
2 | MarkOddEvenRows=0
3 | ShowGridLines=0
4 | SaveFilterIndex=0
5 | ShowInfoTip=1
6 | ShowTimeInGMT=0
7 | LoadFrom=1
8 | Filename=
9 | RemoteComputer=
10 | ReadArchiveFiles=1
11 | ShadowCopy=
12 | SaveFileEncoeding=0
13 | UseQuickFilter=0
14 | QuickFilterString=
15 | QuickFilterColumnsMode=1
16 | QuickFilterFindMode=1
17 | QuickFilterShowHide=1
18 | WinPos=2C 00 00 00 00 00 00 00 01 00 00 00 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 68 00 00 00 68 00 00 00 62 04 00 00 FB 02 00 00
19 | Columns=78 00 00 00 78 00 01 00 96 00 02 00 78 00 03 00 78 00 04 00 64 00 05 00 78 00 06 00 6E 00 07 00 78 00 08 00 96 00 09 00 78 00 0A 00 78 00 0B 00 78 00 0C 00 96 00 0D 00 96 00 0E 00 64 00 0F 00 78 00 10 00 78 00 11 00 78 00 12 00 96 00 13 00
20 | Sort=0
21 |
--------------------------------------------------------------------------------
/Scripts/CheckWifiHistory/WifiHistoryView.chm:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/Scripts/CheckWifiHistory/WifiHistoryView.chm
--------------------------------------------------------------------------------
/Scripts/CheckWifiHistory/WifiHistoryView.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/Scripts/CheckWifiHistory/WifiHistoryView.exe
--------------------------------------------------------------------------------
/Scripts/CheckWifiNetview/WirelessNetView.cfg:
--------------------------------------------------------------------------------
1 | [General]
2 | TrayIcon=0
3 | ShowGridLines=0
4 | SaveFilterIndex=0
5 | ShowInfoTip=1
6 | AutoRefresh=1
7 | AutoRefreshRate=10
8 | SortOnEveryUpdate=1
9 | MarkBestNetwork=1
10 | MarkBestSecuredNetwork=1
11 | AutoSizeColumnsOnUpdate=0
12 | UpdateRate=1
13 | BeepOnNewNetwork=0
14 | AddExportHeaderLine=0
15 | ShowSecuredNetworks=1
16 | ShowUnsecuredNetworks=1
17 | MarkOddEvenRows=0
18 | StartAsHidden=0
19 | MacAddressFormat=1
20 | UseOnlyAdapter=0
21 | NetworkAdapter=
22 | ForceNegativeRSSI=0
23 | AlwaysOnTop=0
24 | WinPos=2C 00 00 00 00 00 00 00 01 00 00 00 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 68 00 00 00 68 00 00 00 4A 05 00 00 8B 03 00 00
25 | Columns=64 00 00 00 50 00 01 00 50 00 02 00 7D 00 03 00 50 00 04 00 50 00 05 00 50 00 06 00 6E 00 07 00 6E 00 08 00 6E 00 09 00 6E 00 0A 00 6E 00 0B 00 78 00 0C 00 78 00 0D 00 78 00 0E 00 64 00 0F 00 8C 00 10 00 6E 00 11 00 78 00 12 00 50 00 13 00 78 00 14 00
26 | Sort=0
27 |
--------------------------------------------------------------------------------
/Scripts/CheckWifiNetview/WirelessNetView.chm:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/Scripts/CheckWifiNetview/WirelessNetView.chm
--------------------------------------------------------------------------------
/Scripts/CheckWifiNetview/WirelessNetView.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/Scripts/CheckWifiNetview/WirelessNetView.exe
--------------------------------------------------------------------------------
/Scripts/CheckWifiStatus/WirelessConnectionInfo.cfg:
--------------------------------------------------------------------------------
1 | [General]
2 | MarkOddEvenRows=0
3 | ShowGridLines=0
4 | SaveFilterIndex=0
5 | ShowInfoTip=1
6 | AlwaysOnTop=0
7 | TrayIcon=0
8 | MainFont=00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
9 | WinPos=2C 00 00 00 00 00 00 00 01 00 00 00 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 34 00 00 00 34 00 00 00 5C 02 00 00 99 02 00 00
10 | Columns=C8 00 00 00 78 00 01 00 FA 00 02 00
11 | Sort=0
12 |
--------------------------------------------------------------------------------
/Scripts/CheckWifiStatus/WirelessConnectionInfo.chm:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/Scripts/CheckWifiStatus/WirelessConnectionInfo.chm
--------------------------------------------------------------------------------
/Scripts/CheckWifiStatus/WirelessConnectionInfo.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/Scripts/CheckWifiStatus/WirelessConnectionInfo.exe
--------------------------------------------------------------------------------
/Scripts/CheckWirelessPassword/WirelessKeyView.cfg:
--------------------------------------------------------------------------------
1 | [General]
2 | ShowGridLines=0
3 | SaveFilterIndex=0
4 | ShowInfoTip=1
5 | LoadFrom=3
6 | ExternalWinDir=
7 | AddExportHeaderLine=0
8 | MarkOddEvenRows=1
9 | ShowSSIDsWithoutKey=0
10 | ShowTimeInGMT=0
11 | LocalDecryptMethod=1
12 | AdvancedExternal=0
13 | WlansvcFolder=
14 | ProtectFolder=
15 | RegHiveFolder=
16 | RemoteComputer=lt-micka
17 | RemoteWinDriveLetter=C:
18 | WinPos=2C 00 00 00 00 00 00 00 01 00 00 00 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 00 00 00 00 00 00 00 8A 05 00 00 BA 01 00 00
19 | Columns=D7 00 00 00 78 00 01 00 A5 01 02 00 E6 00 03 00 C8 00 04 00 31 01 05 00 64 00 06 00 64 00 07 00 64 00 08 00 78 00 09 00 68 03 0A 00
20 | Sort=0
21 |
--------------------------------------------------------------------------------
/Scripts/CheckWirelessPassword/WirelessKeyView.chm:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/Scripts/CheckWirelessPassword/WirelessKeyView.chm
--------------------------------------------------------------------------------
/Scripts/CheckWirelessPassword/WirelessKeyView.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/Scripts/CheckWirelessPassword/WirelessKeyView.exe
--------------------------------------------------------------------------------
/Scripts/CheckWirelessPassword/wirelesskeyview-x64.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/Scripts/CheckWirelessPassword/wirelesskeyview-x64.zip
--------------------------------------------------------------------------------
/Scripts/CheckWirelessPassword/wirelesskeyview.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/Scripts/CheckWirelessPassword/wirelesskeyview.zip
--------------------------------------------------------------------------------
/Scripts/CheckandActiveRestorePoint/CheckandActiveRestorePoints.ps1:
--------------------------------------------------------------------------------
1 | $ScriptBlock = {
2 | Get-ComputerRestorePoint -OutVariable RestorePoints
3 |
4 | if(-not($RestorePoints)){
5 |
6 | $env:COMPUTERNAME
7 |
8 | Enable-ComputerRestore -Drive C: -Verbose
9 | }
10 | }
11 |
12 | Invoke-Command -ScriptBlock $ScriptBlock
--------------------------------------------------------------------------------
/Scripts/Clean/Clean Profils Dossiers.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | Both
9 | All
10 | OperatingSystem
11 |
12 |
13 | AlwaysRun
14 | LoggedOnUser
15 |
16 |
17 | None
18 |
19 |
20 | Collection
21 |
22 |
23 | Default
24 | 7.00:00:00
25 | Manual
26 |
27 |
28 |
29 |
30 |
31 |
32 | $(Repository)\Scripts\Clean\cleanupprofiles.vbs
33 |
34 |
35 |
36 | Install
37 |
38 | Never
39 |
40 | 0,1641,3010,2359302
41 |
42 |
43 |
44 | Both
45 | All
46 | OperatingSystem
47 |
48 |
49 | AlwaysRun
50 | LoggedOnUser
51 |
52 |
53 | None
54 |
55 |
56 | Collection
57 |
58 |
59 | StopDeploymentFail
60 | Clean Profils Dossiers
61 | Install
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 | Clean Profils Dossiers
79 | CHA Softwares\Scripts\Cleans\Clean Profils Dossiers
80 |
81 | Normal
82 | Icon-Package
83 |
84 |
85 |
86 |
--------------------------------------------------------------------------------
/Scripts/Clean/Clean.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/Scripts/Clean/Clean.png
--------------------------------------------------------------------------------
/Scripts/Clean/DelProf2.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/Scripts/Clean/DelProf2.exe
--------------------------------------------------------------------------------
/Scripts/Clean/README.md:
--------------------------------------------------------------------------------
1 | A Package to Clean C:\Users directory.
2 |
3 | Use this with https://github.com/wizz13150/PDQ_Repo/tree/master/Scripts/Cleanbk (Clean .bak keys)
4 |
5 | It should look like this :
6 |
7 | 
8 |
--------------------------------------------------------------------------------
/Scripts/Clean/cleanupprofiles.vbs:
--------------------------------------------------------------------------------
1 | '--------------------------------------------------------------------------------------------------------------------------
2 | '(c) 2006-2013 KoXo Developpement
3 | 'Script for cleaning local profiles
4 | '
5 | 'Delprof2
6 | 'from http://helgeklein.com/free-tools/delprof2-user-profile-deletion-tool/
7 | '--------------------------------------------------------------------------------------------------------------------------
8 | On Error Resume Next
9 | Dim objArgs, Path, Delprof, Params
10 | Set objArgs=WScript.Arguments
11 | DelProf="DelProf2.exe"
12 | Params="/i /u"
13 | If Params<>"" Then Params=" " & Params
14 | Path=WScript.ScriptFullName
15 | Path=Replace(Path,WScript.ScriptName,Delprof) & Params
16 | Execute Path
17 | WScript.Quit
18 | '--------------------------------------------------------------------------------------------------------------------------
19 | '///////////
20 | '// Execute
21 | function execute(CommandLine)
22 | On Error Resume Next
23 | Dim oShell
24 | Set oShell=CreateObject("WScript.Shell")
25 | err.Number=0
26 | oShell.Run CommandLine,1,True
27 | If err.number<>0 Then
28 | oShell.Popup "Execution : " & CommandLine & VbCrLf & "Description=" & err.Description & VbCrLf & "Code=" & err.Number,5,"Erreur",64
29 | End If
30 | end function
31 | '--------------------------------------------------------------------------------------------------------------------------
32 |
--------------------------------------------------------------------------------
/Scripts/CleanSpooler/CleanSpooler.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/Scripts/CleanSpooler/CleanSpooler.png
--------------------------------------------------------------------------------
/Scripts/CleanSpooler/CleanSpooler.ps1:
--------------------------------------------------------------------------------
1 | <#
2 | .SYNOPSIS
3 | Clean old spooled documents.
4 | .DESCRIPTION
5 | This script will delete old spooled documents that are stuck in queue.
6 | By default time is 2 hours old, but you could adjust it via $Date variable.
7 | .NOTES
8 | Version: 1.0
9 | Author: Daniel Allen
10 | Last Modified Date: 16.08.2016
11 | .EXAMPLE
12 | ./Clean-Spooler.ps1
13 | #>
14 |
15 | $Date = (Get-Date).AddHours(-2)
16 |
17 | Stop-Service spooler
18 | Sleep 5
19 | Get-ChildItem -Path "C:\Windows\System32\spool\PRINTERS" | Where-Object { $_.LastWriteTime -lt $Date } | Remove-Item -Verbose
20 | Start-Service spooler
--------------------------------------------------------------------------------
/Scripts/CleanSpooler/README.md:
--------------------------------------------------------------------------------
1 | A Package to Clean Spooler.
2 |
3 | ````
4 | .SYNOPSIS
5 | Clean old spooled documents.
6 | .DESCRIPTION
7 | This script will delete old spooled documents that are stuck in queue.
8 | By default time is 2 hours old, but you could adjust it via $Date variable.
9 | .NOTES
10 | Version: 1.0
11 | Author: Daniel Allen
12 | Last Modified Date: 16.08.2016
13 | .EXAMPLE
14 | ./Clean-Spooler.ps1
15 | ````
16 |
17 | It should look like this :
18 |
19 | 
20 |
--------------------------------------------------------------------------------
/Scripts/Cleanbk/Clean Profils Registre.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | Both
9 | All
10 | OperatingSystem
11 |
12 |
13 | AlwaysRun
14 | LoggedOnUser
15 |
16 |
17 | None
18 |
19 |
20 | Collection
21 |
22 |
23 | Default
24 | 7.00:00:00
25 | Manual
26 |
27 |
28 |
29 |
30 |
31 |
32 | $(Repository)\Scripts\Cleanbk\ScriptClearBak.vbs
33 |
34 |
35 |
36 | Install
37 |
38 | Never
39 |
40 | 0,1641,3010,2359302
41 |
42 |
43 |
44 | Both
45 | All
46 | OperatingSystem
47 |
48 |
49 | AlwaysRun
50 | LoggedOnUser
51 |
52 |
53 | None
54 |
55 |
56 | Collection
57 |
58 |
59 | StopDeploymentFail
60 | Clean Profils Registre
61 | Install
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 | Clean Profils Registre
79 | CHA Softwares\Scripts\Cleans\Clean Profils Registre
80 |
81 | Normal
82 | Icon-Package
83 |
84 |
85 |
86 |
--------------------------------------------------------------------------------
/Scripts/Cleanbk/Cleanbk.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/Scripts/Cleanbk/Cleanbk.png
--------------------------------------------------------------------------------
/Scripts/Cleanbk/README.md:
--------------------------------------------------------------------------------
1 | A Package to Clean .bak keys from registry. (Path: SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\)
2 |
3 | Use this with https://github.com/wizz13150/PDQ_Repo/tree/master/Scripts/Clean (Clean C:\users directory).
4 |
5 | It should look like this :
6 |
7 | 
8 |
--------------------------------------------------------------------------------
/Scripts/Cleanbk/ScriptClearBak.vbs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/Scripts/Cleanbk/ScriptClearBak.vbs
--------------------------------------------------------------------------------
/Scripts/Cleanbk/ScriptClearBak_Log.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/Scripts/Cleanbk/ScriptClearBak_Log.txt
--------------------------------------------------------------------------------
/Scripts/DisableWin10Upgrade/Disable OS Upgrade Win10.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | Both
9 | All
10 | OperatingSystem
11 |
12 |
13 | AlwaysRun
14 | LoggedOnUser
15 |
16 |
17 | None
18 |
19 |
20 | Collection
21 |
22 |
23 | Default
24 | 7.00:00:00
25 | Manual
26 |
27 |
28 |
29 |
30 |
31 |
32 | $(Repository)\Scripts\DisableWin10Upgrade\DisableOSUpgrade.ps1
33 |
34 |
35 |
36 | Install
37 |
38 | Never
39 |
40 | 0,1641,3010,2359302
41 |
42 |
43 |
44 | Both
45 | All
46 | OperatingSystem
47 |
48 |
49 | AlwaysRun
50 | LoggedOnUser
51 |
52 |
53 | None
54 |
55 |
56 | Collection
57 |
58 |
59 | StopDeploymentFail
60 | Disable OS Upgrade Win10
61 | Install
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 | Disable OS Upgrade Win10
79 | CHA Softwares\Microsoft\Surface\Disable OS Upgrade Win10
80 |
81 | Normal
82 | Icon-Package
83 |
84 |
85 |
86 |
--------------------------------------------------------------------------------
/Scripts/DisableWin10Upgrade/DisableOSUpgrade.ps1:
--------------------------------------------------------------------------------
1 | <#
2 | .SYNOPSIS
3 | Disable OSUpgrade Win10
4 |
5 | .Exemple
6 |
7 | .Source
8 | https://docs.microsoft.com/fr-fr/windows/deployment/update/waas-configure-wufb
9 |
10 | #>
11 | #Stop-Service wuauserv
12 | $OSDUP = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows'
13 | $OSUpgrade = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate'
14 |
15 | New-Item -Path $OSDUP -Name 'WindowsUpdate'
16 | New-ItemProperty -Path $OSUpgrade -Name DisableOSUpgrade -Type DWORD -Value 1
17 | New-ItemProperty -Path $OSUpgrade -Name AllowOSUpgrade -Type DWORD -Value 0
18 | New-ItemProperty -Path $OSUpgrade -Name ReservationAllowed -Type DWORD -Value 0
19 | New-ItemProperty -Path $OSUpgrade -Name DeferFeatureUpdates -Type DWORD -Value 1
20 | New-ItemProperty -Path $OSUpgrade -Name BranchReadinessLevel -Type DWORD -Value 10
21 | New-ItemProperty -Path $OSUpgrade -Name DeferFeatureUpdatesPeriodInDays -Type DWORD -Value 365
22 | New-ItemProperty -Path $OSUpgrade -Name PauseFeatureUpdates -Type DWORD -Value 1
23 | New-ItemProperty -Path $OSUpgrade -Name ExcludeWUDriversInQualityUpdate -Type DWORD -Value 1
24 |
--------------------------------------------------------------------------------
/Scripts/Drivers/README.md:
--------------------------------------------------------------------------------
1 | Check Drivers Problems.xml :
2 |
3 | A Package to list of all devices that do not have drivers, in Devices Manager, or any problem on a remote computer.
4 | Return Devices Names & Compatible IDs, any return code different than 0.
5 |
6 | ````
7 | $Device = Get-WmiObject Win32_PNPEntity | Where-Object{$_.ConfigManagerErrorcode -ne 0}
8 |
9 | Write-Host "Nom périphérique: " -NoNewline
10 | Write-Host $Device.Name -ForegroundColor Cyan
11 |
12 | Write-Host "Compatible ID: " -NoNewline
13 | Write-Host $Device.CompatibleID -ForegroundColor Cyan
14 | ````
15 |
16 | Add Printer Drivers.xml :
17 |
18 | A Package to add a list of printer drivers to a remote computer.
19 | You need to adapt "$DriverBase", "$DriversSourcePath" & "-PrinterEnvironment" if needed.
20 | Example :
21 |
22 | ````
23 | #Liste des Drivers à déclarer:
24 | $DriverBase = @'
25 | Xerox GPD PS V5.645.5.0
26 | Xerox GPD PS V5.645.5.0
27 | Xerox GPD PCL6 V5.645.5.0
28 | Xerox GPD PCL6 V5.645.5.0
29 | Xerox GPD PCL V5.645.5.0
30 | Xerox GPD PCL V5.645.5.0
31 | Xerox Global Print Driver V4 PS
32 | Xerox Global Print Driver V4 PS
33 | Xerox Global Print Driver V4 PCL6
34 | Xerox Global Print Driver V4 PCL6
35 | Xerox Global Print Driver PS
36 | Xerox Global Print Driver PS
37 | Xerox Global Print Driver PCL6
38 | Xerox Global Print Driver PCL6
39 | Xerox Global Print Driver PCL
40 | Xerox Global Print Driver PCL
41 | '@
42 |
43 |
44 | #Installation des Imprimantes sur Windows:
45 | $DriversSourcePath = "\\NETWORKSHARE\C$\Drivers\Printers\"
46 | Get-ChildItem -Filter "*.inf" -Path $DriversSourcePath -Recurse | ForEach-Object { PnPutil.exe -i -a $_.FullName }
47 |
48 | #Injection des Drivers (x86 and x64) au service Spool:
49 | foreach ($DriverName in $DriverBase) {
50 | Add-PrinterDriver -Name $DriverName -PrinterEnvironment "Windows NT x86"
51 | Add-PrinterDriver -Name $DriverName -PrinterEnvironment "Windows x64"
52 | }
53 | ````
54 |
--------------------------------------------------------------------------------
/Scripts/EnableNetworkAwake/README.md:
--------------------------------------------------------------------------------
1 | ````
2 | Enable LAN when the computer goes to sleep.
3 | This file is for my situation.
4 | You just need to add your network interface's names like mines.
5 | ````
6 |
--------------------------------------------------------------------------------
/Scripts/EnableNetworkAwake/W7-EnableNetworkAwake.cmd:
--------------------------------------------------------------------------------
1 | @echo off
2 | :: Activation de la carte réseau pendant la mise en veille du PC : Script pour les Dell du marché ANITIA
3 | :: Haile Toybou :: CST PDT :: 28/08/2013
4 |
5 | :: Dell Optiplex 790 7010 Latitude E6320 E6330
6 | powercfg -deviceenablewake "Intel(R) 82579LM Gigabit Network Connection"
7 |
8 |
9 | :: Dell Latitude E5520
10 | powercfg -deviceenablewake "Broadcom NetXtreme Gigabit Ethernet"
11 |
12 |
13 | :: Dell Latitude E5530
14 | powercfg -deviceenablewake "Broadcom NetXtreme 57xx Gigabit Controller"
15 |
16 |
17 | :: Dell Latitude E5540 E5550
18 | powercfg -deviceenablewake "Intel(R) Ethernet Connection I218-LM"
19 |
20 |
21 | :: Dell Precision M6800
22 | powercfg -deviceenablewake "Intel(R) Ethernet Connection I217-LM"
23 |
24 |
25 | :: Dell Latitude E7440
26 | powercfg -deviceenablewake "Connexion Ethernet Intel(R) I218-LM"
27 |
28 |
29 | :: M700
30 | powercfg -deviceenablewake "Intel(R) Ethernet Connection (2) I219-V"
31 |
32 | :: optiplex 390
33 | powercfg -deviceenablewake "Realtek PCIe GBE Family Controller"
34 |
35 |
--------------------------------------------------------------------------------
/Scripts/Firefox/Clean Registre Firefox.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | Both
9 | All
10 | OperatingSystem
11 |
12 |
13 | AlwaysRun
14 | LoggedOnUser
15 |
16 |
17 | None
18 |
19 |
20 | Collection
21 |
22 |
23 | Default
24 | 7.00:00:00
25 | Manual
26 |
27 |
28 |
29 |
30 |
31 |
32 | $(Repository)\Firefox\Clean_Firefox.exe
33 |
34 |
35 |
36 | Install
37 |
38 | Never
39 |
40 | 0,1641,3010,2359302
41 |
42 |
43 |
44 | Both
45 | All
46 | OperatingSystem
47 |
48 |
49 | AlwaysRun
50 | LoggedOnUser
51 |
52 |
53 | None
54 |
55 |
56 | Collection
57 |
58 |
59 | StopDeploymentFail
60 | Clean_Reg_Fire
61 | Install
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 | Clean Registre Firefox
79 | CHA Softwares\Scripts\Cleans\Clean Registre Firefox
80 |
81 | Normal
82 | Icon-Package
83 |
84 |
85 |
86 |
--------------------------------------------------------------------------------
/Scripts/Firefox/Clean_Firefox.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/Scripts/Firefox/Clean_Firefox.exe
--------------------------------------------------------------------------------
/Scripts/Firewall/Disableservice+firewall.ps1:
--------------------------------------------------------------------------------
1 | stop-service -name mpssvc
2 | Set-Service -Name Mpssvc -StartupType Disabled
--------------------------------------------------------------------------------
/Scripts/Firewall/Enableservice+firewall.ps1:
--------------------------------------------------------------------------------
1 | Set-Service -Name Mpssvc -StartupType Automatic
2 | start-service -name MpsSvc
3 | netsh advfirewall set allprofiles state off
4 | # netsh advfirewall firewall set rule group="File and Printer Sharing" new enable=Yes
5 |
--------------------------------------------------------------------------------
/Scripts/Firewall/Firewall TurnOFF.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | Both
9 | All
10 | OperatingSystem
11 |
12 |
13 | AlwaysRun
14 | LoggedOnUser
15 |
16 |
17 | None
18 |
19 |
20 | Collection
21 |
22 |
23 | Default
24 | 7.00:00:00
25 | Manual
26 |
27 |
28 |
29 |
30 |
31 |
32 | $(Repository)\Scripts\Firewall\Disableservice+firewall.ps1
33 |
34 |
35 |
36 | Install
37 |
38 | Never
39 |
40 | 0,1641,3010,2359302
41 |
42 |
43 |
44 | Both
45 | All
46 | OperatingSystem
47 |
48 |
49 | AlwaysRun
50 | LoggedOnUser
51 |
52 |
53 | None
54 |
55 |
56 | Collection
57 |
58 |
59 | StopDeploymentFail
60 | Firewall TurnOFF
61 | Install
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 | Firewall TurnOFF
79 | CHA Softwares\Scripts\Firewall\Firewall TurnOFF
80 |
81 | Normal
82 | Icon-Package
83 |
84 |
85 |
86 |
--------------------------------------------------------------------------------
/Scripts/Firewall/Firewall TurnON.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | Both
9 | All
10 | OperatingSystem
11 |
12 |
13 | AlwaysRun
14 | LoggedOnUser
15 |
16 |
17 | None
18 |
19 |
20 | Collection
21 |
22 |
23 | Default
24 | 7.00:00:00
25 | Manual
26 |
27 |
28 |
29 |
30 |
31 |
32 | $(Repository)\Scripts\Firewall\Enableservice+firewall.ps1
33 |
34 |
35 |
36 | Install
37 |
38 | Never
39 |
40 | 0,1641,3010,2359302
41 |
42 |
43 |
44 | Both
45 | All
46 | OperatingSystem
47 |
48 |
49 | AlwaysRun
50 | LoggedOnUser
51 |
52 |
53 | None
54 |
55 |
56 | Collection
57 |
58 |
59 | StopDeploymentFail
60 | Firewall TurnON
61 | Install
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 | Firewall TurnON
79 | CHA Softwares\Scripts\Firewall\Firewall TurnON
80 |
81 | Normal
82 | Icon-Package
83 |
84 |
85 |
86 |
--------------------------------------------------------------------------------
/Scripts/KillNotResponding/Add_Kill_Not_Responding_Tasks.reg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/Scripts/KillNotResponding/Add_Kill_Not_Responding_Tasks.reg
--------------------------------------------------------------------------------
/Scripts/KillNotResponding/Disable.cmd:
--------------------------------------------------------------------------------
1 | Reg Import "\\sccm2012\e$\SCCM_Repository\Software\Scripts\KillNotResponding\Remove_Kill_Not_Responding_Tasks.reg"
--------------------------------------------------------------------------------
/Scripts/KillNotResponding/Enable.cmd:
--------------------------------------------------------------------------------
1 | Reg Import "\\sccm2012\e$\SCCM_Repository\Software\Scripts\KillNotResponding\Add_Kill_Not_Responding_Tasks.reg"
--------------------------------------------------------------------------------
/Scripts/KillNotResponding/Remove_Kill_Not_Responding_Tasks.reg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/Scripts/KillNotResponding/Remove_Kill_Not_Responding_Tasks.reg
--------------------------------------------------------------------------------
/Scripts/LocalAdmin/ChangeLocalAdminPW.ps1:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/Scripts/LocalAdmin/ChangeLocalAdminPW.ps1
--------------------------------------------------------------------------------
/Scripts/LocalAdmin/CreateLocalAdmin_AddtoAdmins.ps1:
--------------------------------------------------------------------------------
1 | $username = "AdminLocal"
2 | $encrypted = Get-Content -Path '\\sccm2012\e$\SCCM_Repository\Software\Scripts\LocalAdmin\Required.txt'
3 | $key = (1..16)
4 | $EncryptedPassword = $encrypted | ConvertTo-SecureString -Key $key
5 | $BSTR = `
6 | [System.Runtime.InteropServices.Marshal]::SecureStringToBSTR($EncryptedPassword)
7 | $Password = [System.Runtime.InteropServices.Marshal]::PtrToStringAuto($BSTR)
8 |
9 | #get list of computers
10 | $servers = $env:COMPUTERNAME
11 |
12 | foreach ($s in $servers) {
13 | $computer = [ADSI]“WinNT://$s”
14 | Try {
15 | $users = $computer.psbase.children | select -expand name
16 | if ($users -like $username) {
17 | Write-Host -ForegroundColor Red "L'utilisateur '$username' existe déjà sur le poste $($computer.name), erreurs à suivre !"
18 | $user_obj.SetPassword($Password)
19 | Write-Host -ForegroundColor Green "Le mot de passe a été fixé sur celui voulu"
20 | Write-host -ForegroundColor Green "On s'assure que cet Utilisateur est bien Admin Local, OK !"
21 | #cmd /c "net localgroup Administrateurs /add "$username""
22 | cmd.exe /C "net localgroup Administrateurs /add "$username""
23 | } Else {
24 | $user_obj = $computer.Create(“user”, “$username”)
25 | $user_obj.SetPassword($Password)
26 | $user_obj.SetInfo()
27 | $user_obj.Put(“description”, “Administrateur Local créé par Alex”)
28 | $user_obj.SetInfo()
29 | $user_obj.psbase.invokeset(“AccountDisabled”, “False”)
30 | $user_obj.Put("UserFlags", $user_obj.Get("UserFlags") -BOr $UFPwdNeverExpires)
31 | $user_obj.Put("UserFlags", $user_obj.Get("UserFlags") -BOr $UFCannotChangePwd)
32 | $user_obj.SetInfo()
33 | $users = $computer.psbase.children | select -expand name
34 | if ($users -like $username) {
35 | Write-Host -ForegroundColor Green "L'utilisateur '$username' a bien été créé sur le poste $($computer.name) !"
36 | Write-Host -ForegroundColor Green "On s'assure que cet Utilisateur est bien membre du groupe local 'Administrateurs', OK !"
37 | cmd.exe /C "net localgroup Administrateurs /add "$username""
38 | } Else {
39 | Write-Host -ForegroundColor Red "Oops, l'utilisateur '$username' n'a pas été créé sur le poste $($computer.name)"
40 | }
41 | }
42 | } Catch {
43 | Write-Host -ForegroundColor Red "Oops, Erreur en créant l'utilisateur '$username' sur le poste $($computer.path): $($Error[0].Exception.Message)"
44 | }
45 | }
--------------------------------------------------------------------------------
/Scripts/LocalAdmin/LireMe.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/Scripts/LocalAdmin/LireMe.txt
--------------------------------------------------------------------------------
/Scripts/LocalAdmin/ModifPassword.ps1:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/Scripts/LocalAdmin/ModifPassword.ps1
--------------------------------------------------------------------------------
/Scripts/LogOffCurrentUser/LogOff.vbs:
--------------------------------------------------------------------------------
1 | ' Logoff current user on any WMI enabled computer on the network
2 |
3 | ' Check command line parameters
4 |
5 | Select Case WScript.Arguments.Count
6 | Case 0
7 | ' Default is local computer if none specified
8 | strComputer = "."
9 | Case 1
10 | Select Case WScript.Arguments(0)
11 | ' "?", "-?" or "/?" invoke online help
12 | Case "?"
13 | Syntax
14 | Case "-?"
15 | Syntax
16 | Case "/?"
17 | Syntax
18 | Case Else
19 | strComputer = WScript.Arguments(0)
20 | End Select
21 | Case Else
22 | ' More than 1 argument is not allowed
23 | Syntax
24 | End Select
25 |
26 | ' Define some constants that can be used in this script;
27 | ' logoff = 0 (no forced close of applications) or 5 (forced);
28 | ' 5 works OK in Windows 2000, but may result in power off in XP
29 | Const EWX_LOGOFF = 0
30 | Const EWX_SHUTDOWN = 1
31 | Const EWX_REBOOT = 2
32 | Const EWX_FORCE = 4
33 | Const EWX_POWEROFF = 8
34 |
35 | ' Connect to computer
36 | Set OpSysSet = GetObject("winmgmts:{(Shutdown)}//" & strComputer & "/root/cimv2").ExecQuery _
37 | ("select * from Win32_OperatingSystem where Primary=true")
38 |
39 | ' Actual logoff
40 | for each OpSys in OpSysSet
41 | OpSys.Win32Shutdown EWX_LOGOFF
42 | next
43 |
44 | ' Done
45 | WScript.Quit(0)
46 |
47 |
48 | Sub Syntax
49 | msg = vbCrLf & "Logoff.vbs, Version 1.00" & vbCrLf & _
50 | "Logoff the current user of any WMI enabled computer on the network." & _
51 | vbCrLf & vbCrLf & "Usage: CSCRIPT LOGOFF.VBS [ computer_name ]" & _
52 | vbCrLf & vbCrLf & _
53 | "Where: " & Chr(34) & "computer_name" & Chr(34) & _
54 | " is the name of the computer to be logged off" & vbCrLf & _
55 | " (without leading backslashes); default is " & _
56 | Chr(34) & "." & Chr(34) & vbCrLf & _
57 | " (the local computer)." & vbCrLf & vbCrLf & _
58 | "Written by Rob van der Woude" & vbCrLf & _
59 | "http://www.robvanderwoude.com" & vbCrLf & vbCrLf & _
60 | "Based on posts by Alex Angelopoulos on www.developersdex.com" & _
61 | vbCrLf & _
62 | "and Michael Harris on microsoft.public.scripting.vbscript" & vbCrLf
63 | Wscript.Echo(msg)
64 | Wscript.Quit(1)
65 | End Sub
--------------------------------------------------------------------------------
/Scripts/NetworkRemap/Remap Drives.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | Both
9 | All
10 | OperatingSystem
11 |
12 |
13 | AlwaysRun
14 | LoggedOnUser
15 |
16 |
17 | None
18 |
19 |
20 | Collection
21 |
22 |
23 | Default
24 | 7.00:00:00
25 | Manual
26 |
27 |
28 |
29 |
30 |
31 |
32 | $(Repository)\Scripts\NetworkRemap\RemapAllDrives.cmd
33 |
34 |
35 |
36 | Install
37 |
38 | Never
39 |
40 | 0,1641,3010,2359302
41 |
42 |
43 |
44 | Both
45 | All
46 | OperatingSystem
47 |
48 |
49 | AlwaysRun
50 | LoggedOnUser
51 |
52 |
53 | None
54 |
55 |
56 | Collection
57 |
58 |
59 | StopDeploymentFail
60 | Remap Drives
61 | Install
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 | Admin
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 | Remap Drives
79 | CHA Softwares\Scripts\Remap Drives
80 |
81 | Normal
82 | Icon-Package
83 |
84 |
85 |
86 |
--------------------------------------------------------------------------------
/Scripts/NetworkRemap/RemapDrives.cmd:
--------------------------------------------------------------------------------
1 | @echo off
2 |
3 | rem : Change paths
4 |
5 | net use I: \\fileserver\admin$ /persistent:yes
6 | net use J: \\fileserver\appli$ /persistent:yes
7 | net use K: \\fileserver\this$ /persistent:yes
8 | net use L: \\fileserver\that$ /persistent:yes
9 | net use Q: "\\filerserver.adcha.local\users$\%username%\Firefox\%computername%" /persistent:yes
10 | net use Z: /Delete
--------------------------------------------------------------------------------
/Scripts/OpenCMDHere/Remove_CMDAsAdmin.cmd:
--------------------------------------------------------------------------------
1 | Reg import "\\sccm2012\e$\SCCM_Repository\Software\Scripts\OpenCMDHere\Remove_CMDAsAdmin.reg"
--------------------------------------------------------------------------------
/Scripts/OpenCMDHere/Remove_CMDAsAdmin.reg:
--------------------------------------------------------------------------------
1 | Windows Registry Editor Version 5.00
2 |
3 | ; (c) Dimitri Kotlovsky
4 |
5 |
6 |
7 |
8 | [-HKEY_CLASSES_ROOT\Directory\shell\CMDAsAdmin]
9 |
10 | [-HKEY_CLASSES_ROOT\Directory\Background\shell\CMDAsAdmin]
11 |
12 | [-HKEY_CLASSES_ROOT\Drive\shell\CMDAsAdmin]
--------------------------------------------------------------------------------
/Scripts/OpenCMDHere/Remove_CMDLocal.cmd:
--------------------------------------------------------------------------------
1 | Reg import "\\sccm2012\e$\SCCM_Repository\Software\Scripts\OpenCMDHere\Remove_CMDLocal.reg"
--------------------------------------------------------------------------------
/Scripts/OpenCMDHere/Remove_CMDLocal.reg:
--------------------------------------------------------------------------------
1 | Windows Registry Editor Version 5.00
2 |
3 | ; (c) Dimitri Kotlovsky
4 |
5 |
6 |
7 |
8 | [-HKEY_CLASSES_ROOT\Directory\shell\CMDLocal]
9 |
10 | [-HKEY_CLASSES_ROOT\Directory\Background\shell\CMDLocal]
11 |
12 | [-HKEY_CLASSES_ROOT\Drive\shell\CMDLocal]
--------------------------------------------------------------------------------
/Scripts/OpenCMDHere/Win10/Add_CMDAsAdmin_win10.cmd:
--------------------------------------------------------------------------------
1 | Reg import "\\sccm2012\e$\SCCM_Repository\Software\Scripts\OpenCMDHere\Win10\Add_CMDAsAdmin_win10.reg"
--------------------------------------------------------------------------------
/Scripts/OpenCMDHere/Win10/Add_CMDAsAdmin_win10.reg:
--------------------------------------------------------------------------------
1 | Windows Registry Editor Version 5.00
2 |
3 | ; (c) Dimitri Kotlovsky
4 | ;
5 | ; Win10 version
6 |
7 |
8 |
9 |
10 | [HKEY_CLASSES_ROOT\Directory\shell\CMDAsAdmin]
11 | @="@shell32.dll,-8506"
12 | "Icon"="imageres.dll,-5323"
13 | "HasLUAShield"=""
14 | "NoWorkingDirectory"=""
15 |
16 | [HKEY_CLASSES_ROOT\Directory\shell\CMDAsAdmin\command]
17 | @="PowerShell -WindowStyle Hidden -Command \"Start-Process cmd.exe -ArgumentList '/s,/k,pushd,%V' -Verb RunAs\""
18 |
19 |
20 |
21 |
22 |
23 | [HKEY_CLASSES_ROOT\Directory\Background\shell\CMDAsAdmin]
24 | @="@shell32.dll,-8506"
25 | "Icon"="imageres.dll,-5323"
26 | "HasLUAShield"=""
27 | "NoWorkingDirectory"=""
28 |
29 | [HKEY_CLASSES_ROOT\Directory\Background\shell\CMDAsAdmin\command]
30 | @="PowerShell -WindowStyle Hidden -Command \"Start-Process cmd.exe -ArgumentList '/s,/k,pushd,%V' -Verb RunAs\""
31 |
32 |
33 |
34 |
35 |
36 | [HKEY_CLASSES_ROOT\Drive\shell\CMDAsAdmin]
37 | @="@shell32.dll,-8506"
38 | "Icon"="imageres.dll,-5323"
39 | "HasLUAShield"=""
40 | "NoWorkingDirectory"=""
41 |
42 | [HKEY_CLASSES_ROOT\Drive\shell\CMDAsAdmin\command]
43 | @="PowerShell -WindowStyle Hidden -Command \"Start-Process cmd.exe -ArgumentList '/s,/k,pushd,%V' -Verb RunAs\""
--------------------------------------------------------------------------------
/Scripts/OpenCMDHere/Win10/Add_CMDLocal_win10.cmd:
--------------------------------------------------------------------------------
1 | Reg import "\\sccm2012\e$\SCCM_Repository\Software\Scripts\OpenCMDHere\Win10\Add_CMDLocal_win10.reg"
--------------------------------------------------------------------------------
/Scripts/OpenCMDHere/Win10/Add_CMDLocal_win10.reg:
--------------------------------------------------------------------------------
1 | Windows Registry Editor Version 5.00
2 |
3 | ; (c) Dimitri Kotlovsky
4 | ;
5 | ; Win10 version
6 |
7 |
8 |
9 |
10 | [HKEY_CLASSES_ROOT\Directory\shell\CMDLocal]
11 | @="@shell32.dll,-8506"
12 | "Icon"="imageres.dll,-5323"
13 | "NoWorkingDirectory"=""
14 |
15 | [HKEY_CLASSES_ROOT\Directory\shell\CMDLocal\command]
16 | @="cmd.exe /s /k pushd \"%V\""
17 |
18 |
19 |
20 |
21 |
22 | [HKEY_CLASSES_ROOT\Directory\Background\shell\CMDLocal]
23 | @="@shell32.dll,-8506"
24 | "Icon"="imageres.dll,-5323"
25 | "NoWorkingDirectory"=""
26 |
27 | [HKEY_CLASSES_ROOT\Directory\Background\shell\CMDLocal\command]
28 | @="cmd.exe /s /k pushd \"%V\""
29 |
30 |
31 |
32 |
33 |
34 | [HKEY_CLASSES_ROOT\Drive\shell\CMDLocal]
35 | @="@shell32.dll,-8506"
36 | "Icon"="imageres.dll,-5323"
37 | "NoWorkingDirectory"=""
38 |
39 | [HKEY_CLASSES_ROOT\Drive\shell\CMDLocal\command]
40 | @="cmd.exe /s /k pushd \"%V\""
--------------------------------------------------------------------------------
/Scripts/OpenCMDHere/Win7/Add_CMDAsAdmin_win7.reg.cmd:
--------------------------------------------------------------------------------
1 | Reg import "\\sccm2012\e$\SCCM_Repository\Software\Scripts\OpenCMDHere\Win7\Add_CMDAsAdmin_win7.reg"
--------------------------------------------------------------------------------
/Scripts/OpenCMDHere/Win7/Add_CMDLocal_win7.reg:
--------------------------------------------------------------------------------
1 | Windows Registry Editor Version 5.00
2 |
3 | ; (c) Dimitri Kotlovsky
4 |
5 |
6 |
7 |
8 | [HKEY_CLASSES_ROOT\Directory\shell\CMDLocal]
9 | @="@shell32.dll,-8506"
10 | "Icon"="cmd.exe"
11 | "NoWorkingDirectory"=""
12 |
13 | [HKEY_CLASSES_ROOT\Directory\shell\CMDLocal\command]
14 | @="cmd.exe /s /k pushd \"%V\""
15 |
16 |
17 |
18 |
19 |
20 | [HKEY_CLASSES_ROOT\Directory\Background\shell\CMDLocal]
21 | @="@shell32.dll,-8506"
22 | "Icon"="cmd.exe"
23 | "NoWorkingDirectory"=""
24 |
25 | [HKEY_CLASSES_ROOT\Directory\Background\shell\CMDLocal\command]
26 | @="cmd.exe /s /k pushd \"%V\""
27 |
28 |
29 |
30 |
31 |
32 | [HKEY_CLASSES_ROOT\Drive\shell\CMDLocal]
33 | @="@shell32.dll,-8506"
34 | "Icon"="cmd.exe"
35 | "NoWorkingDirectory"=""
36 |
37 | [HKEY_CLASSES_ROOT\Drive\shell\CMDLocal\command]
38 | @="cmd.exe /s /k pushd \"%V\""
--------------------------------------------------------------------------------
/Scripts/OpenCMDHere/Win7/Add_CMDLocal_win7.reg.cmd:
--------------------------------------------------------------------------------
1 | Reg import "\\sccm2012\e$\SCCM_Repository\Software\Scripts\OpenCMDHere\Win7\Add_CMDLocal_win7.reg"
--------------------------------------------------------------------------------
/Scripts/PowershellOptimizeStartup/PSOptiStartup.ps1:
--------------------------------------------------------------------------------
1 | ###############################################################################################################
2 | # Language : PowerShell 4.0
3 | # Filename : OptimizePowerShellStartup.ps1
4 | # Autor : BornToBeRoot (https://github.com/BornToBeRoot)
5 | # Description : Optimize PowerShell startup by reduce JIT compile time with ngen.exe
6 | # Repository : https://github.com/BornToBeRoot/PowerShell
7 | ###############################################################################################################
8 |
9 | <#
10 | .SYNOPSIS
11 | Optimize PowerShell startup by reduce JIT compile time with "ngen.exe"
12 | .DESCRIPTION
13 | Optimize PowerShell startup by reduce JIT compile time with "ngen.exe".
14 |
15 | Script requires administrative permissions.
16 | .EXAMPLE
17 | OptimizePowerShellStartup.ps1
18 |
19 | .LINK
20 | https://github.com/BornToBeRoot/PowerShell/blob/master/Documentation/Script/OptimizePowerShellStartup.README.md
21 | #>
22 |
23 | Begin{
24 |
25 | }
26 |
27 | Process{
28 | # Restart script/console as admin with parameters
29 | if(-not([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] "Administrator"))
30 | {
31 | $Arguments = "& '" + $MyInvocation.MyCommand.Definition + "'"
32 | Start-Process PowerShell.exe -Verb RunAs -ArgumentList $Arguments
33 | Break
34 | }
35 |
36 | Write-Host -Object "Start optimization..." -ForegroundColor Yellow
37 |
38 | # Set ngen path
39 | $ngen_path = Join-Path -Path $env:windir -ChildPath "Microsoft.NET"
40 |
41 | if($env:PROCESSOR_ARCHITECTURE -eq "AMD64")
42 | {
43 | $ngen_path = Join-Path -Path $ngen_path -ChildPath "Framework64\ngen.exe"
44 | }
45 | else
46 | {
47 | $ngen_path = Join-Path -Path $ngen_path -ChildPath "Framework\ngen.exe"
48 | }
49 |
50 | # Find latest ngen.exe
51 | $ngen_application_path = (Get-ChildItem -Path $ngen_path -Filter "ngen.exe" -Recurse | Where-Object {$_.Length -gt 0} | Select-Object -Last 1).Fullname
52 |
53 | Set-Alias -Name ngen -Value $ngen_application_path
54 |
55 | # Get assemblies and call ngen.exe
56 | [System.AppDomain]::CurrentDomain.GetAssemblies() | foreach { ngen install $_.Location /nologo /verbose}
57 |
58 | Write-Host -Object "Optimization finished!" -ForegroundColor Green
59 |
60 | Write-Host -Object "Press any key to continue..."
61 | [void]$host.UI.RawUI.ReadKey("NoEcho,IncludeKeyDown")
62 | }
63 |
64 | End{
65 |
66 | }
--------------------------------------------------------------------------------
/Scripts/PowershellUnrestricted/Execution_Unrestricted.Cmd:
--------------------------------------------------------------------------------
1 |
2 |
3 | PowerShell.exe -Command "&{Set-ExecutionPolicy Unrestricted -Force}"
--------------------------------------------------------------------------------
/Scripts/README.md:
--------------------------------------------------------------------------------
1 | Here is the Scripts/Packages Section.
2 |
3 | You just import .xml file into the PDQ Deploy console & files into your PDQ Repository, to access this packages.
4 |
5 | I'll make a Readme for each.
6 |
7 | For others Installations Packages.. Most of the time, this concerns dedicated applications, or requires the Enterprise version to manipulate...Hard to share this.
8 |
9 |
--------------------------------------------------------------------------------
/Scripts/ResetSpooler/Reset_Spooler.ps1:
--------------------------------------------------------------------------------
1 | Set-Service -Name Spooler -StartupType Automatic
2 | #Stop-Service -name LPDSVC
3 | Stop-Service -name Spooler
4 | Start-service -name Spooler
5 | #Start-Service -name LPDSVC
--------------------------------------------------------------------------------
/Scripts/ResetSpooler/Spooler Reset.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | Both
9 | All
10 | OperatingSystem
11 |
12 |
13 | AlwaysRun
14 | LoggedOnUser
15 |
16 |
17 | None
18 |
19 |
20 | Collection
21 |
22 |
23 | Default
24 | 7.00:00:00
25 | Manual
26 |
27 |
28 |
29 |
30 |
31 |
32 | $(Repository)\Scripts\ResetSpooler\Reset_Spooler.ps1
33 |
34 |
35 |
36 | Install
37 |
38 | Never
39 |
40 | 0,1641,3010,2359302
41 |
42 |
43 |
44 | Both
45 | All
46 | OperatingSystem
47 |
48 |
49 | AlwaysRun
50 | LoggedOnUser
51 |
52 |
53 | None
54 |
55 |
56 | Collection
57 |
58 |
59 | StopDeploymentFail
60 | Reset Spouleur
61 | Install
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 | Relance du Service Spouleur de Windows
72 |
73 |
74 |
75 |
76 |
77 |
78 | Spooler Reset
79 | CHA Softwares\Scripts\Spooler Reset
80 |
81 | Normal
82 | Icon-Package
83 |
84 |
85 |
86 |
--------------------------------------------------------------------------------
/Scripts/StartupRepair/README.md:
--------------------------------------------------------------------------------
1 | ````
2 | Disable the Repair Menu when booting the machine.
3 | Avoids the countdown of 30 seconds after a sudden stop.
4 | Enormously long time saved if we combine the workstations.
5 | ````
6 |
--------------------------------------------------------------------------------
/Scripts/StartupRepair/StartupRepair.cmd:
--------------------------------------------------------------------------------
1 | bcdedit /set {default} recoveryenabled No
2 | bcdedit /set {default} bootstatuspolicy ignoreallfailures
--------------------------------------------------------------------------------
/Scripts/TrustedSites/README.md:
--------------------------------------------------------------------------------
1 | A PowerShell script which can be used to add trusted sites in Internet Explorer.
2 |
3 |
4 | ````
5 | .SYNOPSIS
6 | The PowerShell script which can be used to add trusted sites in Internet Explorer.
7 | .DESCRIPTION
8 | The PowerShell script which can be used to add trusted sites in Internet Explorer.
9 | .PARAMETER TrustedSites
10 | Spcifies the trusted site in Internet Explorer.
11 | .PARAMETER HTTP
12 | Once you use the HTTP switch parameter, the domain will be use the http:// prefix.
13 | .PARAMETER PrimaryDomain
14 | Spcifies the primary domain in Internet Explorer.
15 | .PARAMETER SubDomain
16 | Spcifies the sub domain in Internet Explorer.
17 | .EXAMPLE
18 | C:\PS> C:\AddingTrustedSites.ps1 -TrustedSites "contoso1.com","contoso2.com" -HTTP
19 |
20 | Successfully added 'contoso1.com' and 'contoso2.com' domain to trusted sites in Internet Explorer.
21 |
22 | This command will add 'contoso1.com' and 'contoso2.com' domain to trusted sites in Internet Explorer respectively.
23 | .EXAMPLE
24 | C:\PS> C:\AddingTrustedSites.ps1 -PrimaryDomain "contoso.com" -SubDomain "test.domain"
25 |
26 | Successfully added 'test.domain.contoso.com' domain to trusted sites in Internet Explorer.
27 |
28 | This command will add 'test.domain.contoso.com' domain to trusted sites in Internet Explorer.
29 | ````
30 |
31 |
--------------------------------------------------------------------------------
/Scripts/WindowsActivation/Activate_Win_KMS.bat:
--------------------------------------------------------------------------------
1 | @ECHO
2 | c:
3 | cd c:\windows\system32
4 | cscript.exe slmgr.vbs /skms KMSServe.contonso.com
5 | cscript.exe slmgr.vbs /upk
6 | cscript.exe slmgr.vbs /ipk key-key-key-key-key
7 | cscript.exe slmgr.vbs /ato
8 |
--------------------------------------------------------------------------------
/Scripts/cleanup_orphaned_printers/Cleanup_Orphaned_Printers_execute.bat:
--------------------------------------------------------------------------------
1 | cscript //B Cleanup_Orphaned_Printers.vbs
--------------------------------------------------------------------------------
/Scripts/empty_all_recycle_bins/empty_all_recycle_bins.bat:
--------------------------------------------------------------------------------
1 | :: This empties all recycle bins on Windows 7 and up
2 | rmdir /s /q %SystemDrive%\$Recycle.Bin 2>NUL
3 |
4 | :: This empties all recycle bins on Windows XP and Server 2003
5 | rmdir /s /q %SystemDrive%\RECYCLER 2>NUL
6 |
7 | :: Return exit code to calling application
8 | exit /B 0
--------------------------------------------------------------------------------
/Scripts/enable_remote_desktop/Enable RDP.bat:
--------------------------------------------------------------------------------
1 | :: Script to enable Remote Desktop on a machine
2 | :: Thanks to reddit.com/user/diggity801 for idea and initial script
3 |
4 | :: Open the firewall to allow incoming connections
5 | netsh advfirewall firewall set rule group="Remote Desktop" new enable=Yes
6 |
7 | :: Disable the "Deny TS Connections" registry key
8 | reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0 /f
9 |
10 | :: Set the service to start automatically at boot time
11 | sc config termservice start= auto
12 |
13 | :: Start the service
14 | net start termservice
--------------------------------------------------------------------------------
/Scripts/usb_device_cleanup/DriveCleanup x64.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/Scripts/usb_device_cleanup/DriveCleanup x64.exe
--------------------------------------------------------------------------------
/Scripts/usb_device_cleanup/DriveCleanup x86.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/Scripts/usb_device_cleanup/DriveCleanup x86.exe
--------------------------------------------------------------------------------
/Scripts/usb_device_cleanup/USBDriveCleanup.bat:
--------------------------------------------------------------------------------
1 | :: Purpose: Uninstalls non-present USB hubs, USB storage devices and their storage volumes, Disks, CDROMs, Floppies, WPD devices and deletes their registry items
2 | :: Requirements: Run this script with an admin account
3 | :: Author: vocatus on reddit.com/r/sysadmin ( vocatus.gate@gmail.com ) // PGP key ID: 0x07d1490f82a211a2
4 | :: History: 1.0.0 + Initial write
5 | SETLOCAL
6 | echo off
7 |
8 |
9 | :::::::::::::::
10 | :: VARIABLES :: -------------- These are the defaults. Change them if you so desire. --------- ::
11 | :::::::::::::::
12 |
13 | :: Log location and name. Do not use trailing slashes (\)
14 | set LOGPATH=%SystemDrive%\Logs
15 | set LOGFILE=%COMPUTERNAME%_usb_device_cleanup.log
16 |
17 | :: Create the log directory if it doesn't exist
18 | if not exist %LOGPATH% mkdir %LOGPATH%
19 |
20 |
21 | :: --------------------------- Don't edit anything below this line --------------------------- ::
22 |
23 |
24 |
25 | :::::::::::::::::::::
26 | :: PREP AND CHECKS ::
27 | :::::::::::::::::::::
28 | @echo off
29 | set SCRIPT_VERSION=1.0.0
30 | set SCRIPT_UPDATED=2015-01-14
31 | :: Get the date into ISO 8601 standard date format (yyyy-mm-dd) so we can use it
32 | FOR /f %%a in ('WMIC OS GET LocalDateTime ^| find "."') DO set DTS=%%a
33 | set CUR_DATE=%DTS:~0,4%-%DTS:~4,2%-%DTS:~6,2%
34 |
35 | :: This is useful if we start from a network share; converts CWD to a drive letter
36 | pushd "%~dp0"
37 | cls
38 |
39 |
40 | :::::::::::::
41 | :: Removal ::
42 | :::::::::::::
43 | echo %CUR_DATE% %TIME% Calling USBDeviceCleanup.exe... > %LOGPATH%\%LOGFILE%
44 | if /i '%PROCESSOR_ARCHITECTURE%'=='AMD64' (
45 | "DriveCleanup x64.exe" -n >> "%LOGPATH%\%LOGFILE%" 2>&1
46 | ) else (
47 | "DriveCleanup x86.exe" -n >> "%LOGPATH%\%LOGFILE%" 2>&1
48 | )
49 | echo %CUR_DATE% %TIME% Done.>> %LOGPATH%\%LOGFILE%
50 |
51 | REM Return exit code to SCCM/PDQ Deploy/etc
52 | exit /B %EXIT_CODE%
--------------------------------------------------------------------------------
/Scripts/zCheck_Path.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/Scripts/zCheck_Path.png
--------------------------------------------------------------------------------
/Uninstalls/README.md:
--------------------------------------------------------------------------------
1 | Uninstalls Section.
2 | Readme.md in each directory.
3 |
4 | About universal Uninstalls or packages for Free Version. Evolving.
5 |
6 | Most of the time, this concerns dedicated applications, or requires the Enterprise version to manipulate... Hard to share this.
7 |
8 |
--------------------------------------------------------------------------------
/Uninstalls/remove_adobe_flash_player/Flash.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/Uninstalls/remove_adobe_flash_player/Flash.png
--------------------------------------------------------------------------------
/Uninstalls/remove_adobe_flash_player/README.md:
--------------------------------------------------------------------------------
1 | A Package to uninstalls every version of Flash Player
2 |
3 | Removes ALL versions of Adobe Flash Player, by performing the following steps:
4 |
5 | 1. Runs the Adobe uninstaller, to remove versions v11.4.402.265 and earlier
6 | 2. Runs the Microsoft WMIC command to remove all other versions:
7 | wmic product where "name like 'Adobe Flash Player%%'" uninstall /nointeractive
8 | 3. Deletes the Adobe Flash Player Update Service
9 | 4. Deletes the Adobe Flash Player Update scheduled task
10 | 5. By default logs to 'C:\Logs\%COMPUTERNAME%_adobe_flash_player_nuker.log'
11 |
12 | Script also available here:
13 | http://www.reddit.com/r/usefulscripts/comments/1v4qus/batch_adobe_flash_removal_purge_all_versions_of/
14 |
15 | It should look like :
16 | 
17 |
--------------------------------------------------------------------------------
/Uninstalls/remove_adobe_flash_player/uninstall_flash_player.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/Uninstalls/remove_adobe_flash_player/uninstall_flash_player.exe
--------------------------------------------------------------------------------
/Uninstalls/remove_java_runtime/Java.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/Uninstalls/remove_java_runtime/Java.png
--------------------------------------------------------------------------------
/Uninstalls/remove_java_runtime/README.md:
--------------------------------------------------------------------------------
1 | A Package to remove every version of Java Runtime
2 |
3 | This script will:
4 |
5 | - Remove all versions of the Java Runtime (series 3-8, x64 and x86)
6 | - Remove JavaFX
7 | - Remove Java Update Scheduler service and associated registry entries
8 | - Remove Java Quickstart service and associated registry entries
9 | - Repair WMI if it is broken (in order to use WMI wildcards to uninstall Java)
10 | - Leave all Java Development Kit (JDK) installations intact
11 | - Write log file to C:\Logs\_java_runtime_remover.txt
12 |
13 | Script is also available here:
14 | http://www.reddit.com/r/usefulscripts/comments/2hzt5c/batch_java_runtime_nuker_purge_all_versions_of/
15 |
16 | It should look like this :
17 | 
18 |
--------------------------------------------------------------------------------
/Uninstalls/remove_vnc_servers/README.md:
--------------------------------------------------------------------------------
1 | A Package to remove every version of VNC
2 |
3 |
4 | Original script by Gregory Strike:
5 | http://www.gregorystrike.com/2012/02/29/script-to-uninstallremove-vnc-passively/
6 |
7 | Modified by vocatus for use in PDQ.
8 |
9 | This script will:
10 |
11 | - Remove TightVNC, UltraVNC and RealVNC viewers and servers
12 | - Clean up program files and registry entries left over
13 | - Remove all VNC services
14 | - Write a log file to C:\Logs\_remove_all_vnc_servers.log *
15 |
16 | * Configurable. Change the LOGPATH and LOGFILE variables in the script if you want to log to a different location
17 |
18 | It should look like this :
19 |
20 | 
21 |
--------------------------------------------------------------------------------
/Uninstalls/remove_vnc_servers/VNC.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wizz13150/PDQ_Repo/a18b915143cb7cb4d8c712d196cc4a91574a1d2b/Uninstalls/remove_vnc_servers/VNC.png
--------------------------------------------------------------------------------