Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # -*- coding: utf-8 -*-
- """
- NAJEEB V6.5 AI PRO CLI - STABLE EDITION (UPDATED)
- ✅ Windows 7 32-bit / Python 3.7.9 Compatible
- ✅ Professional Dark UI - All ttk/tk compatibility fixed
- ✅ Live Console | Themes | Edit-Before-Run | Alias Search
- ✅ JSON Import/Export | Scrollbar Fixed | JSON Error Recovery
- ✅ CRITICAL: Pack/Pady errors fixed | AttributeError resolved
- ✅ NEW: AI-BACKUPS REMOVED | History+Favorites saved in AI-CONFIG.json
- ✅ NEW: Direct Save/Edit Aliases in AI-DATA.json
- """
- import tkinter as tk
- from tkinter import ttk, messagebox, simpledialog, filedialog
- import subprocess, json, os, datetime, threading, re, sys
- from difflib import get_close_matches
- # ================= CONFIGURATION =================
- DATA_FILE = "AI-DATA.json" # Aliases Database
- CONFIG_FILE = "AI-CONFIG.json" # Theme + History + Favorites
- DANGEROUS_KEYWORDS = [
- "format", "del /s", "del /f", "erase", "shutdown", "taskkill",
- "reg delete", "diskpart", "cleanmgr", "sfc /scannow", "chkdsk /f",
- "fdisk", "rd /s", "deltree", "wmic os call shutdown", "net user"
- ]
- # ================= THEME CONFIGS =================
- THEMES = {
- "Dark": {
- "bg": "#121212", "fg": "#e0e0e0", "entry_bg": "#252526", "entry_fg": "#ffffff",
- "console_bg": "#1e1e1e", "console_fg": "#00ff00", "header_fg": "#00bcd4",
- "status_fg": "#888888", "border": "#3e3e42", "select": "#094771",
- "tree_bg": "#1e1e1e", "tree_fg": "#d4d4d4", "highlight": "#00ffcc"
- },
- "Light": {
- "bg": "#f3f3f3", "fg": "#1e1e1e", "entry_bg": "#ffffff", "entry_fg": "#000000",
- "console_bg": "#ffffff", "console_fg": "#006400", "header_fg": "#00796b",
- "status_fg": "#555555", "border": "#cccccc", "select": "#cce8ff",
- "tree_bg": "#ffffff", "tree_fg": "#333333", "highlight": "#00796b"
- },
- "Azure": {
- "bg": "#0078d7", "fg": "#ffffff", "entry_bg": "#1a8fe3", "entry_fg": "#ffffff",
- "console_bg": "#005a9e", "console_fg": "#ffffff", "header_fg": "#ffffff",
- "status_fg": "#e0f0ff", "border": "#0090d1", "select": "#0090d1",
- "tree_bg": "#0063b1", "tree_fg": "#ffffff", "highlight": "#ffcc00"
- }
- }
- # ================= DEFAULT AI BRAIN =================
- default_data = {
- "info sys": "systeminfo",
- "info hostname": "hostname",
- "info current user": "whoami",
- "info username": "echo %USERNAME%",
- "info computer name": "echo %COMPUTERNAME%",
- "info environment variables": "set",
- "info path variable": "echo %PATH%",
- "info current date": "date /t",
- "info current time": "time /t",
- "info system architecture": "wmic os get osarchitecture",
- "info dxdiag": "dxdiag",
- "info cpu": "wmic cpu get name,numberOfCores,threadCount,maxClockSpeed",
- "info serial number": "wmic bios get serialnumber",
- "info gpu": "wmic path win32_VideoController get name",
- "info ram details": "wmic memorychip get capacity, speed, manufacturer",
- "info total ram": "systeminfo | findstr /C:\"Total Physical Memory\"",
- "info uptime": "net statistics workstation",
- "info last boot time": "wmic os get lastbootuptime",
- "info monitor": "wmic desktopmonitor get screenheight, screenwidth",
- "ver py": "python3 --version",
- "ver pip": "pip3 --version",
- "ver windows": "ver",
- "ver bios": "wmic bios get smbiosbiosversion",
- "ver magick": "magick --version",
- "ver ffmpeg": "ffmpeg -version",
- "help arp": "arp /?",
- "help magick": "magick --help",
- "help ffmpeg": "ffmpeg -h",
- "help ffmpeg full": "ffmpeg -h full > help.txt",
- "help ffmpeg codecs": "ffmpeg -codecs",
- "help ffmpeg formats": "ffmpeg -formats",
- "help ffmpeg encoders": "ffmpeg -encoders",
- "help ffmpeg decoders": "ffmpeg -decoders",
- "help ffmpeg filters": "ffmpeg -filters",
- "help powershell": "powershell -?",
- "help cmd": "help",
- "help dir": "help findstr",
- "help diskpart": "help diskpart",
- "help bcdedit": "help bcdedit",
- "help wmic": "wmic /?",
- "help where": "where /?",
- "help assign": "help assign",
- "help create": "help create",
- "help format": "help format",
- "List D:\\": "dir D:\\",
- "list E:\\": "dir E:\\",
- "list F:\\": "dir F:\\",
- "list G:\\": "dir G:\\",
- "list H:\\": "dir H:\\",
- "list G:\\ find mp3": "dir G:\\*File-name*.mp3 /s /b",
- "list pdf files": "dir *.pdf /s /b",
- "list recent files": "dir /o:d /t:w",
- "start paint": "mspaint",
- "start note": "START notepad",
- "start write": "START write",
- "start cmd": "START cmd",
- "start calc": "calc",
- "start exp": "START explorer",
- "start con": "START control",
- "start youtube": "start chrome https://www.youtube.com",
- "start google": "START http://www.google.com/",
- "start Drive": "START D:\\",
- "start snipping": "snippingtool",
- "start magnifier": "magnify",
- "start Okeyboard": "osk",
- "start charmap": "charmap",
- "start disk cleanup": "cleanmgr",
- "start defrag": "dfrgui",
- "start systeminfo": "msinfo32",
- "start resource monitor": "resmon",
- "start performance monitor": "perfmon",
- "start event viewer": "eventvwr",
- "start task scheduler": "taskschd.msc",
- "start local security policy": "secpol.msc",
- "start group policy": "gpedit.msc",
- "start registry": "regedit",
- "start services": "services.msc",
- "start computer mgmt": "compmgmt.msc",
- "start device manager": "devmgmt.msc",
- "start disk management": "diskmgmt.msc",
- "start print management": "printmanagement.msc",
- "start firewall": "wf.msc",
- "start windowsupdate": "control update",
- "start programs": "appwiz.cpl",
- "start date/time": "timedate.cpl",
- "start mouse": "main.cpl",
- "start keyboard": "control keyboard",
- "start sound": "mmsys.cpl",
- "start display": "desk.cpl",
- "start network connections": "ncpa.cpl",
- "start power options": "powercfg.cpl",
- "start system": "sysdm.cpl",
- "start user accounts": "control userpasswords2",
- "start accessibility": "control accessibility",
- "start fonts": "control fonts",
- "start internet options": "inetcpl.cpl",
- "start regional settings": "intl.cpl",
- "start language settings": "control intl.cpl",
- "start backup and restore": "sdclt",
- "start recovery": "recovery",
- "start action center": "wscui.cpl",
- "start windows defender": "windowsdefender:",
- "start settings app": "start ms-settings:",
- "start store": "start ms-windows-store:",
- "start photos": "start ms-photos:",
- "start maps": "start ms-maps:",
- "start weather": "start bingweather:",
- "start news": "start bingnews:",
- "start sports": "start bingsports:",
- "start finance": "start bingfinance:",
- "start feedback hub": "start microsoft.windows.feedback:",
- "start xbox": "start xbox:",
- "start camera": "start microsoft.windows.camera:",
- "start voice recorder": "start soundrecorder:",
- "start alaram clock": "start ms-clock:",
- "start calculator": "start calc:",
- "start calendar": "outlookcal:",
- "start mail": "outlookmail:",
- "start contacts": "outlookcontacts:",
- "start tasks": "outlooktasks:",
- "start notes": "onenote:",
- "start skype": "start skype:",
- "start teams": "start msteams:",
- "start zoom": "start zoom:",
- "start slack": "start slack:",
- "start discord": "start discord:",
- "start spotify": "start spotify:",
- "start netflix": "start netflix:",
- "start github": "start chrome https://github.com",
- "start stackoverflow": "start chrome https://stackoverflow.com",
- "start linkedin": "start chrome https://linkedin.com",
- "start twitter": "start chrome https://twitter.com",
- "start facebook": "start chrome https://facebook.com",
- "start instagram": "start chrome https://instagram.com",
- "start reddit": "start chrome https://reddit.com",
- "start wikipedia": "start chrome https://wikipedia.org",
- "start paypal": "start chrome https://paypal.com",
- "start box": "start chrome https://box.com",
- "start evernote": "start evernote:",
- "start webex": "start webex:",
- "shell:adminTools": "shell:adminTools",
- "shell:cache": "shell:cache",
- "shell:camera roll": "shell:camera roll",
- "shell:common adminTools": "shell:common adminTools",
- "shell:common documents": "shell:common documents",
- "shell:common programs": "shell:common programs",
- "shell:common startup": "shell:common startup",
- "shell:common templates": "shell:common templates",
- "shell:conflictresolutionfolder": "shell:conflictresolutionfolder",
- "shell:connections": "shell:connections",
- "shell:controlpanelfolder": "shell:controlpanelfolder",
- "shell:cookies": "shell:cookies",
- "shell:desktop": "shell:desktop",
- "shell:deviceMetadataStore": "shell:deviceMetadataStore",
- "shell:documents": "shell:documents",
- "shell:downloads": "shell:downloads",
- "shell:fonts": "shell:fonts",
- "shell:games": "shell:games",
- "shell:history": "shell:history",
- "shell:libraries": "shell:libraries",
- "shell:local appdata": "shell:local appdata",
- "shell:music": "shell:music",
- "shell:my music": "shell:my music",
- "shell:my pictures": "shell:my pictures",
- "shell:my video": "shell:my video",
- "shell:netHood": "shell:netHood",
- "shell:networkplaces": "shell:networkplaces",
- "shell:original images": "shell:original images",
- "shell:photo album": "shell:photo album",
- "shell:pictures": "shell:pictures",
- "shell:printHood": "shell:printHood",
- "shell:printersfolder": "shell:printersfolder",
- "shell:profile": "shell:profile",
- "shell:programs": "shell:programs",
- "shell:recent": "shell:recent",
- "shell:recyclebinfolder": "shell:recyclebinfolder",
- "shell:screenshots": "shell:screenshots",
- "shell:searches": "shell:searches",
- "shell:sendto": "shell:sendto",
- "shell:skydriedocuments": "shell:skydriedocuments",
- "shell:skydrive": "shell:skydrive",
- "shell:skydrivecamera": "shell:skydrivecamera",
- "shell:skydrivemusic": "shell:skydrivemusic",
- "shell:skydrivepictures": "shell:skydrivepictures",
- "shell:skydrivevideos": "shell:skydrivevideos",
- "shell:startup": "shell:startup",
- "shell:syncresultsfolder": "shell:syncresultsfolder",
- "shell:syncsetupfolder": "shell:syncsetupfolder",
- "shell:usersfilesfolder": "shell:usersfilesfolder",
- "shell:usersprofiles": "shell:usersprofiles",
- "shell:videos": "shell:videos",
- "shortcuts allusersprofile": "%allusersprofile%",
- "shortcuts appdata": "%appdata%",
- "shortcuts homedrive": "%homedrive%",
- "shortcuts homepath": "%homepath%",
- "shortcuts programdata": "%programdata%",
- "shortcuts programfiles": "%programfiles%",
- "shortcuts programfiles x86": "%programfiles(x86)%",
- "shortcuts public": "%public%",
- "shortcuts systemdrive": "%systemdrive%",
- "shortcuts temp": "%temp%",
- "shortcuts userprofile": "%userprofile%",
- "shortcuts windir": "%windir%",
- "control uninstall programs": "appwiz.cpl",
- "control certificates": "certmgr.msc",
- "control network": "ncpa.cpl",
- "control security center": "wscui.cpl",
- "control power options": "powercfg.cpl",
- "control panel": "control",
- "control display settings": "desk.cpl",
- "control internet options": "inetcpl.cpl",
- "control region settings": "intl.cpl",
- "control firewall": "firewall.cpl",
- "control mouse": "main.cpl",
- "control sound": "mmsys.cpl",
- "tool character map": "charmap",
- "tool command prompt": "cmd",
- "tool computer management": "compmgmt.msc",
- "tool device manager": "devmgmt.msc",
- "tool defragment": "dfrg.msc",
- "tool disk management": "diskmgmt.msc",
- "tool directx info": "dxdiag",
- "tool event viewer": "eventvwr.msc",
- "tool shared folders": "fsmgmt.msc",
- "tool group policy": "gpedit.msc",
- "tool users manager": "lusrmgr.msc",
- "tool magnifier": "magnify",
- "tool system config": "msconfig",
- "tool system info": "msinfo32",
- "tool on screen keyboard": "osk",
- "tool performance monitor": "perfmon.msc",
- "tool powershell": "powershell",
- "tool registry editor": "regedit",
- "tool registry editor alt": "regedit32",
- "tool rsop": "rsop.msc",
- "tool security policy": "secpol.msc",
- "tool services": "services.msc",
- "tool volume mixer": "sndvol",
- "tool snipping tool": "snippingtool",
- "control system properties": "sysdm.cpl",
- "tool task manager": "taskmgr",
- "tool task scheduler": "taskschd.msc",
- "control date time": "timedate.cpl",
- "tool ease access": "utilman",
- "tool windows version": "winver",
- "tool wmi": "wmimgmt.msc",
- "system driver list save": "Driverquery > List.txt",
- "dir basic list": "dir /4",
- "dir show all": "dir /a",
- "dir directories only": "dir /a:d",
- "dir hidden files": "dir /a:h",
- "dir system files": "dir /a:s",
- "dir bare format": "dir /b",
- "dir with commas": "dir /c",
- "dir lowercase": "dir /l",
- "dir long list": "dir /n",
- "dir sorted": "dir /o",
- "dir sort date desc": "dir /o:-d",
- "dir sort ext desc": "dir /o:-e",
- "dir sort name desc": "dir /o:-n",
- "dir sort size desc": "dir /o:-s",
- "dir sort date": "dir /o:d",
- "dir sort ext": "dir /o:e",
- "dir sort name": "dir /o:n",
- "dir sort size": "dir /o:s",
- "dir paginated": "dir /p",
- "dir owner info": "dir /q",
- "dir alt streams": "dir /r",
- "dir recursive": "dir /s",
- "dir time info": "dir /t",
- "dir access time": "dir /t:a",
- "dir creation time": "dir /t:c",
- "dir write time": "dir /t:w",
- "dir short names": "dir /x",
- "dir exe files": "DIR *.exe",
- "dir txt doc files": "DIR *.txt *.doc",
- "dir wide view": "DIR /w",
- "dir recursive wide paged": "DIR /s /w /p",
- "dir sort by name": "DIR /o:n",
- "dir bare recursive": "DIR /b /s [Directory or Filename]",
- "dir read only": "DIR /a:r",
- "dir extension filter": "DIR /B *.EXT",
- "dir program files scan": "DIR /s /w /p \"C:\\Program Files\"",
- "dir windows hidden scan": "DIR /s /q /a:sh /p C:\\Windows",
- "dir csv export": "DIR c:\\*.csv /s /b > c:\\users\\tim\\desktop\\csvfiles.txt",
- "dir append list": "DIR /W /B >> LIST.EXT",
- "dir computer list": "DIR C:\\\"Program Files\" >> %COMPUTERNAME%-IS.txt",
- "dir drive C full list": "DIR /S /B /A \"C:\\\" >> %COMPUTERNAME%-LISTC.txt",
- "dir drive D full list": "DIR /S /B /A \"D:\\\" >> %COMPUTERNAME%-LISTD.txt",
- "dir drive E full list": "DIR /S /B /A \"E:\\\" >> %COMPUTERNAME%-LISTE.txt",
- "dir drive F full list": "DIR /S /B /A \"F:\\\" >> %COMPUTERNAME%-LISTF.txt",
- "dir drive G full list": "DIR /S /B /A \"G:\\\" >> %COMPUTERNAME%-LISTG.txt",
- "dir drive H full list": "DIR /S /B /A \"H:\\\" >> %COMPUTERNAME%-LISTH.txt",
- "dir drive I full list": "DIR /S /B /A \"I:\\\" >> %COMPUTERNAME%-LISTI.txt",
- "dir drive J full list": "DIR /S /B /A \"J:\\\" >> %COMPUTERNAME%-LISTJ.txt",
- "dir drive K full list": "DIR /S /B /A \"K:\\\" >> %COMPUTERNAME%-LISTK.txt",
- "dir hidden export": "DIR /A:H /S /B >> LIST.txt",
- "cmd dir export": "CMD /R DIR /B > List.txt",
- "dir mp3 list": "DIR \\*.mp3 /s /b > filename.txt",
- "dir simple export": "DIR /B > List.txt",
- "dir full export": "DIR > myfile.txt",
- "dir windows audit": "DIR /s /a:hs /q C:\\Windows > myfile.txt",
- "dir find i": "DIR \\ /s | find \"i\" | more",
- "dir search string": "DIR \\ /s /b | find /I \"searchstring\"",
- "dir search mike": "DIR \\ /s /b | find /I \"mike\"",
- "dir pyw files": "dir *.pyw",
- "dir pyw recursive": "dir /s /b *.pyw",
- "dir pyw bare": "dir /b *.pyw",
- "dir pyw specific path": "dir /s /b F:\\DATABASEZIP\\*.pyw",
- "loop pyw full path": "for /r %f in (*.pyw) do @echo %f",
- "count pyw files": "dir /s *.pyw | find /c \".pyw\"",
- "copy file": "copy",
- "copy multiple files": "copy *.txt D:\\backup\\",
- "copy with overwrite": "copy /y file.txt D:\\backup\\",
- "copy confirm overwrite": "copy /-y file.txt D:\\backup\\",
- "copy binary mode": "copy /b file1.bin+file2.bin output.bin",
- "copy text mode": "copy /a file1.txt+file2.txt output.txt",
- "copy folder content": "copy folder\\* D:\\backup\\",
- "copy all files recursive (basic)": "xcopy folder D:\\backup\\ /s",
- "copy exe to msi": "COPY Y:\\install\\j93n.exe Y:\\more\\m1284.msi",
- "copy iso to downloads": "COPY Z:\\Software\\program.iso C:\\Users\\Jon\\Downloads\\Programs\\",
- "copy mp3 files verify overwrite": "COPY /y /v C:\\Users\\Jon\\Downloads\\*.mp3 C:\\Users\\Jon\\Music\\DownloadedMusic\\",
- "combine text files": "COPY Z:\\file1.txt+Z:\\file2.txt+Z:\\file3.txt Z:\\combined.txt",
- "hide rar inside jpg": "COPY /b DATA\\PIC.jpg + File.rar DATA\\PICNEW.jpg",
- "jpg rar combine alt": "COPY /b DATA\\P.jpg + PIC.rar DATA\\PICR.jpg",
- "merge text simple": "COPY myfile1.txt+myfile2.txt",
- "image text combine": "COPY /b Pic.jpg+Text.txt NewPic.jpg",
- "image rar combine": "COPY /b PIC.jpg + File.rar PICNEW.jpg",
- "copy single file": "COPY file.txt C:\\Destination\\",
- "copy all txt backup": "COPY *.txt D:\\Backup\\",
- "move file": "move",
- "move multiple files": "move *.txt D:\\backup\\",
- "move folder": "move folder D:\\backup\\",
- "move and rename": "move old.txt new.txt",
- "rename file": "ren",
- "rename multiple files": "ren *.txt *.bak",
- "rename prefix": "ren *.txt new_*.txt",
- "rename remove extension": "ren *.txt *.",
- "xcopy basic": "xcopy source D:\\backup\\",
- "xcopy recursive": "xcopy source D:\\backup\\ /s",
- "xcopy include empty dirs": "xcopy source D:\\backup\\ /e",
- "xcopy overwrite all": "xcopy source D:\\backup\\ /y",
- "xcopy hidden system": "xcopy source D:\\backup\\ /h",
- "xcopy preserve attributes": "xcopy source D:\\backup\\ /k",
- "xcopy continue errors": "xcopy source D:\\backup\\ /c",
- "xcopy no prompt": "xcopy source D:\\backup\\ /i",
- "xcopy archive files only": "xcopy source D:\\backup\\ /a",
- "xcopy exclude archive": "xcopy source D:\\backup\\ /m",
- "xcopy full clone": "xcopy source D:\\backup\\ /e /h /k /y /c /i",
- "xcopy network example": "xcopy C:\\data \\\\server\\share\\backup\\ /e /y",
- "xcopy log output": "xcopy source D:\\backup\\ /s > log.txt",
- "xcopy append log": "xcopy source D:\\backup\\ /s >> log.txt",
- "cd root": "cd \\",
- "cd parent": "cd ..",
- "cd specific folder": "cd foldername",
- "cd full path": "cd C:\\Users\\Public",
- "cd with spaces": "cd \"C:\\Program Files\"",
- "cd show current": "cd",
- "cd change drive": "D:",
- "cd drive and folder": "cd /d D:\\Projects",
- "attrib show": "attrib",
- "attrib read only": "attrib +r file.txt",
- "attrib remove read only": "attrib -r file.txt",
- "attrib hidden": "attrib +h file.txt",
- "attrib unhide": "attrib -h file.txt",
- "attrib system": "attrib +s file.txt",
- "attrib remove system": "attrib -s file.txt",
- "attrib archive": "attrib +a file.txt",
- "attrib remove archive": "attrib -a file.txt",
- "attrib recursive": "attrib +h /s /d folder",
- "type view file": "type file.txt",
- "type multiple files": "type file1.txt file2.txt",
- "type with more": "type file.txt | more",
- "call batch file": "call script.bat",
- "call with parameters": "call script.bat arg1 arg2",
- "call another label": "call :label",
- "del file": "del file.txt",
- "del multiple files": "del *.txt",
- "del force": "del /f file.txt",
- "del quiet": "del /q file.txt",
- "del recursive": "del /s *.txt",
- "del hidden files": "del /a:h file.txt",
- "del read only": "del /a:r file.txt",
- "del all files in folder": "del *.*",
- "del folder files quietly": "del /q C:\\folder\\*",
- "imagemagick convert jpg to png": "magick input.jpg output.png",
- "imagemagick resize": "magick input.jpg -resize 800x600 output.jpg",
- "imagemagick rotate": "magick input.jpg -rotate 90 output.jpg",
- "imagemagick crop": "magick input.jpg -crop 200x200+10+10 output.jpg",
- "imagemagick watermark": "magick input.jpg watermark.png -gravity southeast -composite output.jpg",
- "imagemagick text overlay": "magick input.jpg -gravity south -pointsize 30 -draw \"text 0,10 'Hello'\" output.jpg",
- "imagemagick grayscale": "magick input.jpg -colorspace Gray output.jpg",
- "imagemagick compress": "magick input.jpg -quality 70 output.jpg",
- "imagemagick batch resize": "magick mogrify -resize 50% *.jpg",
- "imagemagick gif create": "magick *.png animation.gif",
- "ffmpeg convert video": "ffmpeg -i input.mp4 output.avi",
- "ffmpeg extract audio": "ffmpeg -i video.mp4 -vn audio.mp3",
- "ffmpeg cut video": "ffmpeg -i input.mp4 -ss 00:00:10 -to 00:00:30 -c copy output.mp4",
- "ffmpeg compress video": "ffmpeg -i input.mp4 -vcodec libx264 -crf 28 output.mp4",
- "ffmpeg resize video": "ffmpeg -i input.mp4 -vf scale=1280:720 output.mp4",
- "ffmpeg extract frames": "ffmpeg -i input.mp4 frame_%04d.png",
- "ffmpeg merge videos": "ffmpeg -f concat -safe 0 -i list.txt -c copy output.mp4",
- "ffmpeg add subtitle": "ffmpeg -i input.mp4 -vf subtitles=sub.srt output.mp4",
- "ffmpeg gif create": "ffmpeg -i input.mp4 output.gif",
- "ffmpeg audio convert": "ffmpeg -i input.wav output.mp3",
- "wget download file": "wget https://example.com/file.zip",
- "wget save as": "wget -O newname.zip https://example.com/file.zip",
- "wget resume download": "wget -c https://example.com/file.zip",
- "wget background download": "wget -b https://example.com/file.zip",
- "wget download folder": "wget -r https://example.com/",
- "wget limit speed": "wget --limit-rate=200k https://example.com/file.zip",
- "wget user agent": "wget --user-agent=\"Mozilla\" https://example.com",
- "wget with auth": "wget --user=user --password=pass https://example.com",
- "wget download list": "wget -i urls.txt",
- "wget mirror site": "wget -m https://example.com",
- "where find command": "where cmd",
- "where find exe": "where *.exe",
- "where python path": "where python",
- "where multiple": "where notepad.exe calc.exe",
- "wmic system info": "wmic os get caption,version",
- "wmic cpu info": "wmic cpu get name",
- "wmic ram info": "wmic memorychip get capacity",
- "wmic disk info": "wmic diskdrive get model,size",
- "wmic bios serial": "wmic bios get serialnumber",
- "wmic user list": "wmic useraccount get name",
- "wmic process list": "wmic process list brief",
- "wmic startup list": "wmic startup get caption,command",
- "wmic installed programs": "wmic product get name,version",
- "wmic network info": "wmic nic get name,macaddress",
- "hide system drive E": "ATTRIB +S +H \"E:\\*\" /S /D",
- "hide protect drive G": "ATTRIB +S +H +R /s /d G:\\*.*",
- "unhide unprotect G": "ATTRIB -S -H -R /s /d G:\\*.*",
- "remove all attributes G": "ATTRIB -S -H -A -R /s /d G:\\*.*",
- "dir list to clipboard": "DIR /S /B | clip",
- "dir list append file": "DIR /S /B >> LIST.txt",
- "arp show table": "arp -a",
- "arp show specific interface": "arp -a -N",
- "arp delete all": "arp -d *",
- "info": "systeminfo",
- "windows version": "ver",
- "hostname": "hostname",
- "current user": "whoami",
- "username": "echo %USERNAME%",
- "computer name": "echo %COMPUTERNAME%",
- "environment variables": "set",
- "path variable": "echo %PATH%",
- "current date": "date /t",
- "current time": "time /t",
- "system architecture": "wmic os get osarchitecture",
- "list processes": "tasklist",
- "show services": "sc query state= all",
- "open services manager": "services.msc",
- "open task manager": "taskmgr",
- "open computer management": "compmgmt.msc",
- "resource monitor": "resmon",
- "performance monitor": "perfmon",
- "show ip": "ipconfig",
- "full ip info": "ipconfig /all",
- "clear dns cache": "ipconfig /flushdns",
- "renew ip address": "ipconfig /renew",
- "release ip address": "ipconfig /release",
- "network connections": "ncpa.cpl",
- "show wifi profiles": "netsh wlan show profiles",
- "show wifi password": "netsh wlan show profile name=\"PROFILE_NAME\" key=clear",
- "ping google": "ping google.com -n 4",
- "trace route to google": "tracert google.com",
- "active connections": "netstat -ano",
- "arp table": "arp -a",
- "dns lookup google": "nslookup google.com",
- "reset winsock": "netsh winsock reset",
- "reset tcpip stack": "netsh int ip reset",
- "list files": "dir",
- "tree structure": "tree",
- "disk space usage": "wmic logicaldisk get size,freespace,caption",
- "check disk": "chkdsk",
- "disk cleanup utility": "cleanmgr",
- "open file explorer": "explorer",
- "show hidden files": "attrib /s /d /l",
- "copy command help": "xcopy /?",
- "robocopy help": "robocopy /?",
- "find text in files": "findstr /s /i /c:",
- "show file attributes": "attrib",
- "open notepad": "notepad",
- "open calculator": "calc",
- "open paint": "mspaint",
- "open command prompt": "cmd",
- "open powershell": "powershell",
- "open control panel": "control",
- "add remove programs": "appwiz.cpl",
- "system properties": "sysdm.cpl",
- "device manager": "devmgmt.msc",
- "event viewer": "eventvwr.msc",
- "registry editor": "regedit",
- "windows firewall": "wf.msc",
- "dxdiag info": "dxdiag",
- "memory diagnostic": "mdsched.exe",
- "open downloads": "explorer %USERPROFILE%\\Downloads",
- "open desktop": "explorer %USERPROFILE%\\Desktop",
- "open documents": "explorer %USERPROFILE%\\Documents",
- "system file checker": "sfc /scannow",
- "dism health check": "DISM /Online /Cleanup-Image /RestoreHealth",
- "windows update trigger": "wuauclt /detectnow",
- "system protection": "systempropertiesprotection",
- "boot configuration": "msconfig",
- "sleep computer": "rundll32.exe powrprof.dll,SetSuspendState Sleep",
- "hibernate now": "shutdown /h",
- "restart immediately": "shutdown /r /t 0",
- "log off user": "shutdown /l",
- "abort pending shutdown": "shutdown /a",
- "start python web server": "python -m http.server 8000",
- "clear console screen": "cls",
- "show python version": "python --version",
- "show pip version": "pip --version",
- "open batch prompt": "cmd /k",
- "show motherboard info": "wmic baseboard get product,manufacturer,serialnumber",
- "show battery status": "powercfg /batteryreport",
- "list D:\\": "dir D:\\",
- "List E:\\": "dir E:\\",
- "List F:\\": "dir F:\\",
- "List G:\\": "dir G:\\",
- "List H:\\": "dir H:\\",
- "List G:\\ find mp3": "dir G:\\*File-name*.mp3 /s /b",
- "START": "start \"\" \"\"",
- "cpu info": "wmic cpu get name,numberOfCores,threadCount,maxClockSpeed",
- "bios version": "wmic bios get smbiosbiosversion",
- "serial number": "wmic bios get serialnumber",
- "gpu info": "wmic path win32_VideoController get name",
- "ram details": "wmic memorychip get capacity, speed, manufacturer",
- "total ram": "systeminfo | findstr /C:\"Total Physical Memory\"",
- "os build number": "ver",
- "uptime": "net statistics workstation",
- "last boot time": "wmic os get lastbootuptime",
- "monitor info": "wmic desktopmonitor get screenheight, screenwidth",
- "printer list": "wmic printer get name, default",
- "sound devices": "wmic sounddev get productname",
- "connected usb": "wmic usbcontroller get deviceid",
- "temperature check": "wmic /namespace:\\\\root\\wmi PATH MSAcpi_ThermalZoneTemperature get CurrentTemperature",
- "create folder": "mkdir",
- "remove folder": "rmdir /s /q",
- "delete file": "del /f /q",
- "show large files": "dir /o:s /b",
- "find large files": "forfiles /S /M * /C \"cmd /c if @fsize GTR 100000000 echo @path @fsize\"",
- "empty recycle bin": "PowerShell -Command \"Clear-RecycleBin -Force\"",
- "show extensions": "dir /x",
- "read only file": "attrib +r",
- "hidden file toggle": "attrib +h",
- "system file toggle": "attrib +s",
- "compare files": "fc file1.txt file2.txt",
- "create empty file": "type nul > filename.txt",
- "append text to file": "echo text >> filename.txt",
- "overwrite text in file": "echo text > filename.txt",
- "zip folder (powershell)": "Compress-Archive -Path .\\folder -DestinationPath archive.zip",
- "unzip folder (powershell)": "Expand-Archive -Path archive.zip -DestinationPath .\\folder",
- "public ip": "curl ifconfig.me",
- "dns flush": "ipconfig /flushdns",
- "dns register": "ipconfig /registerdns",
- "display dns cache": "ipconfig /displaydns",
- "wifi disconnect": "netsh wlan disconnect",
- "wifi connect": "netsh wlan connect name=\"PROFILE_NAME\"",
- "export wifi profiles": "netsh wlan export profile key=clear folder=C:\\WifiProfiles",
- "show network adapters": "netsh interface show interface",
- "set static ip": "netsh interface ip set address name=\"Wi-Fi\" static 192.168.1.100 255.255.255.0 192.168.1.1",
- "set dns google": "netsh interface ip set dns name=\"Wi-Fi\" static 8.8.8.8",
- "port scan localhost": "netstat -an | findstr LISTENING",
- "ping specific port (tcp)": "Test-NetConnection -ComputerName google.com -Port 443",
- "trace route no resolve": "tracert -d google.com",
- "pathping test": "pathping google.com",
- "arp delete entry": "arp -d *",
- "route print": "route print",
- "add route": "route add 192.168.1.0 mask 255.255.255.0 192.168.1.1",
- "delete route": "route delete 192.168.1.0",
- "netsh firewall show state": "netsh advfirewall show currentprofile",
- "enable remote desktop": "reg add \"HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\Terminal Server\" /v fDenyTSConnections /t REG_DWORD /d 0 /f",
- "disable remote desktop": "reg add \"HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\Terminal Server\" /v fDenyTSConnections /t REG_DWORD /d 1 /f",
- "list local users": "net user",
- "create new user": "net user username password /add",
- "delete user": "net user username /delete",
- "change password": "net user username newpassword",
- "activate admin account": "net user administrator /active:yes",
- "deactivate admin account": "net user administrator /active:no",
- "show user groups": "net user %USERNAME%",
- "add user to group": "net localgroup administrators username /add",
- "remove user from group": "net localgroup administrators username /delete",
- "list local groups": "net localgroup",
- "whoami privileges": "whoami /priv",
- "whoami groups": "whoami /groups",
- "lock workstation": "rundll32.exe user32.dll,LockWorkStation",
- "kill process by name": "taskkill /IM process.exe /F",
- "kill process by pid": "taskkill /PID 1234 /F",
- "kill all chrome": "taskkill /IM chrome.exe /F",
- "start process hidden": "start /B process.exe",
- "priority high": "wmic process where name=\"process.exe\" call setpriority 128",
- "service start": "net start ServiceName",
- "service stop": "net stop ServiceName",
- "service restart": "net stop ServiceName && net start ServiceName",
- "service disable": "sc config ServiceName start= disabled",
- "service auto start": "sc config ServiceName start= auto",
- "query service config": "sc qc ServiceName",
- "get service pid": "sc queryex ServiceName",
- "list drivers": "driverquery",
- "list signed drivers": "driverquery /si",
- "defrag c drive": "defrag C: /U /V",
- "optimize ssd": "defrag C: /L",
- "convert fat to ntfs": "convert D: /fs:ntfs",
- "label disk": "label C: MyDrive",
- "volume info": "vol C:",
- "diskpart list disk": "diskpart /s list_disk.txt",
- "mount iso": "PowerShell Mount-DiskImage -ImagePath \"C:\\file.iso\"",
- "dismount iso": "PowerShell Dismount-DiskImage -ImagePath \"C:\\file.iso\"",
- "show partitions": "wmic partition get name,size,type",
- "clean temp files": "del /q/f/s %TEMP%\\*",
- "clean prefetch": "del /q/f/s C:\\Windows\\Prefetch\\*",
- "check update history": "wmic qfe list brief /format:table",
- "install updates (ps)": "Install-WindowsUpdate -AcceptAll -AutoReboot",
- "stop windows update": "net stop wuauserv",
- "start windows update": "control update",
- "reset update components": "net stop bits && net stop wuauserv && del %windir%\\SoftwareDistribution\\* /q && net start bits && net start wuauserv",
- "ps get date": "powershell Get-Date",
- "ps get services": "powershell Get-Service",
- "ps get processes": "powershell Get-Process",
- "ps system info": "powershell Get-ComputerInfo",
- "ps installed apps": "powershell Get-WmiObject -Class Win32_Product | Select-Object Name, Version",
- "ps bitlocker status": "powershell Get-BitLockerVolume",
- "ps enable bitlocker": "powershell Enable-BitLocker -MountPoint C: -RecoveryPasswordProtector",
- "ps disable bitlocker": "powershell Disable-BitLocker -MountPoint C:",
- "ps get event logs": "powershell Get-EventLog -LogName Application -Newest 10",
- "ps clear event logs": "powershell Clear-EventLog -LogName Application",
- "node version": "node -v",
- "npm version": "npm -v",
- "git version": "git --version",
- "git status": "git status",
- "java version": "java -version",
- "docker version": "docker --version",
- "docker ps": "docker ps",
- "vscode open": "code .",
- "open terminal here": "start cmd",
- "open powershell here": "start powershell",
- "open browser edge": "start msedge",
- "open browser chrome": "start chrome",
- "open firefox": "start firefox",
- "take ownership": "takeown /f filename",
- "grant full control": "icacls filename /grant administrators:F",
- "reset permissions": "icacls filename /reset",
- "audit policy": "auditpol /get /category:*",
- "bitlocker status": "manage-bde -status",
- "encrypt file": "cipher /e filename",
- "decrypt file": "cipher /d filename",
- "wipe free space": "cipher /w:C:",
- "shutdown in 1 hour": "shutdown /s /t 3600",
- "restart in 10 mins": "shutdown /r /t 600",
- "force shutdown": "shutdown /s /f /t 0",
- "force restart": "shutdown /r /f /t 0",
- "hybrid sleep": "rundll32.exe powrprof.dll,SetSuspendState HybridSleep",
- "turn off monitor": "nircmd.exe monitor off",
- "power plan list": "powercfg /list",
- "power plan high perf": "powercfg /setactive 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c",
- "battery saver on": "powercfg /setbatteryvalue AC INDEX 1",
- "hibernate timeout": "powercfg /h timeout 0",
- "clipboard copy": "clip < filename.txt",
- "speak text": "powershell Add-Type -AssemblyName System.Speech; $synth = New-Object System.Speech.Synthesis.SpeechSynthesizer; $synth.Speak('Hello')",
- "beep sound": "echo ^G",
- "color green": "color 0a",
- "color reset": "color 07",
- "title window": "title My Window",
- "prompt change": "prompt $P$G",
- "doskey macro": "doskey ls=dir /b",
- "history": "doskey /history",
- "macro list": "doskey /macros",
- "verify mode": "verify",
- "break on/off": "break on",
- "chcp utf8": "chcp 65001",
- "chcp ascii": "chcp 437",
- "mode con cols": "mode con cols=100 lines=30",
- "start notepad": "notepad",
- "start wordpad": "write",
- "start snipping tool": "snippingtool",
- "start onscreen keyboard": "osk",
- "start character map": "charmap",
- "start system info": "msinfo32",
- "start gmail": "start chrome https://mail.google.com",
- "start amazon": "start chrome https://amazon.com",
- "start ebay": "start chrome https://ebay.com",
- "start dropbox": "start dropbox:",
- "start googledrive": "start chrome https://drive.google.com",
- "start onedrive": "start onedrive:",
- "start trello": "start chrome https://trello.com",
- "start asana": "start chrome https://asana.com",
- "start jira": "start chrome https://jira.atlassian.com",
- "start confluence": "start chrome https://confluence.atlassian.com",
- "start gotomeeting": "start gotomeeting:",
- "start bluejeans": "start bluejeans:",
- "start skype for business": "start lync:",
- "sfc scan": "sfc /scannow",
- "dism online": "DISM /Online /Cleanup-Image /RestoreHealth",
- "dism offline": "DISM /Offline /Cleanup-Image /RestoreHealth",
- "chkdsk fix": "chkdsk C: /f /r",
- "chkdsk read only": "chkdsk C:",
- "bootrec fixmbr": "bootrec /fixmbr",
- "bootrec fixboot": "bootrec /fixboot",
- "bootrec rebuildbcd": "bootrec /rebuildbcd",
- "bcdedit export": "bcdedit /export C:\\BCD_Backup",
- "bcdedit import": "bcdedit /import C:\\BCD_Backup",
- "bcdedit delete bad": "bcdedit /deletevalue {default} recoveryenabled",
- "enable safe boot": "bcdedit /set {current} safeboot minimal",
- "disable safe boot": "bcdedit /deletevalue {current} safeboot",
- "enable networking safe boot": "bcdedit /set {current} safeboot network",
- "show boot entries": "bcdedit /enum",
- "memory test": "mdsched.exe",
- "reliability monitor": "perfmon /rel",
- "data collector sets": "perfmon /datacollectorsets",
- "report set": "perfmon /report",
- "system diagnostics": "perfmon /report",
- "system performance": "perfmon /sysperformance",
- "system summary": "msinfo32",
- "directx diag": "dxdiag",
- "microsoft support diagnostic": "msdt",
- "windows troubleshooting": "control /name Microsoft.Troubleshooting",
- "network troubleshooter": "msdt.exe -id NetworkDiagnosticsNetworkAdapter",
- "audio troubleshooter": "msdt.exe -id AudioPlaybackDiagnostic",
- "printer troubleshooter": "msdt.exe -id PrinterDiagnostic",
- "windows update troubleshooter": "msdt.exe -id WindowsUpdateDiagnostic",
- "bluetooth troubleshooter": "msdt.exe -id BluetoothDiagnostic",
- "keyboard troubleshooter": "msdt.exe -id KeyboardDiagnostic",
- "power troubleshooter": "msdt.exe -id PowerDiagnostic",
- "search and indexing troubleshooter": "msdt.exe -id SearchDiagnostic",
- "hardware and devices troubleshooter": "msdt.exe -id HardwareDiagnostic",
- "internet connections troubleshooter": "msdt.exe -id NetworkDiagnosticsWeb",
- "incoming connections troubleshooter": "msdt.exe -id NetworkDiagnosticsInbound",
- "shared folders troubleshooter": "msdt.exe -id NetworkDiagnosticsFileShare",
- "windows store apps troubleshooter": "msdt.exe -id WindowsStoreAppsDiagnostic",
- "maintenance troubleshooter": "msdt.exe -id MaintenanceDiagnostic",
- "compatibility troubleshooter": "msdt.exe -id CompatibilityDiagnostic",
- "device center troubleshooter": "msdt.exe -id DeviceCenterDiagnostic",
- "speech troubleshooter": "msdt.exe -id SpeechDiagnostic",
- "video playback troubleshooter": "msdt.exe -id VideoPlaybackDiagnostic",
- "windows activation troubleshooter": "msdt.exe -id ActivationDiagnostic",
- "bitlocker troubleshooter": "msdt.exe -id BitLockerDiagnostic",
- "homegroup troubleshooter": "msdt.exe -id HomeGroupDiagnostic",
- "ie browse web troubleshooter": "msdt.exe -id IEBrowseWebDiagnostic",
- "ie security troubleshooter": "msdt.exe -id IESecurityDiagnostic",
- "program compatibility troubleshooter": "msdt.exe -id ProgramCompatibilityDiagnostic",
- "windows media player troubleshooter": "msdt.exe -id WMPDiagnostic",
- "windows explorer troubleshooter": "msdt.exe -id ExplorerDiagnostic",
- "desktop icon troubleshooter": "msdt.exe -id DesktopIconDiagnostic",
- "screen resolution troubleshooter": "msdt.exe -id ScreenResolutionDiagnostic",
- "tablet pc troubleshooter": "msdt.exe -id TabletPCDiagnostic",
- "touchscreen troubleshooter": "msdt.exe -id TouchscreenDiagnostic",
- "pen and touch troubleshooter": "msdt.exe -id PenAndTouchDiagnostic",
- "location sensor troubleshooter": "msdt.exe -id LocationSensorDiagnostic",
- "ambient light sensor troubleshooter": "msdt.exe -id AmbientLightSensorDiagnostic",
- "accelerometer troubleshooter": "msdt.exe -id AccelerometerDiagnostic",
- "gyrometer troubleshooter": "msdt.exe -id GyrometerDiagnostic",
- "compass troubleshooter": "msdt.exe -id CompassDiagnostic",
- "gps troubleshooter": "msdt.exe -id GPSDiagnostic",
- "nfc troubleshooter": "msdt.exe -id NFCDiagnostic",
- "fingerprint troubleshooter": "msdt.exe -id FingerprintDiagnostic",
- "smart card troubleshooter": "msdt.exe -id SmartCardDiagnostic",
- "virtual smart card troubleshooter": "msdt.exe -id VirtualSmartCardDiagnostic",
- "tpm troubleshooter": "msdt.exe -id TPMDiagnostic",
- "secure boot troubleshooter": "msdt.exe -id SecureBootDiagnostic",
- "uefi troubleshooter": "msdt.exe -id UEFIDiagnostic",
- "bios troubleshooter": "msdt.exe -id BIOSDiagnostic",
- "firmware troubleshooter": "msdt.exe -id FirmwareDiagnostic",
- "driver troubleshooter": "msdt.exe -id DriverDiagnostic",
- "plug and play troubleshooter": "msdt.exe -id PlugAndPlayDiagnostic",
- "device installation troubleshooter": "msdt.exe -id DeviceInstallationDiagnostic",
- "device manager troubleshooter": "msdt.exe -id DeviceManagerDiagnostic",
- "device properties troubleshooter": "msdt.exe -id DevicePropertiesDiagnostic",
- "device status troubleshooter": "msdt.exe -id DeviceStatusDiagnostic",
- "device resources troubleshooter": "msdt.exe -id DeviceResourcesDiagnostic",
- "device events troubleshooter": "msdt.exe -id DeviceEventsDiagnostic",
- "device driver details troubleshooter": "msdt.exe -id DeviceDriverDetailsDiagnostic",
- "device driver update troubleshooter": "msdt.exe -id DeviceDriverUpdateDiagnostic",
- "device driver rollback troubleshooter": "msdt.exe -id DeviceDriverRollbackDiagnostic",
- "device driver uninstall troubleshooter": "msdt.exe -id DeviceDriverUninstallDiagnostic",
- "device driver install troubleshooter": "msdt.exe -id DeviceDriverInstallDiagnostic",
- "device driver verify troubleshooter": "msdt.exe -id DeviceDriverVerifyDiagnostic",
- "device driver sign troubleshooter": "msdt.exe -id DeviceDriverSignDiagnostic",
- "device driver certificate troubleshooter": "msdt.exe -id DeviceDriverCertificateDiagnostic",
- "device driver publisher troubleshooter": "msdt.exe -id DeviceDriverPublisherDiagnostic",
- "device driver version troubleshooter": "msdt.exe -id DeviceDriverVersionDiagnostic",
- "device driver date troubleshooter": "msdt.exe -id DeviceDriverDateDiagnostic",
- "device driver provider troubleshooter": "msdt.exe -id DeviceDriverProviderDiagnostic",
- "device driver class troubleshooter": "msdt.exe -id DeviceDriverClassDiagnostic",
- "device driver guid troubleshooter": "msdt.exe -id DeviceDriverGUIDDiagnostic",
- "device driver inf troubleshooter": "msdt.exe -id DeviceDriverINFDiagnostic",
- "device driver sys troubleshooter": "msdt.exe -id DeviceDriverSYSDiagnostic",
- "device driver dll troubleshooter": "msdt.exe -id DeviceDriverDLLDiagnostic",
- "device driver exe troubleshooter": "msdt.exe -id DeviceDriverEXEDiagnostic",
- "device driver ocx troubleshooter": "msdt.exe -id DeviceDriverOCXDiagnostic",
- "device driver cab troubleshooter": "msdt.exe -id DeviceDriverCABDiagnostic",
- "device driver cat troubleshooter": "msdt.exe -id DeviceDriverCATDiagnostic",
- "device driver inf section troubleshooter": "msdt.exe -id DeviceDriverINFSectionDiagnostic",
- "device driver inf directive troubleshooter": "msdt.exe -id DeviceDriverINFDirectiveDiagnostic",
- "device driver inf key troubleshooter": "msdt.exe -id DeviceDriverINFKeyDiagnostic",
- "device driver inf value troubleshooter": "msdt.exe -id DeviceDriverINFValueDiagnostic",
- "device driver inf comment troubleshooter": "msdt.exe -id DeviceDriverINFCommentDiagnostic",
- "device driver inf include troubleshooter": "msdt.exe -id DeviceDriverINFIncludeDiagnostic",
- "device driver inf needs troubleshooter": "msdt.exe -id DeviceDriverINFNeedsDiagnostic",
- "device driver inf copyfiles troubleshooter": "msdt.exe -id DeviceDriverINFCopyFilesDiagnostic",
- "device driver inf delfiles troubleshooter": "msdt.exe -id DeviceDriverINFDelFilesDiagnostic",
- "device driver inf renamefiles troubleshooter": "msdt.exe -id DeviceDriverINFRenameFilesDiagnostic",
- "device driver inf addreg troubleshooter": "msdt.exe -id DeviceDriverINFAddRegDiagnostic",
- "device driver inf delreg troubleshooter": "msdt.exe -id DeviceDriverINFDelRegDiagnostic",
- "device driver inf bitreg troubleshooter": "msdt.exe -id DeviceDriverINFBitRegDiagnostic",
- "device driver inf logconf troubleshooter": "msdt.exe -id DeviceDriverINFLogConfDiagnostic",
- "device driver inf interfaces troubleshooter": "msdt.exe -id DeviceDriverINFInterfacesDiagnostic",
- "device driver inf services troubleshooter": "msdt.exe -id DeviceDriverINFServicesDiagnostic",
- "device driver inf eventlog troubleshooter": "msdt.exe -id DeviceDriverINFEventLogDiagnostic",
- "device driver inf propertypages troubleshooter": "msdt.exe -id DeviceDriverINFPropertyPagesDiagnostic",
- "device driver inf icons troubleshooter": "msdt.exe -id DeviceDriverINFIconsDiagnostic",
- "device driver inf defaulticon troubleshooter": "msdt.exe -id DeviceDriverINFDefaultIconDiagnostic",
- "device driver inf shell troubleshooter": "msdt.exe -id DeviceDriverINFShellDiagnostic",
- "device driver inf shellex troubleshooter": "msdt.exe -id DeviceDriverINFShellExDiagnostic",
- "device driver inf drophandler troubleshooter": "msdt.exe -id DeviceDriverINFDropHandlerDiagnostic",
- "device driver inf contextmenuhandlers troubleshooter": "msdt.exe -id DeviceDriverINFContextMenuHandlersDiagnostic",
- "device driver inf columnhandlers troubleshooter": "msdt.exe -id DeviceDriverINFColumnHandlersDiagnostic",
- "device driver inf infoproxyhandlers troubleshooter": "msdt.exe -id DeviceDriverINFInfoProxyHandlersDiagnostic",
- "device driver inf previewhandlers troubleshooter": "msdt.exe -id DeviceDriverINFPreviewHandlersDiagnostic",
- "device driver inf thumbnailhandlers troubleshooter": "msdt.exe -id DeviceDriverINFThumbnailHandlersDiagnostic",
- "device driver inf tileinfohandlers troubleshooter": "msdt.exe -id DeviceDriverINFTileInfoHandlersDiagnostic",
- "device driver inf verbhandlers troubleshooter": "msdt.exe -id DeviceDriverINFVerbHandlersDiagnostic",
- "device driver inf dragdrophandlers troubleshooter": "msdt.exe -id DeviceDriverINFDragDropHandlersDiagnostic",
- "device driver inf dataobjecthandlers troubleshooter": "msdt.exe -id DeviceDriverINFDataObjectHandlersDiagnostic",
- "device driver inf namespacehandlers troubleshooter": "msdt.exe -id DeviceDriverINFNamespaceHandlersDiagnostic",
- "device driver inf propertyshellextensions troubleshooter": "msdt.exe -id DeviceDriverINFPropertyShellExtensionsDiagnostic",
- "device driver inf queryinfohandlers troubleshooter": "msdt.exe -id DeviceDriverINFQueryInfoHandlersDiagnostic",
- "device driver inf retrieveinfohandlers troubleshooter": "msdt.exe -id DeviceDriverINFRetrieveInfoHandlersDiagnostic",
- "device driver inf initializepropertystorehandlers troubleshooter": "msdt.exe -id DeviceDriverINFInitializePropertyStoreHandlersDiagnostic",
- "device driver inf lazywritehandlers troubleshooter": "msdt.exe -id DeviceDriverINFLazyWriteHandlersDiagnostic",
- "device driver inf readhandlers troubleshooter": "msdt.exe -id DeviceDriverINFReadHandlersDiagnostic",
- "device driver inf writehandlers troubleshooter": "msdt.exe -id DeviceDriverINFWriteHandlersDiagnostic",
- "device driver inf streamhandlers troubleshooter": "msdt.exe -id DeviceDriverINFStreamHandlersDiagnostic",
- "device driver inf filterhandlers troubleshooter": "msdt.exe -id DeviceDriverINFFilterHandlersDiagnostic",
- "device driver inf searchhandlers troubleshooter": "msdt.exe -id DeviceDriverINFSearchHandlersDiagnostic",
- "device driver inf indexers troubleshooter": "msdt.exe -id DeviceDriverINFIndexersDiagnostic",
- "device driver inf protocolhandlers troubleshooter": "msdt.exe -id DeviceDriverINFProtocolHandlersDiagnostic",
- "device driver inf urlhandlers troubleshooter": "msdt.exe -id DeviceDriverINFURLHandlersDiagnostic",
- "device driver inf mimehandlers troubleshooter": "msdt.exe -id DeviceDriverINFMIMEHandlersDiagnostic",
- "device driver inf contenttypehandlers troubleshooter": "msdt.exe -id DeviceDriverINFContentTypeHandlersDiagnostic",
- "device driver inf encodinghandlers troubleshooter": "msdt.exe -id DeviceDriverINFEncodingHandlersDiagnostic",
- "device driver inf charsethandlers troubleshooter": "msdt.exe -id DeviceDriverINFCharsetHandlersDiagnostic",
- "device driver inf languagehandlers troubleshooter": "msdt.exe -id DeviceDriverINFLanguageHandlersDiagnostic",
- "device driver inf localehandlers troubleshooter": "msdt.exe -id DeviceDriverINFLocaleHandlersDiagnostic",
- "device driver inf regionhandlers troubleshooter": "msdt.exe -id DeviceDriverINFRegionHandlersDiagnostic",
- "device driver inf timezonehandlers troubleshooter": "msdt.exe -id DeviceDriverINFTimezoneHandlersDiagnostic",
- "device driver inf currencyhandlers troubleshooter": "msdt.exe -id DeviceDriverINFCurrencyHandlersDiagnostic",
- "device driver inf numberhandlers troubleshooter": "msdt.exe -id DeviceDriverINFNumberHandlersDiagnostic",
- "device driver inf datehandlers troubleshooter": "msdt.exe -id DeviceDriverINFDateHandlersDiagnostic",
- "device driver inf timehandlers troubleshooter": "msdt.exe -id DeviceDriverINFTimeHandlersDiagnostic",
- "device driver inf calendarehandlers troubleshooter": "msdt.exe -id DeviceDriverINFCalendarHandlersDiagnostic",
- "device driver inf collationhandlers troubleshooter": "msdt.exe -id DeviceDriverINFCollationHandlersDiagnostic",
- "device driver inf comparisonhandlers troubleshooter": "msdt.exe -id DeviceDriverINFComparisonHandlersDiagnostic",
- "device driver inf sortinghandlers troubleshooter": "msdt.exe -id DeviceDriverINFSortingHandlersDiagnostic",
- "device driver inf normalizationhandlers troubleshooter": "msdt.exe -id DeviceDriverINFNormalizationHandlersDiagnostic",
- "device driver inf conversionhandlers troubleshooter": "msdt.exe -id DeviceDriverINFConversionHandlersDiagnostic",
- "device driver inf parsinghandlers troubleshooter": "msdt.exe -id DeviceDriverINFParsingHandlersDiagnostic",
- "device driver inf formattinghandlers troubleshooter": "msdt.exe -id DeviceDriverINFFormattingHandlersDiagnostic",
- "device driver inf validationhandlers troubleshooter": "msdt.exe -id DeviceDriverINFValidationHandlersDiagnostic",
- "device driver inf sanitizationhandlers troubleshooter": "msdt.exe -id DeviceDriverINFSanitizationHandlersDiagnostic",
- "device driver inf escapinghandlers troubleshooter": "msdt.exe -id DeviceDriverINFescapingHandlersDiagnostic",
- "device driver inf decodinghandlers troubleshooter": "msdt.exe -id DeviceDriverINFDecodingHandlersDiagnostic",
- "device driver inf compressionhandlers troubleshooter": "msdt.exe -id DeviceDriverINFCompressionHandlersDiagnostic",
- "device driver inf decompressionhandlers troubleshooter": "msdt.exe -id DeviceDriverINFDecompressionHandlersDiagnostic",
- "device driver inf encryptionhandlers troubleshooter": "msdt.exe -id DeviceDriverINFEncryptionHandlersDiagnostic",
- "device driver inf decryptionhandlers troubleshooter": "msdt.exe -id DeviceDriverINFDecryptionHandlersDiagnostic",
- "device driver inf hashinghandlers troubleshooter": "msdt.exe -id DeviceDriverINFHashingHandlersDiagnostic",
- "device driver inf signinghandlers troubleshooter": "msdt.exe -id DeviceDriverINFSigningHandlersDiagnostic",
- "device driver inf verificationhandlers troubleshooter": "msdt.exe -id DeviceDriverINFVerificationHandlersDiagnostic",
- "device driver inf authenticationhandlers troubleshooter": "msdt.exe -id DeviceDriverINFAuthenticationHandlersDiagnostic",
- "device driver inf authorizationhandlers troubleshooter": "msdt.exe -id DeviceDriverINFAuthorizationHandlersDiagnostic",
- "device driver inf accountinghandlers troubleshooter": "msdt.exe -id DeviceDriverINFAccountingHandlersDiagnostic",
- "device driver inf auditinghandlers troubleshooter": "msdt.exe -id DeviceDriverINFAuditingHandlersDiagnostic",
- "device driver inf logginghandlers troubleshooter": "msdt.exe -id DeviceDriverINFLoggingHandlersDiagnostic",
- "device driver inf monitoringhandlers troubleshooter": "msdt.exe -id DeviceDriverINFMonitoringHandlersDiagnostic",
- "device driver inf tracinghandlers troubleshooter": "msdt.exe -id DeviceDriverINFTracingHandlersDiagnostic",
- "device driver inf debugginghandlers troubleshooter": "msdt.exe -id DeviceDriverINFDebuggingHandlersDiagnostic",
- "device driver inf profilinghandlers troubleshooter": "msdt.exe -id DeviceDriverINFProfilingHandlersDiagnostic",
- "device driver inf testinghandlers troubleshooter": "msdt.exe -id DeviceDriverINFTestingHandlersDiagnostic",
- "device driver inf benchmarkinghandlers troubleshooter": "msdt.exe -id DeviceDriverINFBenchmarkingHandlersDiagnostic",
- "device driver inf analysishandlers troubleshooter": "msdt.exe -id DeviceDriverINFAnalysisManagementHandlersDiagnostic",
- "device driver inf reporthandlers troubleshooter": "msdt.exe -id DeviceDriverINFReportHandlersDiagnostic",
- "device driver inf documentationhandlers troubleshooter": "msdt.exe -id DeviceDriverINFDocumentationHandlersDiagnostic",
- "device driver inf helphandlers troubleshooter": "msdt.exe -id DeviceDriverINFHelpHandlersDiagnostic",
- "device driver inf supporthandlers troubleshooter": "msdt.exe -id DeviceDriverINFSupportHandlersDiagnostic",
- "device driver inf feedbackhandlers troubleshooter": "msdt.exe -id DeviceDriverINFFeedbackHandlersDiagnostic",
- "device driver inf suggestionhandlers troubleshooter": "msdt.exe -id DeviceDriverINFSuggestionHandlersDiagnostic",
- "device driver inf recommendationhandlers troubleshooter": "msdt.exe -id DeviceDriverINFRecommendationHandlersDiagnostic",
- "device driver inf predictionhandlers troubleshooter": "msdt.exe -id DeviceDriverINFPredictionHandlersDiagnostic",
- "device driver inf forecastinghandlers troubleshooter": "msdt.exe -id DeviceDriverINFForecastingHandlersDiagnostic",
- "device driver inf planninghandlers troubleshooter": "msdt.exe -id DeviceDriverINFPlanningHandlersDiagnostic",
- "device driver inf schedulinghandlers troubleshooter": "msdt.exe -id DeviceDriverINFSchedulingHandlersDiagnostic",
- "device driver inf coordinationhandlers troubleshooter": "msdt.exe -id DeviceDriverINFCoordinationHandlersDiagnostic",
- "device driver inf collaborationhandlers troubleshooter": "msdt.exe -id DeviceDriverINFCollaborationHandlersDiagnostic",
- "device driver inf communicationhandlers troubleshooter": "msdt.exe -id DeviceDriverINFCommunicationHandlersDiagnostic",
- "device driver inf notificationhandlers troubleshooter": "msdt.exe -id DeviceDriverINFNotificationHandlersDiagnostic",
- "device driver inf alert.handlers troubleshooter": "msdt.exe -id DeviceDriverINFAlertHandlersDiagnostic",
- "device driver inf warninghandlers troubleshooter": "msdt.exe -id DeviceDriverINFWarningHandlersDiagnostic",
- "device driver inf errorhandlers troubleshooter": "msdt.exe -id DeviceDriverINFErrorHandlersDiagnostic",
- "device driver inf exceptionhandlers troubleshooter": "msdt.exe -id DeviceDriverINFExceptionHandlersDiagnostic",
- "device driver inf crashhandlers troubleshooter": "msdt.exe -id DeviceDriverINFCrashHandlersDiagnostic",
- "device driver inf recoveryhandlers troubleshooter": "msdt.exe -id DeviceDriverINFRecoveryHandlersDiagnostic",
- "device driver inf restorationhandlers troubleshooter": "msdt.exe -id DeviceDriverINFRestorationHandlersDiagnostic",
- "device driver inf backuphandlers troubleshooter": "msdt.exe -id DeviceDriverINFBackupHandlersDiagnostic",
- "device driver inf restorehandlers troubleshooter": "msdt.exe -id DeviceDriverINFRestoreHandlersDiagnostic",
- "device driver inf synchandlers troubleshooter": "msdt.exe -id DeviceDriverINFSyncHandlersDiagnostic",
- "device driver inf assimilationhandlers troubleshooter": "msdt.exe -id DeviceDriverINFAssimilationHandlersDiagnostic",
- "device driver inf integrationhandlers troubleshooter": "msdt.exe -id DeviceDriverINFIntegrationHandlersDiagnostic",
- "device driver inf migrationhandlers troubleshooter": "msdt.exe -id DeviceDriverINFMigrationHandlersDiagnostic",
- "device driver inf upgradehandlers troubleshooter": "msdt.exe -id DeviceDriverINFUpgradeHandlersDiagnostic",
- "device driver inf downgradehandlers troubleshooter": "msdt.exe -id DeviceDriverINFDowngradeHandlersDiagnostic",
- "device driver inf patchhandlers troubleshooter": "msdt.exe -id DeviceDriverINFPatchHandlersDiagnostic",
- "device driver inf updatehandlers troubleshooter": "msdt.exe -id DeviceDriverINFUpdateHandlersDiagnostic",
- "device driver inf installhandlers troubleshooter": "msdt.exe -id DeviceDriverINFInstallHandlersDiagnostic",
- "device driver inf uninstallhandlers troubleshooter": "msdt.exe -id DeviceDriverINFUninstallHandlersDiagnostic",
- "device driver inf configurehandlers troubleshooter": "msdt.exe -id DeviceDriverINFConfigureHandlersDiagnostic",
- "device driver inf setuphandlers troubleshooter": "msdt.exe -id DeviceDriverINFSetupHandlersDiagnostic",
- "device driver inf initializationhandlers troubleshooter": "msdt.exe -id DeviceDriverINFInitializationHandlersDiagnostic",
- "device driver inf terminationhandlers troubleshooter": "msdt.exe -id DeviceDriverINFTerminationHandlersDiagnostic",
- "device driver inf startuphandlers troubleshooter": "msdt.exe -id DeviceDriverINFStartupHandlersDiagnostic",
- "device driver inf shutdownhandlers troubleshooter": "msdt.exe -id DeviceDriverINFShutdownHandlersDiagnostic",
- "device driver inf resumehandlers troubleshooter": "msdt.exe -id DeviceDriverINFResumeHandlersDiagnostic",
- "device driver inf suspendhandlers troubleshooter": "msdt.exe -id DeviceDriverINFSuspendHandlersDiagnostic",
- "device driver inf hibernatehandlers troubleshooter": "msdt.exe -id DeviceDriverINFHibernateHandlersDiagnostic",
- "device driver inf sleephandlers troubleshooter": "msdt.exe -id DeviceDriverINFSleepHandlersDiagnostic",
- "device driver inf wakeuphandlers troubleshooter": "msdt.exe -id DeviceDriverINFWakeUpHandlersDiagnostic",
- "device driver inf powerhandlers troubleshooter": "msdt.exe -id DeviceDriverINFPowerHandlersDiagnostic",
- "device driver inf batteryhandlers troubleshooter": "msdt.exe -id DeviceDriverINFBatteryHandlersDiagnostic",
- "device driver inf achandlers troubleshooter": "msdt.exe -id DeviceDriverINFACHandlersDiagnostic",
- "device driver inf dc handlers troubleshooter": "msdt.exe -id DeviceDriverINFDCHandlersDiagnostic",
- "device driver inf thermalhandlers troubleshooter": "msdt.exe -id DeviceDriverINFThermalHandlersDiagnostic",
- "device driver inf fanhandlers troubleshooter": "msdt.exe -id DeviceDriverINFFanHandlersDiagnostic",
- "device driver inf coolinghandlers troubleshooter": "msdt.exe -id DeviceDriverINFCoolingHandlersDiagnostic",
- "device driver inf heatinghandlers troubleshooter": "msdt.exe -id DeviceDriverINFHeatingHandlersDiagnostic",
- "device driver inf ventilationhandlers troubleshooter": "msdt.exe -id DeviceDriverINFVentilationHandlersDiagnostic",
- "device driver inf airflohandlers troubleshooter": "msdt.exe -id DeviceDriverINFAirflowHandlersDiagnostic",
- "device driver inf dustfilters troubleshooter": "msdt.exe -id DeviceDriverINFDustFiltersDiagnostic",
- "device driver inf cleaninghandlers troubleshooter": "msdt.exe -id DeviceDriverINFCleaningHandlersDiagnostic",
- "device driver inf maintenancehandlers troubleshooter": "msdt.exe -id DeviceDriverINFMaintenanceHandlersDiagnostic",
- "device driver inf repairhandlers troubleshooter": "msdt.exe -id DeviceDriverINFRepairHandlersDiagnostic",
- "device driver inf replacementhandlers troubleshooter": "msdt.exe -id DeviceDriverINFReplacementHandlersDiagnostic",
- "device driver inf spareparthandlers troubleshooter": "msdt.exe -id DeviceDriverINFSparePartHandlersDiagnostic",
- "device driver inf inventoryhandlers troubleshooter": "msdt.exe -id DeviceDriverINFInventoryHandlersDiagnostic",
- "device driver inf assethandlers troubleshooter": "msdt.exe -id DeviceDriverINFAssetHandlersDiagnostic",
- "device driver inf licensehandlers troubleshooter": "msdt.exe -id DeviceDriverINFLicenseHandlersDiagnostic",
- "device driver inf activationhandlers troubleshooter": "msdt.exe -id DeviceDriverINFActivationHandlersDiagnostic",
- "device driver inf registrationhandlers troubleshooter": "msdt.exe -id DeviceDriverINFRegistrationHandlersDiagnostic",
- "device driver inf warrantyhandlers troubleshooter": "msdt.exe -id DeviceDriverINFWarrantyHandlersDiagnostic",
- "device driver inf supportcontracthandlers troubleshooter": "msdt.exe -id DeviceDriverINFSupportContractHandlersDiagnostic",
- "device driver inf servicelevelagreementhandlers troubleshooter": "msdt.exe -id DeviceDriverINFServiceLevelAgreementHandlersDiagnostic",
- "device driver inf sla handlers troubleshooter": "msdt.exe -id DeviceDriverINFSLAHandlersDiagnostic",
- "device driver inf compliancehandlers troubleshooter": "msdt.exe -id DeviceDriverINFComplianceHandlersDiagnostic",
- "device driver inf regulationhandlers troubleshooter": "msdt.exe -id DeviceDriverINFRegulationHandlersDiagnostic",
- "device driver inf standardhandlers troubleshooter": "msdt.exe -id DeviceDriverINFStandardHandlersDiagnostic",
- "device driver inf policyhandlers troubleshooter": "msdt.exe -id DeviceDriverINFPolicyHandlersDiagnostic",
- "device driver inf procedurehandlers troubleshooter": "msdt.exe -id DeviceDriverINFProcedureHandlersDiagnostic",
- "device driver inf guidelinehandlers troubleshooter": "msdt.exe -id DeviceDriverINFGuidelineHandlersDiagnostic",
- "device driver inf bestpracticehandlers troubleshooter": "msdt.exe -id DeviceDriverINFBestPracticeHandlersDiagnostic",
- "device driver inf checklisthandlers troubleshooter": "msdt.exe -id DeviceDriverINFChecklistHandlersDiagnostic",
- "device driver inf templatehandlers troubleshooter": "msdt.exe -id DeviceDriverINFTemplateHandlersDiagnostic",
- "device driver inf formathandlers troubleshooter": "msdt.exe -id DeviceDriverINFFormatHandlersDiagnostic",
- "device driver inf stylehandlers troubleshooter": "msdt.exe -id DeviceDriverINFStyleHandlersDiagnostic",
- "device driver inf layouthandlers troubleshooter": "msdt.exe -id DeviceDriverINFLayoutHandlersDiagnostic",
- "device driver inf designhandlers troubleshooter": "msdt.exe -id DeviceDriverINFDesignHandlersDiagnostic",
- "device driver inf uxhandlers troubleshooter": "msdt.exe -id DeviceDriverINFUXHandlersDiagnostic",
- "device driver inf uihandlers troubleshooter": "msdt.exe -id DeviceDriverINFUIHandlersDiagnostic",
- "device driver inf graphicaluserinterfacehandlers troubleshooter": "msdt.exe -id DeviceDriverINFGUIHandlersDiagnostic",
- "device driver inf commandlineinterfacehandlers troubleshooter": "msdt.exe -id DeviceDriverINFCLIHandlersDiagnostic",
- "device driver inf applicationprogramminginterfacehandlers troubleshooter": "msdt.exe -id DeviceDriverINFAPIHandlersDiagnostic",
- "device driver inf softwaredevelopmentkithandlers troubleshooter": "msdt.exe -id DeviceDriverINFSDKHandlersDiagnostic",
- "device driver inf integrateddevelopmentenvironmenthandlers troubleshooter": "msdt.exe -id DeviceDriverINFIDEHandlersDiagnostic",
- "device driver inf codeeditorhandlers troubleshooter": "msdt.exe -id DeviceDriverINFCodeEditorHandlersDiagnostic",
- "device driver inf debuggerhandlers troubleshooter": "msdt.exe -id DeviceDriverINFDebuggerHandlersDiagnostic",
- "device driver inf compilerhandlers troubleshooter": "msdt.exe -id DeviceDriverINFCompilerHandlersDiagnostic",
- "device driver inf interpreterhandlers troubleshooter": "msdt.exe -id DeviceDriverINFInterpreterHandlersDiagnostic",
- "device driver inf assemblerhandlers troubleshooter": "msdt.exe -id DeviceDriverINFAssemblerHandlersDiagnostic",
- "device driver inf linkerhandlers troubleshooter": "msdt.exe -id DeviceDriverINFLinkerHandlersDiagnostic",
- "device driver inf loaderhandlers troubleshooter": "msdt.exe -id DeviceDriverINFLoaderHandlersDiagnostic",
- "device driver inf runtimehandlers troubleshooter": "msdt.exe -id DeviceDriverINFRuntimeHandlersDiagnostic",
- "device driver inf libraryhandlers troubleshooter": "msdt.exe -id DeviceDriverINFLibraryHandlersDiagnostic",
- "device driver inf frameworkhandlers troubleshooter": "msdt.exe -id DeviceDriverINFFrameworkHandlersDiagnostic",
- "device driver inf platformhandlers troubleshooter": "msdt.exe -id DeviceDriverINFPlatformHandlersDiagnostic",
- "device driver inf operatingystemhandlers troubleshooter": "msdt.exe -id DeviceDriverINFOSHandlersDiagnostic",
- "device driver inf kernelhandlers troubleshooter": "msdt.exe -id DeviceDriverINFKernelHandlersDiagnostic",
- "device driver inf shellhandlers troubleshooter": "msdt.exe -id DeviceDriverINFShellHandlersDiagnostic",
- "device driver inf filesystemhandlers troubleshooter": "msdt.exe -id DeviceDriverINFFileSystemHandlersDiagnostic",
- "device driver inf networkstackhandlers troubleshooter": "msdt.exe -id DeviceDriverINFNetworkStackHandlersDiagnostic",
- "device driver inf securitysubsystemhandlers troubleshooter": "msdt.exe -id DeviceDriverINFSecuritySubsystemHandlersDiagnostic",
- "device driver inf graphicsubsystemhandlers troubleshooter": "msdt.exe -id DeviceDriverINFGraphicSubsystemHandlersDiagnostic",
- "device driver inf audiosubsystemhandlers troubleshooter": "msdt.exe -id DeviceDriverINFAudioSubsystemHandlersDiagnostic",
- "device driver inf inputsubsystemhandlers troubleshooter": "msdt.exe -id DeviceDriverINFInputSubsystemHandlersDiagnostic",
- "device driver inf outputsubsystemhandlers troubleshooter": "msdt.exe -id DeviceDriverINFOutputSubsystemHandlersDiagnostic",
- "device driver inf storagesubsystemhandlers troubleshooter": "msdt.exe -id DeviceDriverINFStorageSubsystemHandlersDiagnostic",
- "device driver inf memorysubsystemhandlers troubleshooter": "msdt.exe -id DeviceDriverINFMemorySubsystemHandlersDiagnostic",
- "device driver inf processorsubsystemhandlers troubleshooter": "msdt.exe -id DeviceDriverINFProcessorSubsystemHandlersDiagnostic",
- "device driver inf busesubsystemhandlers troubleshooter": "msdt.exe -id DeviceDriverINFBusSubsystemHandlersDiagnostic",
- "device driver inf peripheralsubsystemhandlers troubleshooter": "msdt.exe -id DeviceDriverINFPeripheralSubsystemHandlersDiagnostic",
- "device driver inf virtualizationsubsystemhandlers troubleshooter": "msdt.exe -id DeviceDriverINFVirtualizationSubsystemHandlersDiagnostic",
- "device driver inf containersubsystemhandlers troubleshooter": "msdt.exe -id DeviceDriverINFContainerSubsystemHandlersDiagnostic",
- "device driver inf cloudsubsystemhandlers troubleshooter": "msdt.exe -id DeviceDriverINFCloudSubsystemHandlersDiagnostic",
- "device driver inf iotsubsystemhandlers troubleshooter": "msdt.exe -id DeviceDriverINFIoTSubsystemHandlersDiagnostic",
- "device driver inf aisubsystemhandlers troubleshooter": "msdt.exe -id DeviceDriverINFAISubsystemHandlersDiagnostic",
- "device driver inf mlsubsystemhandlers troubleshooter": "msdt.exe -id DeviceDriverINFMLSubsystemHandlersDiagnostic",
- "device driver inf dlsubsystemhandlers troubleshooter": "msdt.exe -id DeviceDriverINFDLSubsystemHandlersDiagnostic",
- "device driver inf nnsubsystemhandlers troubleshooter": "msdt.exe -id DeviceDriverINFNNSubsystemHandlersDiagnostic",
- "device driver inf cvsubsystemhandlers troubleshooter": "msdt.exe -id DeviceDriverINFCVSubsystemHandlersDiagnostic",
- "device driver inf nlp subsystemhandlers troubleshooter": "msdt.exe -id DeviceDriverINFNLPSubsystemHandlersDiagnostic",
- "device driver inf speechsubsystemhandlers troubleshooter": "msdt.exe -id DeviceDriverINFSpeechSubsystemHandlersDiagnostic",
- "device driver inf visionsubsystemhandlers troubleshooter": "msdt.exe -id DeviceDriverINFVisionSubsystemHandlersDiagnostic",
- "device driver inf roboticsubsystemhandlers troubleshooter": "msdt.exe -id DeviceDriverINFRoboticsSubsystemHandlersDiagnostic",
- "device driver inf automationsubsystemhandlers troubleshooter": "msdt.exe -id DeviceDriverINFAutomationSubsystemHandlersDiagnostic",
- "device driver inf controlsubsystemhandlers troubleshooter": "msdt.exe -id DeviceDriverINFControlSubsystemHandlersDiagnostic",
- "device driver inf monitorsubsystemhandlers troubleshooter": "msdt.exe -id DeviceDriverINFMonitorSubsystemHandlersDiagnostic",
- "device driver inf alarmsubsystemhandlers troubleshooter": "msdt.exe -id DeviceDriverINFAlarmSubsystemHandlersDiagnostic",
- "device driver inf safetysubsystemhandlers troubleshooter": "msdt.exe -id DeviceDriverINFSafetySubsystemHandlersDiagnostic",
- "device driver inf emergencysubsystemhandlers troubleshooter": "msdt.exe -id DeviceDriverINFEmergencySubsystemHandlersDiagnostic",
- "device driver inf backupsystemhandlers troubleshooter": "msdt.exe -id DeviceDriverINFBackupSystemHandlersDiagnostic",
- "device driver inf recoverysystemhandlers troubleshooter": "msdt.exe -id DeviceDriverINFRecoverySystemHandlersDiagnostic",
- "device driver inf disatersubsystemhandlers troubleshooter": "msdt.exe -id DeviceDriverINFDisasterSubsystemHandlersDiagnostic",
- "device driver inf businesscontinuityhandlers troubleshooter": "msdt.exe -id DeviceDriverINFBusinessContinuityHandlersDiagnostic",
- "device driver inf incidentresponsehandlers troubleshooter": "msdt.exe -id DeviceDriverINFIncidentResponseHandlersDiagnostic",
- "device driver inf threatintelligencehandlers troubleshooter": "msdt.exe -id DeviceDriverINFThreatIntelligenceHandlersDiagnostic",
- "device driver inf vulnerabilitymanagementhandlers troubleshooter": "msdt.exe -id DeviceDriverINFVulnerabilityManagementHandlersDiagnostic",
- "device driver inf riskmanagementhandlers troubleshooter": "msdt.exe -id DeviceDriverINFRiskManagementHandlersDiagnostic",
- "device driver inf governancehandlers troubleshooter": "msdt.exe -id DeviceDriverINFGovernanceHandlersDiagnostic",
- "device driver inf ethichandlers troubleshooter": "msdt.exe -id DeviceDriverINFEthicHandlersDiagnostic",
- "device driver inf privacyhandlers troubleshooter": "msdt.exe -id DeviceDriverINFPrivacyHandlersDiagnostic",
- "device driver inf confidentialityhandlers troubleshooter": "msdt.exe -id DeviceDriverINFConfidentialityHandlersDiagnostic",
- "device driver inf integrityhandlers troubleshooter": "msdt.exe -id DeviceDriverINFIntegrityHandlersDiagnostic",
- "device driver inf availabilityhandlers troubleshooter": "msdt.exe -id DeviceDriverINFAvailabilityHandlersDiagnostic",
- "device driver inf nonrepudiationhandlers troubleshooter": "msdt.exe -id DeviceDriverINFNonRepudiationHandlersDiagnostic",
- "device driver inf accountabilityhandlers troubleshooter": "msdt.exe -id DeviceDriverINFAccountabilityHandlersDiagnostic",
- "device driver inf authenticityhandlers troubleshooter": "msdt.exe -id DeviceDriverINFAuthenticityHandlersDiagnostic",
- "device driver inf reliabilityhandlers troubleshooter": "msdt.exe -id DeviceDriverINFReliabilityHandlersDiagnostic",
- "device driver inf resiliencehandlers troubleshooter": "msdt.exe -id DeviceDriverINFResilienceHandlersDiagnostic",
- "device driver inf robustnesshandlers troubleshooter": "msdt.exe -id DeviceDriverINFRobustnessHandlersDiagnostic",
- "device driver inf scalabilityhandlers troubleshooter": "msdt.exe -id DeviceDriverINFScalabilityHandlersDiagnostic",
- "device driver inf performancehandlers troubleshooter": "msdt.exe -id DeviceDriverINFPerformanceHandlersDiagnostic",
- "device driver inf efficiencyhandlers troubleshooter": "msdt.exe -id DeviceDriverINEfficiencyHandlersDiagnostic",
- "device driver inf effectivenesshandlers troubleshooter": "msdt.exe -id DeviceDriverINFEffectivenessHandlersDiagnostic",
- "device driver inf productivityhandlers troubleshooter": "msdt.exe -id DeviceDriverINFProductivityHandlersDiagnostic",
- "device driver inf qualityhandlers troubleshooter": "msdt.exe -id DeviceDriverINFQualityHandlersDiagnostic",
- "device driver inf satisfactionhandlers troubleshooter": "msdt.exe -id DeviceDriverINFSatisfactionHandlersDiagnostic",
- "device driver inf loyaltyhandlers troubleshooter": "msdt.exe -id DeviceDriverINFLoyaltyHandlersDiagnostic",
- "device driver inf retentionhandlers troubleshooter": "msdt.exe -id DeviceDriverINFRetentionHandlersDiagnostic",
- "device driver inf acquisitionhandlers troubleshooter": "msdt.exe -id DeviceDriverINFAcquisitionHandlersDiagnostic",
- "device driver inf engagementhandlers troubleshooter": "msdt.exe -id DeviceDriverINFEngagementHandlersDiagnostic",
- "device driver inf interactionhandlers troubleshooter": "msdt.exe -id DeviceDriverINFInteractionHandlersDiagnostic",
- "device driver inf experiencehandlers troubleshooter": "msdt.exe -id DeviceDriverINFExperienceHandlersDiagnostic",
- "device driver inf journeyhandlers troubleshooter": "msdt.exe -id DeviceDriverINFJourneyHandlersDiagnostic",
- "device driver inf touchpointhandlers troubleshooter": "msdt.exe -id DeviceDriverINFTouchpointHandlersDiagnostic",
- "device driver inf channelhandlers troubleshooter": "msdt.exe -id DeviceDriverINFChannelHandlersDiagnostic",
- "device driver inf mediumhandlers troubleshooter": "msdt.exe -id DeviceDriverINFMediumHandlersDiagnostic",
- "device driver inf ecosystemhandlers troubleshooter": "msdt.exe -id DeviceDriverINFEEcosystemHandlersDiagnostic",
- "device driver inf communityhandlers troubleshooter": "msdt.exe -id DeviceDriverINFCommunityHandlersDiagnostic",
- "device driver inf socialhandlers troubleshooter": "msdt.exe -id DeviceDriverINFSocialHandlersDiagnostic",
- "device driver inf networkhandlers troubleshooter": "msdt.exe -id DeviceDriverINFNetworkHandlersDiagnostic",
- "device driver inf connectionhandlers troubleshooter": "msdt.exe -id DeviceDriverINFConnectionHandlersDiagnostic",
- "device driver inf relationshiphandlers troubleshooter": "msdt.exe -id DeviceDriverINFRelationshipHandlersDiagnostic",
- "device driver inf partnershiphandlers troubleshooter": "msdt.exe -id DeviceDriverINFPartnershipHandlersDiagnostic",
- "device driver inf alliancehandlers troubleshooter": "msdt.exe -id DeviceDriverINFAllianceHandlersDiagnostic",
- "device driver inf cooperationhandlers troubleshooter": "msdt.exe -id DeviceDriverINFCooperationHandlersDiagnostic",
- "device driver inf synchronizationhandlers troubleshooter": "msdt.exe -id DeviceDriverINFSynchronizationHandlersDiagnostic",
- "device driver inf harmonizationhandlers troubleshooter": "msdt.exe -id DeviceDriverINFHarmonizationHandlersDiagnostic",
- "device driver inf standardizationhandlers troubleshooter": "msdt.exe -id DeviceDriverINFStandardizationHandlersDiagnostic",
- "device driver inf optimizationhandlers troubleshooter": "msdt.exe -id DeviceDriverINFOptimizationHandlersDiagnostic",
- "device driver inf enhancementhandlers troubleshooter": "msdt.exe -id DeviceDriverINFEnhancementHandlersDiagnostic",
- "device driver inf improvementhandlers troubleshooter": "msdt.exe -id DeviceDriverINFImprovementHandlersDiagnostic",
- "device driver inf innovationhandlers troubleshooter": "msdt.exe -id DeviceDriverINFInnovationHandlersDiagnostic",
- "device driver inf transformationhandlers troubleshooter": "msdt.exe -id DeviceDriverINFTransformationHandlersDiagnostic",
- "device driver inf evolutionhandlers troubleshooter": "msdt.exe -id DeviceDriverINFEvolutionHandlersDiagnostic",
- "device driver inf revolutionhandlers troubleshooter": "msdt.exe -id DeviceDriverINFRevolutionHandlersDiagnostic",
- "device driver inf disruptionhandlers troubleshooter": "msdt.exe -id DeviceDriverINFDisruptionHandlersDiagnostic",
- "device driver inf changemanagementhandlers troubleshooter": "msdt.exe -id DeviceDriverINFChangeManagementHandlersDiagnostic",
- "device driver inf projectmanagementhandlers troubleshooter": "msdt.exe -id DeviceDriverINFProjectManagementHandlersDiagnostic",
- "device driver inf programmanagementhandlers troubleshooter": "msdt.exe -id DeviceDriverINFProgramManagementHandlersDiagnostic",
- "device driver inf portfoliomanagementhandlers troubleshooter": "msdt.exe -id DeviceDriverINFPortfolioManagementHandlersDiagnostic",
- "device driver inf resourcemanagementhandlers troubleshooter": "msdt.exe -id DeviceDriverINFResourceManagementHandlersDiagnostic",
- "device driver inf timemanagementhandlers troubleshooter": "msdt.exe -id DeviceDriverINFTimeManagementHandlersDiagnostic",
- "device driver inf costmanagementhandlers troubleshooter": "msdt.exe -id DeviceDriverINFCostManagementHandlersDiagnostic",
- "device driver inf budgetmanagementhandlers troubleshooter": "msdt.exe -id DeviceDriverINFBudgetManagementHandlersDiagnostic",
- "device driver inf financialmanagementhandlers troubleshooter": "msdt.exe -id DeviceDriverINFFinancialManagementHandlersDiagnostic",
- "device driver inf accountingmanagementhandlers troubleshooter": "msdt.exe -id DeviceDriverINFAccountingManagementHandlersDiagnostic",
- "device driver inf auditingmanagementhandlers troubleshooter": "msdt.exe -id DeviceDriverINFAuditingManagementHandlersDiagnostic",
- "device driver inf reportingmanagementhandlers troubleshooter": "msdt.exe -id DeviceDriverINFReportingManagementHandlersDiagnostic",
- "device driver inf strategicmanagementhandlers troubleshooter": "msdt.exe -id DeviceDriverINFStrategicManagementHandlersDiagnostic",
- "device driver inf tacticalmanagementhandlers troubleshooter": "msdt.exe -id DeviceDriverINFTacticalManagementHandlersDiagnostic",
- "device driver inf operationalmanagementhandlers troubleshooter": "msdt.exe -id DeviceDriverINFOperationalManagementHandlersDiagnostic",
- "device driver inf executivemanagementhandlers troubleshooter": "msdt.exe -id DeviceDriverINFExecutiveManagementHandlersDiagnostic",
- "device driver inf leadershipmanagementhandlers troubleshooter": "msdt.exe -id DeviceDriverINFLeadershipManagementHandlersDiagnostic",
- "device driver inf visionmanagementhandlers troubleshooter": "msdt.exe -id DeviceDriverINFVisionManagementHandlersDiagnostic",
- "device driver inf missionmanagementhandlers troubleshooter": "msdt.exe -id DeviceDriverINFMissionManagementHandlersDiagnostic",
- "device driver inf valuesmanagementhandlers troubleshooter": "msdt.exe -id DeviceDriverINFValuesManagementHandlersDiagnostic",
- "device driver inf culturemanagementhandlers troubleshooter": "msdt.exe -id DeviceDriverINFCultureManagementHandlersDiagnostic",
- "device driver inf diversitymanagementhandlers troubleshooter": "msdt.exe -id DeviceDriverINFDiversityManagementHandlersDiagnostic",
- "device driver inf inclusionmanagementhandlers troubleshooter": "msdt.exe -id DeviceDriverINFInclusionManagementHandlersDiagnostic",
- "device driver inf equitymanagementhandlers troubleshooter": "msdt.exe -id DeviceDriverINFEquityManagementHandlersDiagnostic",
- "device driver inf belongingmanagementhandlers troubleshooter": "msdt.exe -id DeviceDriverINFBelongingManagementHandlersDiagnostic",
- "device driver inf wellbeingsubsystemhandlers troubleshooter": "msdt.exe -id DeviceDriverINFWellbeingSubsystemHandlersDiagnostic",
- "device driver inf healthsubsystemhandlers troubleshooter": "msdt.exe -id DeviceDriverINFHealthSubsystemHandlersDiagnostic",
- "device driver inf environmentalsubsystemhandlers troubleshooter": "msdt.exe -id DeviceDriverINFEnvironmentalSubsystemHandlersDiagnostic",
- "device driver inf sustainabilityhandlers troubleshooter": "msdt.exe -id DeviceDriverINFSustainabilityHandlersDiagnostic",
- "device driver inf greentechnologyhandlers troubleshooter": "msdt.exe -id DeviceDriverINFGreenTechnologyHandlersDiagnostic",
- "device driver inf cleanenergyhandlers troubleshooter": "msdt.exe -id DeviceDriverINFCleanEnergyHandlersDiagnostic",
- "device driver inf renewableenergyhandlers troubleshooter": "msdt.exe -id DeviceDriverINFRenewableEnergyHandlersDiagnostic",
- "device driver inf solarpowerhandlers troubleshooter": "msdt.exe -id DeviceDriverINFSolarPowerHandlersDiagnostic",
- "device driver inf windpowerhandlers troubleshooter": "msdt.exe -id DeviceDriverINFWindPowerHandlersDiagnostic",
- "device driver inf hydropowerhandlers troubleshooter": "msdt.exe -id DeviceDriverINFHydroPowerHandlersDiagnostic",
- "device driver inf geothermalpowerhandlers troubleshooter": "msdt.exe -id DeviceDriverINFGeothermalPowerHandlersDiagnostic",
- "device driver inf biomasspowerhandlers troubleshooter": "msdt.exe -id DeviceDriverINFBiomassPowerHandlersDiagnostic",
- "device driver inf nuclearpowerhandlers troubleshooter": "msdt.exe -id DeviceDriverINFNuclearPowerHandlersDiagnostic",
- "device driver inf fossilfuelhandlers troubleshooter": "msdt.exe -id DeviceDriverINFFossilFuelHandlersDiagnostic",
- "device driver inf carbonemissionhandlers troubleshooter": "msdt.exe -id DeviceDriverINFCarbonEmissionHandlersDiagnostic",
- "device driver inf greenhousegasemissionhandlers troubleshooter": "msdt.exe -id DeviceDriverINFGreenhouseGasEmissionHandlersDiagnostic",
- "device driver inf climatechangehandlers troubleshooter": "msdt.exe -id DeviceDriverINFClimateChangeHandlersDiagnostic",
- "device driver inf globalwarminghandlers troubleshooter": "msdt.exe -id DeviceDriverINFGlobalWarmingHandlersDiagnostic",
- "device driver inf pollutionhandlers troubleshooter": "msdt.exe -id DeviceDriverINFPollutionHandlersDiagnostic",
- "device driver inf waste managementhandlers troubleshooter": "msdt.exe -id DeviceDriverINFWasteManagementHandlersDiagnostic",
- "device driver inf recyclinghandlers troubleshooter": "msdt.exe -id DeviceDriverINFRecyclingHandlersDiagnostic",
- "device driver inf upcyclinghandlers troubleshooter": "msdt.exe -id DeviceDriverINFUpcyclingHandlersDiagnostic",
- "device driver inf downcyclinghandlers troubleshooter": "msdt.exe -id DeviceDriverINFDowncyclingHandlersDiagnostic",
- "device driver inf circular economyhandlers troubleshooter": "msdt.exe -id DeviceDriverINFCircularEconomyHandlersDiagnostic",
- "device driver inf linear economyhandlers troubleshooter": "msdt.exe -id DeviceDriverINFLinearEconomyHandlersDiagnostic",
- "device driver inf sharing economyhandlers troubleshooter": "msdt.exe -id DeviceDriverINFSharingEconomyHandlersDiagnostic",
- "device driver inf gig economyhandlers troubleshooter": "msdt.exe -id DeviceDriverINFGigEconomyHandlersDiagnostic",
- "device driver inf creator economyhandlers troubleshooter": "msdt.exe -id DeviceDriverINFCreatorEconomyHandlersDiagnostic",
- "device driver inf attention economyhandlers troubleshooter": "msdt.exe -id DeviceDriverINFAttentionEconomyHandlersDiagnostic",
- "device driver inf data economyhandlers troubleshooter": "msdt.exe -id DeviceDriverINFDataEconomyHandlersDiagnostic",
- "device driver inf knowledge economyhandlers troubleshooter": "msdt.exe -id DeviceDriverINFKnowledgeEconomyHandlersDiagnostic",
- "device driver inf innovation economyhandlers troubleshooter": "msdt.exe -id DeviceDriverINFInnovationEconomyHandlersDiagnostic",
- "device driver inf digital economyhandlers troubleshooter": "msdt.exe -id DeviceDriverINFDigitalEconomyHandlersDiagnostic",
- "device driver inf internet of things economyhandlers troubleshooter": "msdt.exe -id DeviceDriverINFIoTEconomyHandlersDiagnostic",
- "device driver inf artificial intelligence economyhandlers troubleshooter": "msdt.exe -id DeviceDriverINFAIEconomyHandlersDiagnostic",
- "device driver inf blockchain economyhandlers troubleshooter": "msdt.exe -id DeviceDriverINFBlockchainEconomyHandlersDiagnostic",
- "device driver inf cryptocurrency economyhandlers troubleshooter": "msdt.exe -id DeviceDriverINFCryptocurrencyEconomyHandlersDiagnostic",
- "device driver inf metaverse economyhandlers troubleshooter": "msdt.exe -id DeviceDriverINFMetaverseEconomyHandlersDiagnostic",
- "device driver inf web3 economyhandlers troubleshooter": "msdt.exe -id DeviceDriverINFWeb3EconomyHandlersDiagnostic",
- "device driver inf decentralized finance economyhandlers troubleshooter": "msdt.exe -id DeviceDriverINFDeFiEconomyHandlersDiagnostic",
- "device driver inf non-fungible token economyhandlers troubleshooter": "msdt.exe -id DeviceDriverINFNFTEconomyHandlersDiagnostic",
- "device driver inf smart contract economyhandlers troubleshooter": "msdt.exe -id DeviceDriverINFSmartContractEconomyHandlersDiagnostic",
- "device driver inf distributed ledger technology economyhandlers troubleshooter": "msdt.exe -id DeviceDriverINFDLTEconomyHandlersDiagnostic",
- "device driver inf peer-to-peer economyhandlers troubleshooter": "msdt.exe -id DeviceDriverINFP2PEconomyHandlersDiagnostic",
- "device driver inf marketplace economyhandlers troubleshooter": "msdt.exe -id DeviceDriverINFMarketplaceEconomyHandlersDiagnostic",
- "device driver inf platform economyhandlers troubleshooter": "msdt.exe -id DeviceDriverINFPlatformEconomyHandlersDiagnostic",
- "device driver inf ecosystem economyhandlers troubleshooter": "msdt.exe -id DeviceDriverINFEEcosystemEconomyHandlersDiagnostic",
- "device driver inf network economyhandlers troubleshooter": "msdt.exe -id DeviceDriverINFNetworkEconomyHandlersDiagnostic",
- "device driver inf community economyhandlers troubleshooter": "msdt.exe -id DeviceDriverINFCommunityEconomyHandlersDiagnostic",
- "device driver inf social economyhandlers troubleshooter": "msdt.exe -id DeviceDriverINFSocialEconomyHandlersDiagnostic",
- "device driver inf collaborative economyhandlers troubleshooter": "msdt.exe -id DeviceDriverINFCollaborativeEconomyHandlersDiagnostic",
- "device driver inf cooperative economyhandlers troubleshooter": "msdt.exe -id DeviceDriverINFCooperativeEconomyHandlersDiagnostic",
- "device driver inf mutual aid economyhandlers troubleshooter": "msdt.exe -id DeviceDriverINFMutualAidEconomyHandlersDiagnostic",
- "device driver inf gift economyhandlers troubleshooter": "msdt.exe -id DeviceDriverINFGiftEconomyHandlersDiagnostic",
- "device driver inf barter economyhandlers troubleshooter": "msdt.exe -id DeviceDriverINFBarterEconomyHandlersDiagnostic",
- "device driver inf trade economyhandlers troubleshooter": "msdt.exe -id DeviceDriverINFTradeEconomyHandlersDiagnostic",
- "device driver inf commerce economyhandlers troubleshooter": "msdt.exe -id DeviceDriverINFCommerceEconomyHandlersDiagnostic",
- "device driver inf business economyhandlers troubleshooter": "msdt.exe -id DeviceDriverINFBusinessEconomyHandlersDiagnostic",
- "device driver inf industry economyhandlers troubleshooter": "msdt.exe -id DeviceDriverINFIndustryEconomyHandlersDiagnostic",
- "device driver inf market economyhandlers troubleshooter": "msdt.exe -id DeviceDoctorINFMarketEconomyHandlersDiagnostic",
- "device driver inf command economyhandlers troubleshooter": "msdt.exe -id DeviceDriverINFCommandEconomyHandlersDiagnostic",
- "device driver inf mixed economyhandlers troubleshooter": "msdt.exe -id DeviceDriverINFMixedEconomyHandlersDiagnostic",
- "device driver inf traditional economyhandlers troubleshooter": "msdt.exe -id DeviceDriverINFTraditionalEconomyHandlersDiagnostic",
- "device driver inf transition economyhandlers troubleshooter": "msdt.exe -id DeviceDriverINFTransitionEconomyHandlersDiagnostic",
- "device driver inf developing economyhandlers troubleshooter": "msdt.exe -id DeviceDriverINFDevelopingEconomyHandlersDiagnostic",
- "device driver inf developed economyhandlers troubleshooter": "msdt.exe -id DeviceDriverINFDevelopedEconomyHandlersDiagnostic",
- "device driver inf emerging economyhandlers troubleshooter": "msdt.exe -id DeviceDriverINFEmergingEconomyHandlersDiagnostic",
- "device driver inf advanced economyhandlers troubleshooter": "msdt.exe -id DeviceDriverINFAdvancedEconomyHandlersDiagnostic",
- "device driver inf global economyhandlers troubleshooter": "msdt.exe -id DeviceDriverINFGlobalEconomyHandlersDiagnostic",
- "device driver inf local economyhandlers troubleshooter": "msdt.exe -id DeviceDriverINFLEconomyHandlersDiagnostic",
- "device driver inf national economyhandlers troubleshooter": "msdt.exe -id DeviceDriverINFNationalEconomyHandlersDiagnostic",
- "device driver inf regional economyhandlers troubleshooter": "msdt.exe -id DeviceDriverINFRegionalEconomyHandlersDiagnostic",
- "device driver inf urban economyhandlers troubleshooter": "msdt.exe -id DeviceDriverINFUrbanEconomyHandlersDiagnostic",
- "device driver inf rural economyhandlers troubleshooter": "msdt.exe -id DeviceDriverINFRuralEconomyHandlersDiagnostic",
- "device driver inf suburban economyhandlers troubleshooter": "msdt.exe -id DeviceDriverINFSuburbanEconomyHandlersDiagnostic",
- "device driver inf metropolitan economyhandlers troubleshooter": "msdt.exe -id DeviceDriverINFMetropolitanEconomyHandlersDiagnostic",
- "device driver inf cosmopolitan economyhandlers troubleshooter": "msdt.exe -id DeviceDriverINFCosmopolitanEconomyHandlersDiagnostic",
- "device driver inf provincial economyhandlers troubleshooter": "msdt.exe -id DeviceDriverINFProvincialEconomyHandlersDiagnostic",
- "device driver inf municipal economyhandlers troubleshooter": "msdt.exe -id DeviceDriverINFMunicipalEconomyHandlersDiagnostic",
- "device driver inf county economyhandlers troubleshooter": "msdt.exe -id DeviceDriverINFCountyEconomyHandlersDiagnostic",
- "device driver inf state economyhandlers troubleshooter": "msdt.exe -id DeviceDriverINFStateEconomyHandlersDiagnostic",
- "device driver inf federal economyhandlers troubleshooter": "msdt.exe -id DeviceDriverINFFederalEconomyHandlersDiagnostic",
- "device driver inf international economyhandlers troubleshooter": "msdt.exe -id DeviceDriverINFInternationalEconomyHandlersDiagnostic",
- "device driver inf supranational economyhandlers troubleshooter": "msdt.exe -id DeviceDriverINFSupranationalEconomyHandlersDiagnostic",
- "device driver inf transnational economyhandlers troubleshooter": "msdt.exe -id DeviceDriverINFTransnationalEconomyHandlersDiagnostic",
- "device driver inf multinational economyhandlers troubleshooter": "msdt.exe -id DeviceDriverINFMultinationalEconomyHandlersDiagnostic",
- "device driver inf bilateral economyhandlers troubleshooter": "msdt.exe -id DeviceDriverINFBilateralEconomyHandlersDiagnostic",
- "device driver inf multilateral economyhandlers troubleshooter": "msdt.exe -id DeviceDriverINFMultilateralEconomyHandlersDiagnostic",
- "device driver inf unilateral economyhandlers troubleshooter": "msdt.exe -id DeviceDriverINFUnilateralEconomyHandlersDiagnostic",
- "device driver inf plurilateral economyhandlers troubleshooter": "msdt.exe -id DeviceDriverINFPlurilateralEconomyHandlersDiagnostic",
- "device driver inf minilateral economyhandlers troubleshooter": "msdt.exe -id DeviceDriverINFMinilateralEconomyHandlersDiagnostic",
- "device driver inf trilateral economyhandlers troubleshooter": "msdt.exe -id DeviceDriverINFTrilateralEconomyHandlersDiagnostic",
- "device driver inf quadrilateral economyhandlers troubleshooter": "msdt.exe -id DeviceDriverINFQuadrilateralEconomyHandlersDiagnostic",
- "device driver inf pentagonal economyhandlers troubleshooter": "msdt.exe -id DeviceDriverINFPentagonalEconomyHandlersDiagnostic",
- "device driver inf hexagonal economyhandlers troubleshooter": "msdt.exe -id DeviceDriverINFHexagonalEconomyHandlersDiagnostic",
- "device driver inf heptagonal economyhandlers troubleshooter": "msdt.exe -id DeviceDriverINFHeptagonalEconomyHandlersDiagnostic",
- "device driver inf octagonal economyhandlers troubleshooter": "msdt.exe -id DeviceDriverINFOctagonalEconomyHandlersDiagnostic",
- "device driver inf nonagonal economyhandlers troubleshooter": "msdt.exe -id DeviceDriverINFNonagonalEconomyHandlersDiagnostic",
- "device driver inf decagonal economyhandlers troubleshooter": "msdt.exe -id DeviceDriverINFDecagonalEconomyHandlersDiagnostic",
- "device driver inf hendecagonal economyhandlers troubleshooter": "msdt.exe -id DeviceDriverINFHendecagonalEconomyHandlersDiagnostic",
- "device driver inf dodecagonal economyhandlers troubleshooter": "msdt.exe -id DeviceDriverINFDodecagonalEconomyHandlersDiagnostic",
- "python version": "python3 --version",
- "pip version": "pip3 --version",
- "pip list": "pip list",
- "list installed packages": "pip3 list --format=columns",
- "outdated packages": "pip3 list --outdated --format=columns",
- "freeze requirements": "pip3 freeze > requirements.txt",
- "install from requirements": "pip3 install -r requirements.txt",
- "upgrade pip itself": "python3 -m pip install --upgrade pip",
- "show package info": "pip3 show <package_name>",
- "uninstall package": "pip3 uninstall <package_name>",
- "check python path": "python3 -c \"import sys; print(sys.executable)\"",
- "virtual env create": "python3 -m venv venv",
- "activate venv linux/mac": "source venv/bin/activate",
- "activate venv windows": "venv\\Scripts\\activate",
- "os details": "uname -a 2>/dev/null || ver",
- "cpu info linux/mac": "lscpu 2>/dev/null || sysctl -n machdep.cpu.brand_string",
- "cpu info windows": "wmic cpu get name,NumberOfCores,MaxClockSpeed",
- "gpu info linux": "lspci | grep -i vga 2>/dev/null",
- "gpu info windows": "wmic path win32_VideoController get name",
- "ram usage linux/mac": "free -h 2>/dev/null || vm_stat 2>/dev/null",
- "ram details windows": "wmic memorychip get capacity, speed, manufacturer",
- "disk usage": "df -h 2>/dev/null || wmic logicaldisk get size,freespace,caption",
- "system uptime linux/mac": "uptime 2>/dev/null",
- "system uptime windows": "net statistics workstation",
- "ip address linux/mac": "ip addr show 2>/dev/null || ifconfig 2>/dev/null",
- "ip address windows": "ipconfig",
- "open ports linux": "ss -tuln 2>/dev/null || netstat -tuln",
- "open ports windows": "netstat -an",
- "running processes top": "top -bn1 2>/dev/null || tasklist",
- "battery status linux": "upower -i /org/freedesktop/UPower/devices/battery_BAT0 2>/dev/null",
- "battery status windows": "powercfg /batteryreport",
- "connected usb devices": "lsusb 2>/dev/null || wmic usbcontroller get deviceid"
- }
- # ================= UTILITY FUNCTIONS =================
- def load_data():
- """Load JSON data with error recovery for malformed files"""
- try:
- if os.path.exists(DATA_FILE):
- with open(DATA_FILE, "r", encoding="utf-8") as f:
- content = f.read()
- return json.loads(content)
- except json.JSONDecodeError as e:
- print("[WARN] Failed to load JSON: {}".format(e))
- repaired = _repair_json(DATA_FILE)
- if repaired:
- print("[INFO] JSON repaired and loaded successfully")
- return repaired
- print("[INFO] Using default data")
- return default_data.copy()
- except Exception as e:
- print("[WARN] Failed to load JSON: {}".format(e))
- return default_data.copy()
- return default_data.copy()
- def _repair_json(filepath):
- """Attempt to repair common JSON syntax errors"""
- try:
- with open(filepath, "r", encoding="utf-8") as f:
- content = f.read()
- # Remove trailing commas before } or ]
- content = re.sub(r',(\s*[}\]])', r'\1', content)
- # Fix missing commas between key-value pairs
- content = re.sub(r'"\s*\n\s*"', '",\n"', content)
- # Fix unquoted keys (basic attempt)
- content = re.sub(r'(\{|,)\s*([a-zA-Z_][a-zA-Z0-9_]*)\s*:', r'\1"\2":', content)
- return json.loads(content)
- except:
- return None
- def save_data(data):
- """Save aliases to AI-DATA.json - DIRECT SAVE (NO BACKUP)"""
- try:
- with open(DATA_FILE, "w", encoding="utf-8") as f:
- json.dump(data, f, indent=4, ensure_ascii=False)
- return True
- except Exception as e:
- messagebox.showerror("Save Error", "Failed to save database:\n{}".format(e))
- return False
- def load_config():
- """Load config including history and favorites from AI-CONFIG.json"""
- default_cfg = {"theme": "Dark", "history": [], "favorites": []}
- try:
- if os.path.exists(CONFIG_FILE):
- with open(CONFIG_FILE, "r", encoding="utf-8") as f:
- cfg = json.load(f)
- # Ensure required keys exist
- if "history" not in cfg:
- cfg["history"] = []
- if "favorites" not in cfg:
- cfg["favorites"] = []
- return cfg
- except Exception as e:
- print("[WARN] Failed to load config: {}".format(e))
- return default_cfg
- def save_config(config):
- """Save config including history and favorites to AI-CONFIG.json"""
- try:
- with open(CONFIG_FILE, "w", encoding="utf-8") as f:
- json.dump(config, f, indent=4, ensure_ascii=False)
- return True
- except Exception as e:
- print("[WARN] Failed to save config: {}".format(e))
- return False
- def find_command(user_input, db):
- text = user_input.lower().strip()
- if not text:
- return None
- if text in db:
- return db[text]
- for key in db:
- if text in key or key in text:
- return db[key]
- match = get_close_matches(text, db.keys(), n=1, cutoff=0.6)
- if match:
- return db[match[0]]
- return None
- def search_aliases(query, db, limit=50):
- if not query:
- return sorted(db.items())[:limit]
- query = query.lower()
- results = []
- for k, v in db.items():
- if query in k.lower() or query in v.lower():
- results.append((k, v))
- if len(results) < limit:
- fuzzy = get_close_matches(query, db.keys(), n=limit-len(results), cutoff=0.4)
- for k in fuzzy:
- if k not in [r[0] for r in results]:
- results.append((k, db[k]))
- return results[:limit]
- def is_dangerous(cmd):
- return any(kw in cmd.lower() for kw in DANGEROUS_KEYWORDS)
- # ═══════════════════════════════════════════════════════════════
- # 🗄️ PROFESSIONAL DATABASE EDITOR WINDOW - V6.5
- # ═══════════════════════════════════════════════════════════════
- class JsonEditorWindow:
- def __init__(self, parent, main_app):
- self.parent = parent
- self.main = main_app
- self.theme = main_app.theme_cfg
- self.data = main_app.ai_db.copy()
- self.clipboard = None
- self.tree = None
- self.win = tk.Toplevel(parent)
- self.win.title("NAJEEB AI COMMANDS - DATABASE MANAGER")
- self.win.geometry("1000x700")
- self.win.configure(bg=self.theme["bg"])
- self.win.transient(parent)
- self.win.grab_set()
- # Center window
- self.win.update_idletasks()
- w, h = 1000, 700
- x = (self.win.winfo_screenwidth() // 2) - (w // 2)
- y = (self.win.winfo_screenheight() // 2) - (h // 2)
- self.win.geometry("{}x{}+{}+{}".format(w, h, max(0,x), max(0,y)))
- try:
- self._setup_styles()
- self._build_ui()
- self._populate_tree()
- self._update_stats()
- except Exception as e:
- messagebox.showerror("UI Error", "Failed to build editor window:\n{}".format(e), parent=self.win)
- self.win.destroy()
- return
- self.win.bind("<Control-n>", lambda e: self._focus_add())
- self.win.bind("<Control-e>", lambda e: self.edit_entry())
- self.win.bind("<Control-d>", lambda e: self.delete_entry())
- self.win.bind("<Control-s>", lambda e: self.save_to_file())
- self.win.bind("<Control-f>", lambda e: self.search_entry.focus_set())
- self.win.bind("<Control-i>", lambda e: self.import_json_file())
- def _setup_styles(self):
- style = ttk.Style()
- style.theme_use("clam")
- style.configure("Pro.TFrame", background=self.theme["bg"])
- style.configure("Pro.TLabelframe", background=self.theme["bg"],
- foreground=self.theme["header_fg"], font=("Segoe UI", 9, "bold"))
- style.configure("Pro.TLabelframe.Label", background=self.theme["bg"],
- foreground=self.theme["header_fg"])
- style.configure("Pro.TLabel", background=self.theme["bg"],
- foreground=self.theme["fg"], font=("Segoe UI", 9))
- style.configure("Header.TLabel", background=self.theme["bg"],
- foreground=self.theme["header_fg"], font=("Segoe UI", 10, "bold"))
- style.configure("Pro.TEntry", fieldbackground=self.theme["entry_bg"],
- foreground=self.theme["entry_fg"], insertcolor=self.theme["highlight"],
- font=("Consolas", 10), padding=5)
- style.configure("Pro.TButton", font=("Segoe UI", 9, "bold"), padding=5)
- style.map("Pro.TButton",
- background=[("active", self.theme["select"]), ("pressed", "#003366")],
- foreground=[("active", "white"), ("pressed", "white")])
- style.configure("Pro.Treeview", background=self.theme["tree_bg"],
- foreground=self.theme["tree_fg"], fieldbackground=self.theme["tree_bg"],
- font=("Consolas", 10), rowheight=28, borderwidth=0)
- style.configure("Pro.Treeview.Heading", background=self.theme["border"],
- foreground=self.theme["header_fg"], font=("Segoe UI", 9, "bold"), relief="flat")
- style.map("Pro.Treeview", background=[("selected", self.theme["select"])],
- foreground=[("selected", "white")])
- style.configure("Pro.Vertical.TScrollbar", background=self.theme["border"],
- troughcolor=self.theme["bg"], arrowcolor=self.theme["fg"], gripcount=0)
- style.configure("Pro.Horizontal.TScrollbar", background=self.theme["border"],
- troughcolor=self.theme["bg"], arrowcolor=self.theme["fg"], gripcount=0)
- def _build_ui(self):
- main_frame = ttk.Frame(self.win, style="Pro.TFrame")
- main_frame.pack(fill="both", expand=True, padx=12, pady=10)
- # Header
- header = ttk.Frame(main_frame, style="Pro.TFrame")
- header.pack(fill="x", pady=(0, 8))
- ttk.Label(header, text="🗄️ COMMAND DATABASE MANAGER",
- style="Header.TLabel").pack(side="left")
- self.stats_lbl = ttk.Label(header, text="", style="Pro.TLabel",
- foreground=self.theme["status_fg"])
- self.stats_lbl.pack(side="right")
- # Search & Import Bar
- search_bar = ttk.LabelFrame(main_frame, text="Search & Import",
- style="Pro.TLabelframe", padding=8)
- search_bar.pack(fill="x", pady=(0, 8))
- search_frm = ttk.Frame(search_bar, style="Pro.TFrame")
- search_frm.pack(fill="x")
- ttk.Label(search_frm, text="Find:", style="Pro.TLabel").pack(side="left", padx=(0, 5))
- self.search_entry = ttk.Entry(search_frm, style="Pro.TEntry", width=40)
- self.search_entry.pack(side="left", fill="x", expand=True, padx=(0, 10))
- self.search_entry.bind("<KeyRelease>", self._on_search)
- ttk.Button(search_frm, text="✕ Clear", style="Pro.TButton",
- command=lambda: self._clear_search()).pack(side="left", padx=2)
- import_frm = ttk.Frame(search_bar, style="Pro.TFrame")
- import_frm.pack(fill="x", pady=(5, 0))
- ttk.Button(import_frm, text="📥 Import JSON", style="Pro.TButton",
- command=self.import_json_file).pack(side="left", padx=2)
- ttk.Button(import_frm, text="📤 Export List", style="Pro.TButton",
- command=self._export_list).pack(side="left", padx=2)
- ttk.Button(import_frm, text="📋 Copy Selected", style="Pro.TButton",
- command=self.copy_command).pack(side="right", padx=2)
- # Edit Panel
- edit_panel = ttk.LabelFrame(main_frame, text="✏️ Edit Entry",
- style="Pro.TLabelframe", padding=10)
- edit_panel.pack(fill="x", pady=(0, 8))
- input_frame = ttk.Frame(edit_panel, style="Pro.TFrame")
- input_frame.pack(fill="x")
- ttk.Label(input_frame, text="Alias (Key):", style="Pro.TLabel",
- width=12).grid(row=0, column=0, sticky="w", padx=(0, 10), pady=2)
- self.key_var = tk.StringVar()
- self.key_entry = ttk.Entry(input_frame, textvariable=self.key_var,
- style="Pro.TEntry")
- self.key_entry.grid(row=0, column=1, sticky="we", padx=(0, 20), pady=2)
- ttk.Label(input_frame, text="Command:", style="Pro.TLabel",
- width=12).grid(row=1, column=0, sticky="nw", padx=(0, 10), pady=2)
- self.cmd_var = tk.StringVar()
- self.cmd_entry = ttk.Entry(input_frame, textvariable=self.cmd_var,
- style="Pro.TEntry")
- self.cmd_entry.grid(row=1, column=1, sticky="we", padx=(0, 20), pady=2)
- input_frame.grid_columnconfigure(1, weight=1)
- btn_frame = ttk.Frame(edit_panel, style="Pro.TFrame")
- btn_frame.pack(fill="x", pady=(8, 0))
- ttk.Button(btn_frame, text="➕ Add New", style="Pro.TButton",
- command=self.add_entry).pack(side="left", padx=2)
- ttk.Button(btn_frame, text="✏️ Update", style="Pro.TButton",
- command=self.edit_entry).pack(side="left", padx=2)
- ttk.Button(btn_frame, text="❌ Delete", style="Pro.TButton",
- command=self.delete_entry).pack(side="left", padx=2)
- ttk.Button(btn_frame, text="📋 Paste", style="Pro.TButton",
- command=self.paste_command).pack(side="left", padx=2)
- ttk.Button(btn_frame, text="Reset Fields", style="Pro.TButton",
- command=self._clear_inputs).pack(side="right", padx=2)
- ttk.Button(btn_frame, text="💾 Save Changes", style="Pro.TButton",
- command=self.save_to_file).pack(side="right", padx=(15, 2))
- # Treeview with scrollbars
- tree_frame = ttk.LabelFrame(main_frame, text="Database Entries",
- style="Pro.TLabelframe", padding=5)
- tree_frame.pack(fill="both", expand=True, pady=(0, 8))
- self.tree = ttk.Treeview(tree_frame, columns=("alias", "command"),
- show="headings", style="Pro.Treeview",
- selectmode="browse", takefocus=True)
- self.tree.heading("alias", text="ALIAS / KEY", command=lambda: self._sort_column("alias", False))
- self.tree.heading("command", text="⚙️ COMMAND", command=lambda: self._sort_column("command", False))
- self.tree.column("alias", width=280, minwidth=200, stretch=False, anchor="w")
- self.tree.column("command", width=550, minwidth=300, anchor="w")
- vsb = ttk.Scrollbar(tree_frame, orient="vertical", command=self.tree.yview, style="Pro.Vertical.TScrollbar")
- hsb = ttk.Scrollbar(tree_frame, orient="horizontal", command=self.tree.xview, style="Pro.Horizontal.TScrollbar")
- self.tree.configure(yscrollcommand=vsb.set, xscrollcommand=hsb.set)
- self.tree.grid(row=0, column=0, sticky="nsew")
- vsb.grid(row=0, column=1, sticky="ns")
- hsb.grid(row=1, column=0, sticky="ew")
- tree_frame.grid_rowconfigure(0, weight=1)
- tree_frame.grid_columnconfigure(0, weight=1)
- self.tree.bind("<<TreeviewSelect>>", self._on_select)
- self.tree.bind("<Double-1>", self._on_double_click)
- self.tree.bind("<Delete>", lambda e: self.delete_entry())
- self.tree.bind("<Return>", lambda e: self.edit_entry())
- self.tree.bind("<Control-c>", lambda e: self.copy_command())
- self.tree.bind("<Control-v>", lambda e: self.paste_command())
- # Status Bar
- status_bar = ttk.Frame(main_frame, style="Pro.TFrame")
- status_bar.pack(fill="x", pady=(5, 0))
- self.status_var = tk.StringVar()
- self.status_var.set("✅ Ready | Ctrl+N:Add | Ctrl+E:Edit | Ctrl+D:Delete | Ctrl+S:Save | Ctrl+I:Import")
- ttk.Label(status_bar, textvariable=self.status_var, style="Pro.TLabel",
- foreground=self.theme["status_fg"], font=("Segoe UI", 9)).pack(side="left")
- ttk.Button(status_bar, text="🗑️ Load Defaults", style="Pro.TButton",
- command=self._confirm_reset).pack(side="right")
- def _sort_column(self, col, reverse):
- data = [(self.tree.set(child, col), child) for child in self.tree.get_children('')]
- data.sort(reverse=reverse)
- for index, (val, child) in enumerate(data):
- self.tree.move(child, '', index)
- self.tree.heading(col, command=lambda: self._sort_column(col, not reverse))
- def _populate_tree(self, data=None):
- if self.tree is None:
- return
- self.tree.delete(*self.tree.get_children())
- items = data if data else sorted(self.data.items())
- for alias, command in items:
- self.tree.insert("", "end", values=(alias, command), iid=alias, tags=('entry',))
- self.tree.tag_configure('entry', background=self.theme["tree_bg"])
- def _on_search(self, event=None):
- if self.tree is None:
- return
- query = self.search_entry.get().strip()
- results = search_aliases(query, self.data, limit=100)
- self._populate_tree(results)
- self._update_stats(len(results))
- def _clear_search(self):
- if self.tree is None:
- return
- self.search_entry.delete(0, tk.END)
- self._populate_tree()
- self._update_stats()
- def _on_select(self, event=None):
- if self.tree is None:
- return
- sel = self.tree.selection()
- if not sel:
- return
- alias = sel[0]
- item = self.tree.item(alias)
- values = item["values"]
- if len(values) >= 2:
- self.key_var.set(values[0])
- self.cmd_var.set(values[1])
- self._status("📍 Selected: {}".format(values[0]))
- def _on_double_click(self, event):
- if self.tree is None:
- return
- item = self.tree.identify_row(event.y)
- if item:
- self.tree.selection_set(item)
- self._on_select()
- self.key_entry.focus_set()
- self.key_entry.icursor(tk.END)
- def _focus_add(self, event=None):
- self._clear_inputs()
- self.key_entry.focus_set()
- def _clear_inputs(self):
- self.key_var.set("")
- self.cmd_var.set("")
- if self.tree:
- self.tree.selection_remove(self.tree.selection())
- def _update_stats(self, count=None):
- total = len(self.data)
- shown = count if count is not None else total
- if hasattr(self, 'stats_lbl') and self.stats_lbl:
- self.stats_lbl.config(text="Showing: {}/{} entries".format(shown, total))
- def _status(self, msg):
- if hasattr(self, 'status_var'):
- self.status_var.set(msg)
- if hasattr(self, 'win'):
- self.win.after(3000, lambda: self._status("✅ Ready | Ctrl+N:Add | Ctrl+E:Edit | Ctrl+D:Delete | Ctrl+S:Save | Ctrl+I:Import"))
- def import_json_file(self):
- file_path = filedialog.askopenfilename(
- parent=self.win,
- title="Import Aliases from JSON",
- filetypes=[("JSON Files", "*.json"), ("All Files", "*.*")],
- initialdir=os.getcwd()
- )
- if not file_path:
- return
- try:
- with open(file_path, "r", encoding="utf-8") as f:
- imported_data = json.load(f)
- if not isinstance(imported_data, dict):
- messagebox.showerror("Invalid Format", "JSON file must contain a dictionary of aliases.", parent=self.win)
- return
- new_count = sum(1 for k in imported_data if k not in self.data)
- update_count = sum(1 for k in imported_data if k in self.data)
- if new_count == 0 and update_count == 0:
- messagebox.showinfo("No Changes", "All entries already exist in database.", parent=self.win)
- return
- msg = "Import Summary:\n• New entries: {}\n• Updates: {}\n\nProceed with import?".format(new_count, update_count)
- if not messagebox.askyesno("Confirm Import", msg, parent=self.win):
- return
- self.data.update(imported_data)
- self._populate_tree()
- self._update_stats()
- self._status("✅ Imported {} entries from {}".format(len(imported_data), os.path.basename(file_path)))
- messagebox.showinfo("Success", "Successfully imported {} aliases!".format(len(imported_data)), parent=self.win)
- except json.JSONDecodeError as e:
- messagebox.showerror("JSON Error", "Invalid JSON format:\n{}".format(e), parent=self.win)
- except Exception as e:
- messagebox.showerror("Import Error", "Failed to import file:\n{}".format(e), parent=self.win)
- def add_entry(self):
- key = self.key_var.get().strip()
- cmd = self.cmd_var.get().strip()
- if not key or not cmd:
- messagebox.showwarning("⚠️ Input Required", "Please fill both Alias and Command fields.", parent=self.win)
- return
- if key in self.data:
- if not messagebox.askyesno("⚠️ Entry Exists", "Alias '{}' already exists.\nOverwrite?".format(key), parent=self.win):
- return
- self.data[key] = cmd
- self._populate_tree()
- self._update_stats()
- self._clear_inputs()
- self._status("✅ Added: '{}'".format(key))
- self.search_entry.focus_set()
- def edit_entry(self):
- if self.tree is None:
- return
- sel = self.tree.selection()
- if not sel:
- messagebox.showinfo("ℹ️ Select First", "Please select an entry from the list to edit.", parent=self.win)
- return
- old_key = sel[0]
- new_key = self.key_var.get().strip()
- new_cmd = self.cmd_var.get().strip()
- if not new_key or not new_cmd:
- messagebox.showwarning("⚠️ Input Required", "Both fields are required.", parent=self.win)
- return
- if new_key != old_key and new_key in self.data:
- if not messagebox.askyesno("⚠️ Key Exists", "Alias '{}' already exists.\nReplace?".format(new_key), parent=self.win):
- return
- if old_key in self.data:
- del self.data[old_key]
- self.data[new_key] = new_cmd
- self._populate_tree()
- self._update_stats()
- self._status("✅ Updated: '{}' → '{}'".format(old_key, new_key))
- def delete_entry(self):
- if self.tree is None:
- return
- sel = self.tree.selection()
- if not sel:
- return
- keys = [self.tree.item(s)["values"][0] for s in sel]
- if not messagebox.askyesno("🗑️ Confirm Delete", "Delete {} entry(ies)?\n\n{}".format(len(keys), "\n".join(keys[:5]) + ("..." if len(keys)>5 else "")), parent=self.win):
- return
- for k in keys:
- self.data.pop(k, None)
- self._populate_tree()
- self._update_stats()
- self._clear_inputs()
- self._status("✅ Deleted {} entry(ies)".format(len(keys)))
- def copy_command(self):
- if self.tree is None:
- return
- sel = self.tree.selection()
- if not sel:
- cmd = self.cmd_var.get().strip()
- if not cmd:
- self._status("⚠️ Nothing to copy")
- return
- else:
- cmd = self.tree.item(sel[0])["values"][1]
- self.clipboard = cmd
- self.parent.clipboard_clear()
- self.parent.clipboard_append(cmd)
- self._status("Copied to clipboard")
- def paste_command(self):
- try:
- text = self.parent.clipboard_get().strip()
- if text:
- self.cmd_var.set(text)
- self._status("Pasted from clipboard")
- except tk.TclError:
- if self.clipboard:
- self.cmd_var.set(self.clipboard)
- self._status("Pasted from internal clipboard")
- else:
- self._status("⚠️ Clipboard empty")
- def save_to_file(self):
- if save_data(self.data):
- self.main.ai_db = self.data.copy()
- self.parent.event_generate("<<RefreshMain>>")
- self._status("Saved successfully to {}".format(DATA_FILE))
- messagebox.showinfo("✅ Success", "Database saved & synced!", parent=self.win)
- else:
- self._status("❌ Save failed")
- def _export_list(self):
- filename = filedialog.asksaveasfilename(
- parent=self.win,
- title="Export Aliases",
- defaultextension=".txt",
- filetypes=[("Text Files", "*.txt"), ("JSON Files", "*.json"), ("All Files", "*.*")],
- initialfile="aliases_export_{}.txt".format(datetime.datetime.now().strftime("%Y%m%d_%H%M%S"))
- )
- if not filename:
- return
- try:
- if filename.endswith('.json'):
- with open(filename, "w", encoding="utf-8") as f:
- json.dump(self.data, f, indent=4, ensure_ascii=False)
- else:
- with open(filename, "w", encoding="utf-8") as f:
- f.write("# NAJEEB AI - Alias Export\n")
- f.write("# Generated: {}\n\n".format(datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S")))
- for alias, cmd in sorted(self.data.items()):
- f.write("[{}] → {}\n".format(alias, cmd))
- self._status("Exported to {}".format(os.path.basename(filename)))
- messagebox.showinfo("Exported", "Alias list saved to:\n{}".format(filename), parent=self.win)
- except Exception as e:
- messagebox.showerror("Export Error", str(e), parent=self.win)
- def _confirm_reset(self):
- if messagebox.askyesno("⚠️ Reset Database", "Replace ALL entries with default commands?\n\nThis cannot be undone!", parent=self.win):
- self.data = default_data.copy()
- self._populate_tree()
- self._update_stats()
- self._clear_inputs()
- self._status("🔄 Reset to defaults")
- # ═══════════════════════════════════════════════════════════════
- # 🎯 MAIN APPLICATION - V6.5 WITH HISTORY/FAVORITES PERSISTENCE
- # ═══════════════════════════════════════════════════════════════
- class MainApp:
- def __init__(self, root):
- self.root = root
- self.root.title("NAJEEB AI PRO COMMANDS CLI V6.5 | Stable Edition")
- self.root.geometry("1100x750")
- self.root.minsize(900, 600)
- # Load config with history & favorites
- self.config = load_config()
- self.current_theme = self.config.get("theme", "Dark")
- self.theme_cfg = THEMES[self.current_theme]
- self.root.configure(bg=self.theme_cfg["bg"])
- # Load aliases database
- self.ai_db = load_data()
- # Load history & favorites from config (with limits)
- self.history = self.config.get("history", [])[-50:] # Keep last 50
- self.favorites = self.config.get("favorites", [])
- self.pending_cmd = None
- self.ai_var = tk.StringVar()
- self.search_var = tk.StringVar()
- self.edit_alias_var = tk.StringVar()
- self.edit_cmd_var = tk.StringVar()
- self.result_var = tk.StringVar(value="Search → Select → Edit → Run")
- self.status_var = tk.StringVar(value="✅ Ready")
- self._setup_styles()
- self._build_ui()
- self._update_lists()
- self._log("NAJEEB AI PRO COMMANDS CLI V6.5 Initialized\nTheme: {}\n✏️ Edit-Before-Run: ON\nHistory: {} | Favorites: {}\n".format(
- self.current_theme, len(self.history), len(self.favorites)))
- self.root.bind("<<RefreshMain>>", lambda e: self._status("🔄 Database refreshed"))
- self.root.bind("<Return>", lambda e: self._search_execute())
- self.root.protocol("WM_DELETE_WINDOW", self._on_close)
- self._populate_results()
- def _setup_styles(self):
- style = ttk.Style()
- style.theme_use("clam")
- style.configure("TFrame", background=self.theme_cfg["bg"])
- style.configure("TLabel", background=self.theme_cfg["bg"], foreground=self.theme_cfg["fg"], font=("Segoe UI", 10))
- style.configure("TEntry", fieldbackground=self.theme_cfg["entry_bg"], foreground=self.theme_cfg["entry_fg"], font=("Consolas", 11))
- style.configure("TButton", font=("Segoe UI", 10, "bold"))
- style.configure("Header.TLabel", font=("Segoe UI", 13, "bold"), foreground=self.theme_cfg["header_fg"])
- style.configure("Status.TLabel", font=("Segoe UI", 9), foreground=self.theme_cfg["status_fg"])
- def _build_ui(self):
- header = ttk.Frame(self.root)
- header.pack(fill="x", padx=15, pady=(12, 5))
- ttk.Label(header, text="NAJEEB AI PRO ALIASES COMMANDS CENTER", style="Header.TLabel").pack(side="left")
- theme_frm = ttk.Frame(header)
- theme_frm.pack(side="right")
- ttk.Label(theme_frm, text="THEME▶").pack(side="left")
- self.theme_cb = ttk.Combobox(theme_frm, values=list(THEMES.keys()), state="readonly", width=8)
- self.theme_cb.set(self.current_theme)
- self.theme_cb.pack(side="left")
- self.theme_cb.bind("<<ComboboxSelected>>", self._change_theme)
- search_frm = ttk.Frame(self.root)
- search_frm.pack(fill="x", padx=15, pady=5)
- ttk.Label(search_frm, text="SEARCH").pack(side="left")
- ttk.Entry(search_frm, textvariable=self.search_var, width=55).pack(side="left", padx=5)
- ttk.Button(search_frm, text="Find", command=self._populate_results).pack(side="left", padx=2)
- ttk.Button(search_frm, text="✕CLEAR", command=lambda: self.search_var.set("")).pack(side="left", padx=2)
- results_frm = ttk.Frame(self.root)
- results_frm.pack(fill="x", padx=15, pady=(0, 5))
- ttk.Label(results_frm, text="Results:", style="Header.TLabel").pack(anchor="w")
- self.results_lb = tk.Listbox(results_frm, bg=self.theme_cfg["tree_bg"], fg=self.theme_cfg["tree_fg"],
- font=("Consolas", 10), height=5, selectbackground=self.theme_cfg["select"],
- activestyle='none')
- self.results_lb.pack(fill="x")
- self.results_lb.bind("<Double-1>", self._select_result)
- edit_frm = ttk.LabelFrame(self.root, text="✏️ Edit & Run", padding=10)
- edit_frm.pack(fill="x", padx=15, pady=5)
- ttk.Label(edit_frm, text="Alias:").grid(row=0, column=0, sticky="w")
- ttk.Entry(edit_frm, textvariable=self.edit_alias_var, state="readonly", width=35).grid(row=0, column=1, padx=10, sticky="we")
- ttk.Label(edit_frm, text="Command:").grid(row=0, column=2, sticky="w")
- ttk.Entry(edit_frm, textvariable=self.edit_cmd_var, width=50).grid(row=0, column=3, padx=10, sticky="we")
- edit_frm.grid_columnconfigure(1, weight=1)
- edit_frm.grid_columnconfigure(3, weight=3)
- btn_row = ttk.Frame(edit_frm)
- btn_row.grid(row=1, column=0, columnspan=4, pady=8)
- ttk.Button(btn_row, text="▶ RUN", command=self._run_cmd, style="TButton").pack(side="left", padx=3)
- ttk.Button(btn_row, text="Learn", command=self._learn).pack(side="left", padx=3)
- ttk.Button(btn_row, text="⭐ Favorite", command=self._add_fav).pack(side="left", padx=3)
- ttk.Button(btn_row, text="Clear", command=self._clear_edit).pack(side="left", padx=3)
- ttk.Button(btn_row, text="DB Editor", command=self._open_editor).pack(side="right", padx=3)
- tk.Label(self.root, textvariable=self.result_var,
- fg=self.theme_cfg["highlight"], bg=self.theme_cfg["bg"],
- font=("Consolas", 10, "bold"), justify="left", anchor="w").pack(pady=5, fill="x", padx=15)
- list_frm = ttk.Frame(self.root)
- list_frm.pack(fill="x", padx=15, pady=5)
- ttk.Label(list_frm, text="▶ History", style="Header.TLabel").pack(side="left", expand=True)
- ttk.Label(list_frm, text="⭐ Favorites", style="Header.TLabel").pack(side="right", expand=True)
- self.hist_lb = tk.Listbox(list_frm, bg=self.theme_cfg["tree_bg"], fg="cyan", font=("Consolas", 10), height=4, activestyle='none')
- self.fav_lb = tk.Listbox(list_frm, bg=self.theme_cfg["tree_bg"], fg="gold", font=("Consolas", 10), height=4, activestyle='none')
- self.hist_lb.pack(side="left", fill="x", expand=True, padx=(0, 10))
- self.fav_lb.pack(side="right", fill="x", expand=True)
- self.hist_lb.bind("<Double-1>", self._run_from_list)
- self.fav_lb.bind("<Double-1>", self._run_from_list)
- console_frm = ttk.Frame(self.root)
- console_frm.pack(fill="both", expand=True, padx=15, pady=5)
- self.console = tk.Text(console_frm, bg=self.theme_cfg["console_bg"], fg=self.theme_cfg["console_fg"],
- font=("Consolas", 10), state="disabled", wrap=tk.WORD, height=10,
- insertbackground=self.theme_cfg["highlight"])
- scr = ttk.Scrollbar(console_frm, command=self.console.yview)
- self.console.configure(yscrollcommand=scr.set)
- self.console.pack(side="left", fill="both", expand=True)
- scr.pack(side="right", fill="y")
- cons_btn = ttk.Frame(self.root)
- cons_btn.pack(fill="x", padx=15, pady=(0, 5))
- ttk.Button(cons_btn, text="▶Clear", command=self._clear_console).pack(side="left", padx=2)
- ttk.Button(cons_btn, text="Save Log", command=self._save_console).pack(side="left", padx=2)
- ttk.Label(self.root, textvariable=self.status_var, style="Status.TLabel").pack(fill="x", padx=10, pady=(0, 8))
- def _change_theme(self, event=None):
- new = self.theme_cb.get()
- if new in THEMES:
- self.current_theme = new
- self.theme_cfg = THEMES[new]
- self.config["theme"] = new
- self.root.configure(bg=self.theme_cfg["bg"])
- self._setup_styles()
- self._status("🎨 Theme: {}".format(new))
- self._log("[THEME] Switched to {}\n".format(new))
- self._update_lists()
- self._populate_results()
- save_config(self.config) # Auto-save theme
- def _populate_results(self):
- q = self.search_var.get()
- results = search_aliases(q, self.ai_db, limit=50)
- self.results_lb.delete(0, tk.END)
- for alias, cmd in results:
- short = cmd[:70] + "..." if len(cmd) > 70 else cmd
- self.results_lb.insert(tk.END, "[{}] → {}".format(alias, short))
- def _search_execute(self):
- self._populate_results()
- def _select_result(self, event):
- sel = self.results_lb.curselection()
- if not sel: return
- item = self.results_lb.get(sel[0])
- if "→" in item:
- alias = item.split("→")[0].strip().strip("[]")
- cmd = self.ai_db.get(alias)
- if cmd:
- self.edit_alias_var.set(alias)
- self.edit_cmd_var.set(cmd)
- self.result_var.set("✏️ Ready: {}".format(cmd[:75]))
- self._status("✅ Selected: {}".format(alias))
- def _clear_edit(self):
- self.edit_alias_var.set("")
- self.edit_cmd_var.set("")
- self.result_var.set("Search → Select → Edit → Run")
- def _run_cmd(self):
- cmd = self.edit_cmd_var.get().strip()
- alias = self.edit_alias_var.get().strip()
- if not cmd:
- messagebox.showwarning("Empty", "No command to run.", parent=self.root)
- return
- if is_dangerous(cmd) and not messagebox.askyesno("⚠️ Warning", "Execute:\n{}".format(cmd), parent=self.root):
- return
- self.result_var.set("▶ {}".format(cmd))
- self._status("⏳ Running...")
- self._log("[RUN] {} → {}\n".format(alias or "custom", cmd))
- self._execute(cmd)
- # Save to history & config
- if cmd not in self.history:
- self.history.append(cmd)
- if len(self.history) > 50:
- self.history = self.history[-50:] # Keep last 50
- self.config["history"] = self.history
- save_config(self.config)
- self._update_lists()
- def _log(self, msg):
- def _append():
- if hasattr(self, 'console') and self.console:
- self.console.config(state="normal")
- self.console.insert(tk.END, msg)
- self.console.see(tk.END)
- self.console.config(state="disabled")
- self.root.after(0, _append)
- def _clear_console(self):
- if hasattr(self, 'console') and self.console:
- self.console.config(state="normal")
- self.console.delete("1.0", tk.END)
- self.console.config(state="disabled")
- self._log("🧹 Console cleared.\n")
- def _save_console(self):
- if not hasattr(self, 'console') or not self.console:
- return
- content = self.console.get("1.0", tk.END)
- if not content.strip():
- messagebox.showinfo("Empty", "Nothing to save.", parent=self.root)
- return
- fn = "console_{}.txt".format(datetime.datetime.now().strftime("%Y%m%d_%H%M%S"))
- try:
- with open(fn, "w", encoding="utf-8") as f:
- f.write(content)
- messagebox.showinfo("Saved", "Log saved to:\n{}".format(fn), parent=self.root)
- except Exception as e:
- messagebox.showerror("Error", str(e), parent=self.root)
- def _execute(self, cmd):
- def worker():
- try:
- creation_flags = 0
- if os.name == "nt":
- try:
- creation_flags = subprocess.CREATE_NO_WINDOW
- except AttributeError:
- pass
- proc = subprocess.Popen(cmd, shell=True, stdout=subprocess.PIPE,
- stderr=subprocess.STDOUT, universal_newlines=True,
- creationflags=creation_flags)
- for line in proc.stdout:
- self._log(line)
- proc.stdout.close()
- rc = proc.wait()
- self._log("\n[{}] Exit code: {}\n".format("✓" if rc==0 else "✗", rc))
- except Exception as e:
- self._log("\n[ERROR] {}\n".format(e))
- self.root.after(0, lambda: self._status("✅ Ready"))
- threading.Thread(target=worker, daemon=True).start()
- def _learn(self):
- alias = self.edit_alias_var.get().strip()
- cmd = self.edit_cmd_var.get().strip()
- if not alias or not cmd:
- messagebox.showwarning("Learn", "Select and edit a command first.", parent=self.root)
- return
- new_alias = simpledialog.askstring("Learn", "Alias name:", initialvalue=alias, parent=self.root)
- if new_alias and new_alias.strip():
- new_alias = new_alias.strip()
- if messagebox.askyesno("Confirm", "Save '{}' → '{}'?".format(new_alias, cmd), parent=self.root):
- self.ai_db[new_alias] = cmd
- if save_data(self.ai_db):
- self._status("✅ Learned & saved")
- self._log("[LEARN] {} → {}\n".format(new_alias, cmd))
- self._populate_results()
- def _add_fav(self):
- cmd = self.edit_cmd_var.get().strip()
- if cmd and cmd not in self.favorites:
- self.favorites.append(cmd)
- self.config["favorites"] = self.favorites
- save_config(self.config) # Auto-save favorites
- self._update_lists()
- self._status("⭐ Added to favorites")
- def _update_lists(self):
- if hasattr(self, 'hist_lb') and self.hist_lb:
- self.hist_lb.delete(0, tk.END)
- for h in self.history[-30:]:
- self.hist_lb.insert(tk.END, h)
- if hasattr(self, 'fav_lb') and self.fav_lb:
- self.fav_lb.delete(0, tk.END)
- for f in self.favorites:
- self.fav_lb.insert(tk.END, f)
- def _run_from_list(self, event):
- widget = event.widget
- sel = widget.curselection()
- if sel:
- cmd = widget.get(sel[0])
- self.edit_cmd_var.set(cmd)
- self.edit_alias_var.set("From "+("Favorites" if widget==self.fav_lb else "History"))
- self.result_var.set("✏️ Edit if needed, then ▶ RUN")
- def _open_editor(self):
- JsonEditorWindow(self.root, self)
- def _status(self, msg):
- if hasattr(self, 'status_var'):
- self.status_var.set(msg)
- def _on_close(self):
- # Final save of config on exit
- self.config["theme"] = self.current_theme
- self.config["history"] = self.history
- self.config["favorites"] = self.favorites
- save_config(self.config)
- if messagebox.askyesno("Exit", "Close NAJEEB AI PRO CLI?", parent=self.root):
- self.root.destroy()
- # ═══════════════════════════════════════════════════════════════
- # 🚀 ENTRY POINT
- # ═══════════════════════════════════════════════════════════════
- if __name__ == "__main__":
- if sys.platform == "win32":
- try:
- from ctypes import windll
- windll.shcore.SetProcessDpiAwareness(1)
- except:
- pass
- root = tk.Tk()
- try:
- root.iconbitmap(default="")
- except:
- pass
- app = MainApp(root)
- root.mainloop()
Add Comment
Please, Sign In to add comment