A text file you can copy and paste commands from to repair your computer in CMD on windows OS. These are the ones I usually use.
reg edit to stop one drive
Type reg edit into the search bar to find and open the registry editor.
Copy/paste this string into the address bar at the top and hit enter:
Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders
- The fix is simple. Right-click on each entry in the Name column and hit Modify. Delete “OneDrive\” from the address string and hit OK. Do this for any and all entries where OneDrive shows up.
CMD Commands
virus scan
cd C:\ProgramData\Microsoft\Windows Defender\Platform\4.18*
then
MpCmdRun.exe -Scan -ScanType 2
update all apps
winget upgrade -h –all
see any websites ip address
nslookup kodiakking.com
repair system files
sfc /scannow
also
DISM.exe /Online /Cleanup-image /Restorehealth
also
DISM /Online /Cleanup-Image /RestoreHealth
View network info
ipconfig /all
release your IP and ask for a new lease to be given
Ipconfig /release
this shall renew your IP so you get a new identity
Ipconfig /renew
cool tool to watch processes
devhome.pi.exe
Advanced CMD Commands
sfc: System File Checker – Scans and restores system files.
sc: Service Control – Manages Windows services.
reg: Registry Operations – Manages the Windows registry.
shutdown: Shutdown or Restart the Computer – Shuts down or restarts the machine.
- Accessibility Controls – zaccess.cpl
- Accessibility Wizard – accwiz
- Add Hardware Wizard – hdwwiz.cpl
- Add/Remove Programs – appwiz.cpl
- Administrative Tools – control admintools
- Automatic Updates – wuaucpl.cpl
- Bluetooth Transfer Wizard – fsquirt
- Calculator – calc
- Certificate Manager – certmgr.msc
- Character Map – charmap
- Check Disk Utility – chkdsk
- Clipboard Viewer – clipbrd
- Command Prompt – cmd
- Component Services – dcomcnfg
- Computer Management – compmgmt.msc
- Control Panel – control
- Date and Time Properties – timedate.cpl
- DDE Shares – ddeshare
- Device Manager – devmgmt.msc
- Direct X Troubleshooter – dxdiag
- Disk Cleanup Utility – cleanmgr
- Disk Defragment – dfrg.msc
- Disk Management – diskmgmt.msc
- Disk Partition Manager – diskpart
- Display Properties – control desktop
- Display Properties – desk.cpl
- Dr. Watson System Troubleshooting Utility – drwtsn32
- Driver Verifier Utility – verifier
- Event Viewer – eventvwr.msc
- Files and Settings Transfer Tool – migwiz
- File Signature Verification Tool – sigverif
- Findfast – findfast.cpl
- Firefox – firefox
- Folders Properties – control folders
- Fonts – control fonts
- Fonts Folder – fonts
- Free Cell Card Game – freecell
- Game Controllers – joy.cpl
- Group Policy Editor (for xp professional) – gpedit.msc
- Hearts Card Game – mshearts
- Help and Support – helpctr
- HyperTerminal – hypertrm
- Iexpress Wizard – iexpress
- Indexing Service – ciadv.msc
- Internet Connection Wizard – icwconn1
- Internet Explorer – iexplore
- Internet Properties – inetcpl.cpl
- Keyboard Properties – control keyboard
- Local Security Settings – secpol.msc
- Local Users and Groups – lusrmgr.msc
- Logs You Out Of Windows – logoff
- Malicious Software Removal Tool – mrt
- Microsoft Chat – winchat
- Microsoft Movie Maker – moviemk
- Microsoft Paint – mspaint
- Microsoft Syncronization Tool – mobsync
- Minesweeper Game – winmine
- Mouse Properties – control mouse
- Mouse Properties – main.cpl
- Netmeeting – conf
- Network Connections – control netconnections
- Network Connections – ncpa.cpl
- Network Setup Wizard – netsetup.cpl
- Notepad – notepad
- Object Packager – packager
- ODBC Data Source Administrator – odbccp32.cpl
- On Screen Keyboard – osk
- Outlook Express – msimn
- Paint – pbrush
- Password Properties – password.cpl
- Performance Monitor – perfmon.msc
- Performance Monitor – perfmon
- Phone and Modem Options – telephon.cpl
- Phone Dialer – dialer
- Pinball Game – pinball
- Power Configuration – powercfg.cpl
- Printers and Faxes – control printers
- Printers Folder – printers
- Regional Settings – intl.cpl
- Registry Editor – regedit
- Registry Editor – regedit32
- Remote Access Phonebook – rasphone
- Remote Desktop – mstsc
- Removable Storage – ntmsmgr.msc
- Removable Storage Operator Requests – ntmsoprq.msc
- Resultant Set of Policy (for xp professional) – rsop.msc
- Scanners and Cameras – sticpl.cpl
- Scheduled Tasks – control schedtasks
- Security Center – wscui.cpl
- Services – services.msc
- Shared Folders – fsmgmt.msc
- Shuts Down Windows – shutdown
- Sounds and Audio – mmsys.cpl
- Spider Solitare Card Game – spider
- SQL Client Configuration – cliconfg
- System Configuration Editor – sysedit
- System Configuration Utility – msconfig
- System Information – msinfo32
- System Properties – sysdm.cpl
- Task Manager – taskmgr
- TCP Tester – tcptest
- Telnet Client – telnet
- User Account Management – nusrmgr.cpl
- Utility Manager – utilman
- Windows Address Book – wab
- Windows Address Book Import Utility – wabmig
- Windows Explorer – explorer.
- Managing the Boot Configuration Data – bcdedit
- Editing Boot Settings – bootcfg
- Encrypting or Decrypting Files/folders – cipher
- Clearing the screen – cls
- Managing stored usernames/passwords – cmdkey
- Changing CMD Color – color
- Compressing one or more files – compress
- Converting FAT drives to NTFS – convert
- Delete files – del
- Deleting User Profiles – delprof
- Displaying the list of files and folders – dir
- Displaying Message On Screen – echo
- Deleting one or more files – erase
- Opening the windows Explorer – explorer
- Formatting a disk – format
- Knowing file extension – ftype
- Displaying the Mac Address – getmac
- Online help – help
- Displaying the host name – hostname
- Editing disc label – label
- Log a user off – logoff
- Get a log time in a file – logtime
- Creating .cab files – makecab
- Creating new folders- md
- Opening Windows Installer – msiexec
- Managing the network resources – net
- Knowing the permissions for a user – perms
- Testing a network connecting – ping
- Printing a text file – print
- Shutdown computer – psshutdown
- Checking free disk space – freedisk
- Know the file and volume utilities – fsutil
- File transfer protocl – ftp
- Showing the space used in folders – diskuse
- Deleting a folder and all subfolders – deltree
- Importing or Exporting Active directory data – csvde
- Displaying the resultant set of Policy information – gpresult
- Updating the Group policy settings – gpupdate
- Replacing the files that are currently in use by the os – inuse
- Comparing two files – fc
- Finding a text string in a file – find
- Finding for a strings in file – findstr
- Displaying the memory usage – mem
- Remote desktop protocol – mstsc
- Managing the domain – netdom
- Manage the Background intelligent Transfer Service – bitsadmin
- Enable Or disable Break Capability in CMD – break
- Change the permissions of files – cacls
- Call another batch program using one – call
- Manage the certification authority files and services – certutil
- Change the folder or go to a specific one – cd
- Check the NTFS file system – chkntfs
- Copy one or more files to other location – copy
- show the mapping inbetween logical and physical processor – coreinfo
- Import/Export data of an active directory – csvde
- Display the date or change it – date
- Display disk usage – diruse
- View used space in folder – diskuse
- Show the list of device drivers – driverquery
- View objects in active directory – dsget
- Modify objects in an active directory – dsmod
- Display the print queue status – lpq
- Display open files – open files
- Monitor performance in CMD – perfmon
- Shows remote Access service status – rasdial
- Managing RAS connections – rasphone
- Send A Message – msg
- Create a symbolic Link – mklink
- Send email from command line – mapisend
- Manage the performance monitor logs – logman
- Uncompress the CAB files – expand
- Loop command – all options files, directory, and list – for
- Move an active Directory Object – dsmove
- In order to view items in the Active directory – dsget
- View the Active directory ACLs – DSACLs
- Client-side caching for offline files – CSCcmd
- Monitor and log system activity (Windows event log) – sysmon
- Edit file and folder permissions – subinacl
- Save and change the current directory – pushd
- Display user session – quser
- Read, export, delete and set keys and values – reg registry
- Register or unregister a DLL – regsvr32
- Batch process multiple files – forfiles
- Search for Items in Active directory – dsquery
- Cleanup temp file, recycle bin – cleanmgr
- Compare the contents of two sets of files – comp
- show the map between logical and physical processor – coreinfo
- Manage RAS connections – rasdial
- kill process by process and name id – pskill
- Disconnect the remote desktop session – tsdiscon
- Edit the service principal name – setspn
- Share a folder or printer rmtshare
- Change the registry permissions – regini
- Execute a program from different user account – runas
Powershell command
uninstall edge
iex(irm https://cdn.jsdelivr.net/gh/he3als/EdgeRemover@main/get.ps1)
Windows 11 de-bloater tool
Use powershell and run this command
irm “https://christitus.com/win” | iex
developer version
irm “https://christitus.com/windev” | iex
Quite a few Apps for windows for different tweaks and tests
