Windows 10: CMD commands part two

Discus and support CMD commands part two in Windows 10 Ask Insider to solve the problem; [ATTACH] Hello, I am going to leave more CMD commands to do more checks on the operating system. Powercfg Powercfg is a command to manage and... Discussion in 'Windows 10 Ask Insider' started by /u/Local_Bad9364, Feb 25, 2025.

  1. CMD commands part two


    CMD commands part two peJHLthLoRowuPBQfdHp4kn8lSFmdBCoD-RYe6Kfs9Q.jpg

    Hello, I am going to leave more CMD commands to do more checks on the operating system.

    Powercfg

    Powercfg is a command to manage and track your computer's power usage.

    This is how you manage hibernation.

    command:

    powercfg hibernate on y powercfg hibernate off

    to view power saving states.

    command:

    powercfg /a

    displays a list of devices on your computer that support standby mode.

    command:

    powercfg /devicequery s1_supported

    shows which device last woke the PC from a sleep state.

    command:

    powercfg /lastwake

    Creates an energy consumption report.

    command:

    powercfg /energy

    provides you with a detailed analysis of battery usage.

    command:

    powercfg /batteryreport

    Stop tasks

    When you run tasklist you will see an executable file and a process, as well as memory.

    command:

    tasklist

    If you want to stop a program you will put taskkill -im followed by the name of the executable, or taskkill -pid followed by the process ID.

    https://preview.redd.it/qonppg7yxcl...bp&s=dd587aea7c3337856bd9f968f0998bc24f579b8a

    Tasks

    Schtasks provides access to the Task Scheduler command line. It can be combined with a few options, which gives enormous value to this command.

    Thanks to this command, it could be programmed for the computer to restart at a certain time, to do a scheduled weekly restart, to turn off when you want or to close a program at a scheduled time, to give you several examples.

    command:

    Schtasks

    Clear screen

    If you have a lot of information on the command prompt screen and you want to delete it all at once, just use cls.

    By entering this command and pressing Enter, everything in the CMD will be deleted.

    https://preview.redd.it/ar1nakzsycl...bp&s=7eb2e4ec8ea9bff136410fa85becd89b3c9d530d

    System information

    The following command provides you with information about your computer's configuration.

    In this list you will see data on both the operating system and the hardware, such as the original Windows installation date, last boot time, BIOS version, total memory, available memory, installed patches, network card configurations, and more.

    You will have to use systeminfo.

    Encryption

    Something that some users are unaware of is that when a file is deleted, what is actually done is marking it as not accessible and the space it occupies is freed up, but said file remains recoverable until the system overwrites data over it.

    The command that you are going to see now allows you to permanently delete a directory or file, since it will overwrite information on top of it.

    To erase drive C, for example, you would use the command cipher /w:c, which will erase the free space on the drive. This command never overwrites undeleted data.

    command:

    cipher /w:c

    Check your drivers

    As you well know, drivers are an essential part of the Windows operating system.

    With the driverquery command you will be able to see a complete list of all the drivers on your PC.

    If you use driverquery -v you get more information, as it includes the directory where the driver is installed.

    Check your CMD drivers

    command:

    driverquery or driverquery -v

    https://preview.redd.it/7gno74n50dl...bp&s=4cad9af48f469103fbe8ce413e9fbcde9570f7bf

    IPconfig

    With IPconfig you will be able to know what IP address your computer is using at this moment.

    You should know that if you use a router, what you will see is the local network address of the router.

    It has interesting extensions such as:

    ipconfig /release followed by ipconfig /renew to force the Windows PC to request a new IP address.

    ipconfig /flushdns to update your DNS address.

    Off

    It can be quite useful to use the shutdown /r /o command, which restarts the PC and launches the Advanced Boot Options menu.

    With this command we will also be able to program when we want the computer to turn off. You just have to write shutdown /s /t followed by the time we want to pass until it turns off. It is important that you know that it takes place in seconds.

    Task list

    You can use the tasklist command to have a current list of all the tasks running on your computer.

    There are other interesting modifications such as:

    Tasklist -svc: Shows the services related to each task.

    tasklist -v: for more details about each task.

    tasklist -m - will locate the DLL files associated with active tasks.

    Format.

    With the format that you are going to see now you can format a drive that is on your computer.

    If you put format D: /Q /FS:exFAT /A:2048 /V:label it will format the D drive with the exFAT file system, with an allocation unit size of 2048 bytes, and change the name of the volume to “label”.

    For now this is all, I will continue adding more useful commands.

    All the best

    submitted by /u/Local_Bad9364
    [link] [comments]

    :)
     
    /u/Local_Bad9364, Feb 25, 2025
    #1
  2. Naki Win User

    GPU-Z what command line parameter ?

    Suggestion: /? (-?) and /help (-help) command-line arguments to show a list of all possible arguments in a small window. *Smile CMD commands part two :)
     
  3. ryanly Win User
    GPU-Z what command line parameter ?

    Current /? (-?) or / help (-help) parameter is invalid
     
    ryanly, Feb 25, 2025
    #3
  4. CMD commands part two

    Windows and CMD- renaming a file in CMD

    Steps I've done

    Here what happens


    • turn on PC

    • start windows

    • get blue screen ( message NTFS file)

    • it reboots returns to diagnosing PC

    • Diagnose and repair fails

    • I move to advance options

    • will not reset windows , I click on CMD

    things I've tried
    commands:

    reagentc /disable

    reagentc /enable

    *************************FAILED
    not recognized
    **********************************

    Please advise


     
    RandallBrock, Feb 25, 2025
    #4
Thema:

CMD commands part two

Loading...
  1. CMD commands part two - Similar Threads - CMD commands part

  2. Cmd command safe or not

    in Windows 10 Updates and Activation
    Cmd command safe or not: Hello , I just ran this command in CMDwmic path softwarelicensingservice get OA3xOriginalProductKeyIs this command safe?I ran it to get the product key of windows but after running it , no product key is showingIm suspicious this might throw the CPU to 100% utilisation which...
  3. Cmd command safe or not

    in Windows 10 Gaming
    Cmd command safe or not: Hello , I just ran this command in CMDwmic path softwarelicensingservice get OA3xOriginalProductKeyIs this command safe?I ran it to get the product key of windows but after running it , no product key is showingIm suspicious this might throw the CPU to 100% utilisation which...
  4. Cmd command safe or not

    in Windows 10 Software and Apps
    Cmd command safe or not: Hello , I just ran this command in CMDwmic path softwarelicensingservice get OA3xOriginalProductKeyIs this command safe?I ran it to get the product key of windows but after running it , no product key is showingIm suspicious this might throw the CPU to 100% utilisation which...
  5. Cmd command safe or not

    in Windows 10 Updates and Activation
    Cmd command safe or not: Hello , I just ran this command in CMDwmic path softwarelicensingservice get OA3xOriginalProductKeyIs this command safe?I ran it to get the product key of windows but after running it , no product key is showingIm suspicious this might throw the CPU to 100% utilisation which...
  6. Cmd command safe or not

    in Windows 10 Gaming
    Cmd command safe or not: Hello , I just ran this command in CMDwmic path softwarelicensingservice get OA3xOriginalProductKeyIs this command safe?I ran it to get the product key of windows but after running it , no product key is showingIm suspicious this might throw the CPU to 100% utilisation which...
  7. Cmd command safe or not

    in Windows 10 Software and Apps
    Cmd command safe or not: Hello , I just ran this command in CMDwmic path softwarelicensingservice get OA3xOriginalProductKeyIs this command safe?I ran it to get the product key of windows but after running it , no product key is showingIm suspicious this might throw the CPU to 100% utilisation which...
  8. CMD command meaning

    in Windows 10 Ask Insider
    CMD command meaning: Can someone please tell me what does this command mean?: Get-AppXPackage *WindowsStore* -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"} submitted by /u/YanukiY [link] [comments]...
  9. Help with commands of the cmd

    in Windows 10 Ask Insider
    Help with commands of the cmd: Hello fellow redditors i am looking for help with somo commands that i want to use on the cmd to the increase performance of my notebook. Well it's this command right here : powercfg -duplicatescheme e9a42b02-d5df-448d-aa00-03f14749eb61 I know it as to do with the power of...
  10. Affinity Command in CMD

    in Windows 10 Performance & Maintenance
    Affinity Command in CMD: In past Windows OS's , I was always able to change the CPU affinity with a simple line in a .bat file. Code: start /affinity # program.exe[/quote] # depends on which CPUs you want to run the program with. Now, in Windows 10, this command does not work. I've tried with...