d2jsp
Log InRegister
d2jsp Forums > Off-Topic > Computers & IT > How To Use Run, Cmd & Diskpart
1238Next
Add Reply New Topic New Poll
Member
Posts: 1,418
Joined: Jul 4 2018
Gold: 990.01
Jul 8 2021 12:17pm
Gosh I Am Dumb It Took Years But I Think I Figured This Mess Out. This Is My Kind Of Cheating Awwwhahaha!
I Hope This Helps Yall Out It Sure Did Scare The Hell Out Of Me But Not With My Cheat Sheet Weeeeeeeeee!



TO OPEN COMMAND PROMPT WHEN USING A WINDOWS INSTALLATION APP OR REPAIR TOOL


Press: Shift + F10 (Make Sure FN-Keys Are Off & F-Keys Are On In Bios)


Or Select: Repair Your Computer/ Advanced Options/ Troubleshoot








TO OPEN COMMAND PROMPT FROM OUTSIDE OF WINDOWS W/ CURRENT INSTALLED WINDOWS


Follow These Steps From Booted Up Windows Computer:

Open Settings App/ Update & Security/ Recovery/ Restart Now
Select Troubleshoot/ Advanced Options/ Chose Account/ Enter Password








TO OPEN COMMAND PROMPT AS ADMIN FROM COMMAND PROMPT AS NON ADMIN TYPE:


powershell -command "start-process cmd -verb runas"


This Doesnt Always Work But Maybe Type: c: (Press: Enter Then Type:)
runas /user:(computer Name) cmd (Press: Enter Then Type Password & Enter)








USING SLMGR.VBS COMMAND IN COMMAND PROMPT TO MANAGE WINDOWS KEYS

To Open Run App Press: Windows Key + R
To Open Command Prompt As Admin Type: cmd (Press: Ctrl + Shift + Enter)


slmgr.vbs /dli (To Get Basic Info Of Activated Windows Key)
slmgr.vbs /dli all (To Get Basic Info Of Windows Keys From All Time)
slmgr.vbs /dlv (To Get Detailed Info Of Activated Windows Key)
slmgr.vbs /dlv all (To Get Detailed Info Of Windows Keys From All Time)
slmgr.vbs /xpr (To Get The Install Expiration Of A Volume Windows Key)
slmgr.vbs /upk (To delete Current Windows Key)
slmgr.vbs /ipk (Product Key) (To Add A New Windows Key Old One Will Erase)
slmgr.vbs /ato (To Verify Key From Windows Servers)








USING GPEDIT.MSC COMMAND IN RUN TO CHANGE ADVANCED COMPUTER & USER SETTINGS

To Open Run App Press: Windows Key + R


To Open Local Group Policy Editor As Admin Type:
gpedit.msc (Press: Ctrl + Shift + Enter)


TO TURN OFF WINDOWS DRIVERS UPDATES OR OTHER UPDATE OPTIONS CLICK:
computer configuration/ Administrative Templates/ Windows Components/ Windows Update/ Do not include drivers with Windows Update/ enable the policy








USING RSTRUI COMMAND IN RUN TO OPEN WINDOWS SYSTEM RESTORE POINT APP

To Open Run App Press: Windows Key + R


To Open Windows Restore Point App Type: rstrui








USNING DXDIAG COMMAND IN RUN TO CHECK COMPUTER SPECS WITH RUN APP

To Open Run App Press: Windows Key + R


To Check System, Video & Sound Devices Specs With Run App Type: dxdiag
Click No If Diver Information Is Not Needed Or Yes If It Is








USING MSCONFIG COMMAND IN RUN TO OPEN WINDOWS SYSTEM CONFIGURATION APP

To Open Run App Press: Windows Key + R


To Open System Configuration App Type: msconfig








USING WINDOWS OFFLINE SYSTEM FILE CHECKER/REPAIR & ONLINE DISM REPAIR APP

To Open Run App Press: Windows Key + R
To Open Command Prompt As Admin Type: cmd (Press: Ctrl + Shift + Enter)



To Select Drive To Fix Type: __:
To Run System Check Type: sfc /scannow
To Reparir System Type: dism /online /cleanup-image /restorehealth
To Run System Check Type: sfc /scannow








USING CHKDSK COMMAND IN COMMAND PROMPT TO CHECK & FIX DISK DRIVES

To Open Run App Press: Windows Key + R
To Open Command Prompt As Admin Type: cmd (Press: Ctrl + Shift + Enter)



To Run Check Disk Type: chkdsk __: /f /r /x

chkdsk __: /f (Fixes Disk Errors, Clean Only)
chkdsk __: /v (Shows File Being Scaned Name)
chkdsk __: /r (Fixes Disk Errors, Rewrites Data & Labels Bad Sectors)
chkdsk __: /x (Forces Drive Being Scaned To Dismount If Necessary)








USING XCOPY COMMAND IN COMMAND PROMPT TO CLONE A DISK DRIVE TO ANOTHER

To Open Run App Press: Windows Key + R
To Open Command Prompt As Admin Type: cmd (Press: Ctrl + Shift + Enter)


To Start Complete Clone Type: xcopy __:\ __:\ /s /e /h /i /c /y



The Parameters Mean:
● /s: copy directories and subdirectories, unless they are empty. If you omit “/s”, xcopy will work within a single directory.
● /e: copy all subdirectories, even if they are empty.
● /h: copy files with hidden and system file attributes.
● /i: if in doubt always assume the destination is a folder.
● /c: continue copying even if an error occurs.
● /y: suppress prompt to confirm overwriting a file.







USING DISKPART COMMAND IN COMMAND PROMPT TO MANAGE DISK DRIVES

All Disk Drive Sizes Listed & Input Are In Megabyte(MB) Incraments
1 Gigabyte(GB) Is 1000 To 1024 Megabytes(MBs) Depending On Year Of Equiptment

To Open Run App Press: Windows Key + R
To Open Command Prompt With Type: cmd (Press: Enter)
To Open Diskpart Type: diskpart



TO MANAGE REMOVEABLE MEDIA DISK DRIVE OR HARD DISK DRIVE VOLUMES USE LIST VOL:

list volume (Lists All Non Hidden HDD & RMDD Volumes Currently Active On PC)
sel volume __ (To Select A Volume Number)


TO MANAGE A HARD DISK DRIVE USE LIST DISK & LIST PARTITION:

list disk (Lists All Hard Disk Drives Connected To PC)
sel disk __ (To Select A Disk Drive Number)
list par (Lists All Hidden & Non Hidden Partitions On Selected Disk Dive)
sel par __ (To Select A Partition Number)
Detail Par (Lists The Properties(Partition Info) Of The Selected Partition)



TO PREPARE OR CHANGE PROPERTIES OF SELECTED DISK DRIVE USE THESE COMMANDS:

clean (To Erase A Drive)(Data Can Be Recovered)
clean all (To Erase & Zero A Drive)(Data Cant Be Recovered)


convert gpt (Converts Drive To New GPT For UEFI/ +4GB Storage Drives)
convert mbr (Converts Drive To Old MBR For Legacy -4GB Drives/ Flash Drives)


create partition primary (For Full Size Partition)
create partition primary size=_____ (For Multiple Partitions)
create extended partition (For Adding Volumes To This Partition)


active (For A Bootable Drive)
inactive (For A Non Bootable Drive)


format fs=____ quick label="___" (For Quick Format & Label)
format fs=____ full label="___" (For Full Format & Label)(ntfs/fat32)
format fs=____ quick (For Quick Format)(Data Can Be Recovered)
format fs=____ full (For Full Format)(Data Cant Be Recovered)


assign (To Assign Random Drive Letter)
assign letter = __ (To Assign A Specific Drive Letter)
remove letter = __ (To Remove A Drive Letter)


shrink (To Shrink The Partition Maximum Amount Available)
shrink querymax (lists Size Partition Can Be Reduced To)
shrink desired=____ (To Shrink The Partition By A Specific Amount)
shrink minimum=____ (To Shrink The Partition By A Minimum Amount)


extend size=____ (To Extend Partition By A Specific Amount)
extend (To Extend Partition To Maximum Size Available)


delete partition (Deletes A Inactive Partition With No System Files)
delete partition override (Deletes Protected System Partitions)


attributes disk (Show If Drive Is Read Only Or Not)
attributes disk set readonly (Then Files Cant Be Written To Drive)
attributes disk clear readonly (Then Files Can Be Written To Drive)





HOW TO MAKE UEFI SYSTEM RESERVED PARTITION WTIH DISKPART & BCDBOOT:

clean
convert gpt
create partition efi size=____
format fs=fat32 quick label="System"
assign letter = t
exit (Stop Here & Use Win Install App On Fresh Install)(Create New Par & Del)
bcdboot C:\Windows /s T: /f UEFI



HOW TO MAKE A UEFI MICROSOFT RESERVED PARTITION WITH DISKPART:

create partition msr size=____ (To Create A MSR Partition)(16MB--128MB)




HOW TO MAKE LEGACY SYSTEM RESERVED PARTITION WTIH DISKPART & BCDBOOT:

clean
convert mbr
create partition primary size=____
format fs=ntfs quick label="System Reserved"
active
assign letter = t
exit (Stop Here & Use Win Install App On Fresh Install)(Create New Par & Del)
bcdboot C:\Windows /s T: /f BIOS




HOW TO MAKE LEGACY & UEFI SYSTEM RESERVED WTIH DISKPART & BCDBOOT:

clean
convert mbr
create partition primary size=____
format fs=ntfs quick label="System Reserved"
active
assign letter = t
exit (Stop Here & Use Win Install App On Fresh Install)(Create New Par & Del)
bcdboot C:\Windows /s T: /f ALL




HOW TO MAKE RECOVERY PARTITION WTIH DISKPART: (THIS STEP IS NOT NECESSARY)
(Windows Makes A Recovery Partition If System Reserved Partition Is Too Small)

create partition primary
format quick fs=ntfs label="Recovery"
assign letter="R"
set id="de94bba4-06d1-4d40-a16a-bfd50179d6ac"
gpt attributes=0x8000000000000001
Member
Posts: 3,118
Joined: Jun 19 2021
Gold: 5,629.41
Jul 8 2021 12:26pm
No lie, I Lol'd when I started reading this.
Good useful information.. Wrong forum..?
Member
Posts: 1,418
Joined: Jul 4 2018
Gold: 990.01
Jul 8 2021 12:27pm
thanks bro where else would i put it lol
Member
Posts: 1,418
Joined: Jul 4 2018
Gold: 990.01
Jul 8 2021 12:28pm
Quote (RedResurrection @ Jul 8 2021 11:26am)
No lie, I Lol'd when I started reading this.
Good useful information.. Wrong forum..?


thanks bro where else would i put it lol
Member
Posts: 3,118
Joined: Jun 19 2021
Gold: 5,629.41
Jul 8 2021 12:30pm
Here I think:
https://forums.d2jsp.org/forum.php?f=199

Not saying I care that it's here was just trying to make sure it wasn't posted here by mistake.
I build PCs for a living so the info you've got here is very useful, I use a lot of these functions already, good of you to make a cheat sheet and want to share it. :thumbsup:
Member
Posts: 19,444
Joined: Jul 22 2009
Gold: 88,470.94
Member
Posts: 1,418
Joined: Jul 4 2018
Gold: 990.01
Jul 8 2021 12:39pm
Quote (RedResurrection @ Jul 8 2021 11:30am)
Here I think:
https://forums.d2jsp.org/forum.php?f=199

Not saying I care that it's here was just trying to make sure it wasn't posted here by mistake.
I build PCs for a living so the info you've got here is very useful, I use a lot of these functions already, good of you to make a cheat sheet and want to share it. :thumbsup:


O ic ty lets see where this goes for now I just do this for fun they mite make fun of me there lol Im glad it will go to use and make money weeeeeeeeeee
Member
Posts: 1,418
Joined: Jul 4 2018
Gold: 990.01
Jul 8 2021 12:40pm
Quote (phatshadow @ Jul 8 2021 11:32am)


thanks bro and fell free to spread this waste of time around lol
Member
Posts: 11,155
Joined: Jul 5 2006
Gold: 4,582.49
Jul 8 2021 12:41pm
can you build me a 3080 gtx for 0 fg?
Member
Posts: 1,418
Joined: Jul 4 2018
Gold: 990.01
Jul 8 2021 12:41pm
Quote (yokez @ Jul 8 2021 11:41am)
can you build me a 3080 gtx for 0 fg?


i would tell u i would if u gave me a gun lol

This post was edited by HPonjsp on Jul 8 2021 12:42pm
Go Back To Computers & IT Topic List
1238Next
Add Reply New Topic New Poll