Soluții

How to Delete a File or Folder using CMD?

In some cases, for whatever reason, Windows will make sure that the provided file is used by the system and prevent it from being deleted. This file situation is very frustrating, especially if you know the file is not in use.

If you are having trouble in deleting any file or folder directly by right-clicking, then you can delete it using cmd. The commands below delete the specific file or folder and place them in the recycle bin:

  • del
  • rmdir
[mai mult...]

How to show all the previously connected WiFi Networks using CMD in Windows?

Wi-Fi(Wireless Fidelity) Launched in September 1997 is affiliated with WLAN (Wireless Local Area Network). It is a wireless communication technology that uses radio waves to provide a high-speed network and Internet connection.
Sometimes there is a need to know the previously connected WiFi networks to get details on some network. There is a wide range of Softwares available for the same. But, this can be done easily with the use of the command prompt of the windows.

[mai mult...]

Getting hash of a file using CMD

A cryptographic hash is a fixed size string (or text) that is used as an identifier/fingerprint of some data. These are particularly useful in determining the integrity of files after they are transferred over a communication channel. Hashes are even utilized by certain OS-level processes for their working. The command processor of Windows OS (cmd.exe) provides the user with the ability to compute hashes on files/Directories via an utility command named Certutil. In this article we would learn about computing hashes on command prompt (cmd).

Description of command:
The command Certutil is primarily used for working with digital certificates and not hashes. The ability to hash files is due to the presence of a -hashfile switch in it.

> Certutil -hashfile
-hashfile  -- Generate and display cryptographic hash over a file
[mai mult...]

Troubleshooting printer Connectivity problems

1. Check Physical Connections:

  • Ensure that the printer is powered on and connected to your computer.
  • Verify USB or network cable connections for wired printers.
  • For wireless printers, check the Wi-Fi connection.

2. Verify Printer Power and Paper:

  • Ensure the printer has enough paper and that it is powered on.
  • Check for any error lights or messages on the printer.

3. Restart Your Printer:

  • Turn off the printer, wait for 10-15 seconds, and then turn it back on.
  • Sometimes, a simple restart can resolve connectivity issues.

4. Check Printer Connection in Windows:

  • Press Win + I to open Settings.
  • Go to “Devices” -> “Printers & scanners.”
  • Select your printer and click “Manage.”
  • Ensure that the printer status is “Ready.”

5. Run Windows Printer Troubleshooter:

  • Press Win + I to open Settings.
  • Go to “Update & Security” -> “Troubleshoot.”
  • Run the “Printer” troubleshooter and follow the on-screen instructions.

6. Update Printer Drivers:

  • Press Win + X and select “Device Manager.”
  • Locate “Print queues,” right-click on your printer, and select “Update driver.”
  • Choose to search for updated driver software automatically.

7. Remove and Reinstall the Printer:

  • Go to “Settings” -> “Devices” -> “Printers & scanners.”
  • Select your printer and click “Remove device.”
  • Reinstall the printer by clicking “Add a printer or scanner” and following the prompts.

8. Check Print Spooler Service:

  • Open the Run dialog (Win + R), type services.msc, and press Enter.
  • Locate “Print Spooler” in the list, ensure it is running, and set to start automatically.
[mai mult...]

Resolving Disk Cleanup errors in Windows

1. Run Disk Cleanup:

  • Press Win + S, type “Disk Cleanup,” and select the utility.
  • Choose the drive you want to clean and click “OK.”
  • Check the boxes for the file types you want to delete and click “OK.”

2. Use Command Prompt for Disk Cleanup:

  • Open Command Prompt as Administrator (Win + X -> “Command Prompt (Admin)” or “PowerShell (Admin)”).
  • Type cleanmgr /d C: (replace C: with the appropriate drive letter) and press Enter.
  • Follow the prompts to select the types of files to clean up.

3. Check Disk Utility:

  • Open Command Prompt as Administrator.
  • Type chkdsk /f and press Enter.
  • If prompted to schedule a disk check on the next restart, type ‘Y’ and press Enter.
  • Restart your computer, and let the disk check process complete.

4. Run System File Checker (SFC):

  • Open Command Prompt as Administrator.
  • Type sfc /scannow and press Enter.
  • Wait for the scan to complete, and follow any on-screen instructions to fix corrupted system files.

5. Check for Windows Updates:

  • Ensure your Windows operating system is up-to-date.
  • Go to “Settings” -> “Update & Security” -> “Windows Update” and click “Check for updates.”

6. Free Up Disk Space:

  • Uninstall unnecessary programs and delete large files.
  • Use the “Programs and Features” in Control Panel to uninstall programs.
[mai mult...]