Make AI images on your local PC

Stable Diffusion is a machine learning model developed by Stability AI to generate digital images from natural language descriptions. The model can be used for different tasks like generating image-to-image translations guided by text prompts and upscaling images.

Unlike competing models like DALL-E, Stable Diffusion is open source and does not artificially limit the images it produces. Stable diffusion was trained on a subset of the LAION-Aesthetics V2 data set. It can run on most consumer hardware equipped with a modest GPU and was hailed by PC World as "the next killer app for your PC".

stable diffusion

Since Stable Diffusion is run locally and not in the cloud, as mentioned there is no limit to the number of images that you can produce but in order to use it you will have to get down a little dirty with setting your PC environment for it since it is not really an application, it is a command line text based descriptor that will use python to generate your images, so there is no install nor GUI.

In this guide, we will show you how to both install and run Stable Diffusion on your local PC so you can start producing some cool images all by yourself.

Hardware and software requirements

Make no mistake, Stable Diffusion will not run on a potato PC, in order to harvest the power of AI-generated imagery this is what you will need:

  • A GPU with at least 4GB of VRAM
  • 10GB of hard disk space
  • Python and libraries (Miniconda3 installer will install everything you need)
  • The Stable Diffusion files
  • Git
  • Any OS (Windows, Linux, macOS)

Installing components

For this tutorial, we are covering the installation and running of Stable Diffusion on Windows PC. The steps presented here are presented in a way that installation can be performed on any operating system but precise instructions will be for Windows OS.

GIT

The first thing to do is to install GIT. It is a tool that will let you easily maintain and install repos from the internet. to install it go to: https://git-scm.com/ and click on download. Follow the instructions for your version of the operating system. If you are a developer you are familiar with GIT and if you already have it installed you can skip this step.

One thing that is important when installing GIT locally is to select to use it via the command line (the second option that says "Git from the command line and also from 3rd-party software").

Miniconda3

Now when we have GIT installed, next thing is to use Miniconda3 to install python and all required libraries that are needed. Get the installer at: https://docs.conda.io/en/latest/miniconda.html

Miniconda3 is basically an easy installer so you do not have to install tons of stuff manually from different websites and sources, it is nicely packaged in the installer that will take care of everything.

Stable Diffusion

After the previous two steps, we are ready now to actually install Stable Diffusion. Go to https://huggingface.co/CompVis/stable-diffusion#model-access and install the latest library (as of the writing of this article currently it is stable-diffusion-v1-4-original, the last one on the right), the library is almost 5GB in size so be prepared for big download.

After installing stable diffusion's latest library it is time to update it to the newest version. You can download ZIP from GIT HUB https://github.com/CompVis/stable-diffusion

Once downloaded click on the Windows start button and type in Miniconda3 and click on open. Create a folder and name it how you want on a drive of your choice. For this example, we will install it all in disk C under folder AI_art, follow the instructions below but use your own names and destination instead. Do not close Minicoda3 after typing commands!!!

cd c:/
mkdir AI_art
cd AI_art 

Extract GitHub files that you have downloaded into your new folder and get back to Minicoda3 and type the next commands:

cd C:\AI_art\stable-diffusion-main
conda env create -f environment.yaml
conda activate ldm
mkdir models\ldm\stable-diffusion-v1

Let the whole process finish, some files are large and it might take a while. After the whole process is finished and completed, copy the checkpoint file that you have downloaded into: C:\AI_art\stable-diffusion-main\models\ldm\stable-diffusion-v1

After the file is copied rename it to model.ckpt and you are finished.

Running Stable Diffusion

The created environment is needed in order to actually use Stable Diffusion to create images. Each time you want to use it you will have to run it, so go into Miniconda3, and inside it type:

conda activate ldm
cd C:\AI_art\stable-diffusion-main

after we are inside the folder call the script with the parameters:

python scripts/txt2img.py --prompt "TXT DESCRIPTION OF IMAGE THAT YOU WANT TO CREATE" --plms --n_iter 5 --n_samples 1

and that's it, your image is created and it is located in C:\AI_art\stable-diffusion-main\outputs\txt2img-samples\samples

Do You Need Help with Your Device?

Our Team of Experts May Help
Troubleshoot.Tech Experts are There for You!
Replace damaged files
Restore performance
Free disk space
Remove Malware
Protects WEB browser
Remove Viruses
Stop PC freezing
GET HELP
Troubleshoot.Tech experts work with all versions of Microsoft Windows including Windows 11, with Android, Mac, and more.

Share this article:

You might also like

Sites for COVID-19 information
Living in today's world sadly is still living in the COVID-19 pandemic. It has been more than a year and sadly pandemic is still very strong and we are battling it on a daily basis. Governments all over the world are trying to battle pandemics in their own way with their own ideas and prevention measures. We as individuals can not very much influence how will the pandemic itself go but fortunately in this modern age of information we can at least follow and be in the loop at the current state of the situation regarding it. Today instead of having a troubleshooting article or tips and trick for your PC we are doing something else but in the domain of internet technology, you know, just to keep everything still IT related ???? Below you will find websites with small descriptions of what they do to keep yourself informed and hope to get over this dreadful pandemic.
  1. The WHO’s COVID-19 Dashboard

    If you are interested in real-time COVID-19 information about active cases, death tool so far, new cases and the number of vaccines administrated so far I would recommend WHO's dashboard. How WHO is a non-government institution composed of doctors from all over the world with just a single goal in mind, to help and put an end to this pandemic is a great non-biased source of information on the current state of virus spread.
  2. Vaccine Finder

    Please be aware that Vaccinefinder is working only on the territory of the United States of America. The reason why it was included in this list is that basically it is a great idea and I hope to see this site expand on other world regions or at least that inspires the emergence of another worldwide website with this type of content. If you live in the USA, this site will be a great help since you can track where and how many shots are distributed to states and even towns in America.
  3. COVID tracking project

    This site is also for U.S. residents, this time it is about tracking cases in each state with details and statistics. If you are interested in more detailed statistics of hospitalized patients per state or overall you are just interested in statistics about the pandemic in the U.S. this site might provide all the information about your needs.
  4. NPR

    On national public radio or NPR for short, there is a special section devoted to the coronavirus where new articles about pandemic are released daily with new information and new findings on how to battle it and the current state of things. A great informational site to keep up with the current state of things.
  5. Google's COVID-19 page

    Google has not been inactive during this pandemic and on its page specially dedicated to the COVID-19 virus you can find a lot of free information updated daily. From safety and prevention tips to data about pandemics there is a lot of ground covered on-page and we recommend at least going through the prevention section to inform yourself how to keep yourself and others safe.
  6. Coronavirus tracker

    This daily updated chart can show how many cases and deaths are from chosen time period all in form of a chart, you can see charts for each country in the world how COVID cases rose or dropped along with the death tool it brought.
There you go, 6 websites to track and inform yourself about this dreaded pandemic which has managed to change the world and people's lives forever, sadly on the bad side.
Read More
How to Fix Socket Error 10013

Socket Error 10013 - What is it?

Socket error 10013 is an error code that often pops on the screen when you try to access the server. This error code restricts your permission to access. It shows that your permission request was denied. The error message is displayed in the following format:
“Socket.error: [Errno 10013] an attempt was made to access a socket in a way forbidden by its access permissions”

Solution

Restoro box imageError Causes

Narrowing down a particular reason for the cause of socket error 10013 is difficult, typically because this error code can be generated due to several reasons. Here are some of the common reasons for its occurrence on your PC:
  • High-security set up- Firewall or an antivirus program
  • Too many functions tied to the same driver confuses the socket
  • Outdated drivers
  • Malware
The good news is that the socket error 10013 is not fatal. However, it is advisable to fix and resolve the issue to avoid inconvenience.

Further Information and Manual Repair

Here are some of the best, quickest and easiest methods to work around the problem and resolve socket error 10013 without any hassle or delay.

Method 1 - Turn off Firewall

Believe it or not, a high level of internet security measures like Firewalls and anti-virus programs are a common cause of socket error 10013. Firewalls are made to protect a computer from harmful connections but sometimes it may also restrict server connections, considering them as a threat to your system security. Due to this, permission access is adamantly denied. To resolve this issue on your PC, the best way to go about is to turn off your Firewall or any other anti-virus programs installed on your system. Once you turn off these programs, try accessing the server again. The majority of the time the issue is resolved by carrying this step. Nonetheless, if the error still persists, try the methods given below.

Method 2 - Check the Permissions section of the Firewall Program

Another way to resolve this is to check the permission section of the Firewall program and check for the server. If the server is not listed, contact the Internet Service Provider (ISP) and ask for help in adding the server to the list.

Method 3 - Update Drivers

The outdated driver may sometimes be the reason for the socket error 10013.  The socket may no longer use the drivers installed on your PC which is why permission to access the server is not granted. When this is the reason, try updating the drivers to resolve. For new drivers, visit the software manufacturers’ website, download, and install.

Method 4 - Scan for Viruses and Malware

Another alternative is to scan for viruses and malware. Sometimes the cause for the error is a viral infection. Therefore, remove them to resolve. The best way is to download Restoro. This is a user-friendly and next-generation PC Fixer embedded with 6 scanners including a powerful anti-virus. It scans your entire PC and removes all types of viruses including malware, adware, spyware, and Trojans in seconds. Click here to download Restoro.
Read More
Disable Windows insider in Windows 10
In their search for making Windows, a better operating system Microsoft has come up with an insider program that will collect telemetry and send it to Microsoft in order to provide enough information to make a better OS. Being in an insider program is per choice basis and it is not forced to anyone. This guide will cover how to turn off the insider program since its constant updates and telemetry can slow down the internet. So if you decided that you no longer want to be part of this program here is how to turn it off.
  • Press ⊞ WINDOWS + R to open the run dialog keyboard with windows and r marked
  • Type in dialog gpedit.msc and press ENTER
  • You will find yourself in the Local Group Policy Editor Window. Inside windows find: Computer Configuration > Administrative Templates > Windows Component > Windows Update > Windows Update for Business
  • Move to the right pane and double-click on the Manage Preview Builds option
  • Inside the Manage Preview Builds window, check the Enabled radio button
  • Go to the Options section, and using the drop-down menu, set the preferred release channel
  • Select Apply and then OK
Read More
Disable or Enable App Launch Tracking
The Windows 10 operating system utilizes a variety of measures in order to track your app launches so that it can boost both your start and search results. It can personalize the start menu based on the apps that you use the most on the Start menu as well as the search results. This way, the App Launch Tracking is definitely useful especially when you want to access your favorite and frequently used apps quickly in the Start menu and search results on your Windows 10 computer. On the other hand, Windows 10 provides users with the ability to control their privacy settings in order to protect the privacy of users. Windows 10 users can either opt to enable the app launch tracking to improve the start menu and search menu or opt to disable the app launch tracking in order to prevent the Windows operating system from tracking that you open if you really value your privacy that much. Whichever setting you prefer, you need to change the privacy control settings as well as make some tweaks in the Windows Registry in order to turn on or turn off the app launch tracking feature.

Option 1 – Turn off or turn on app launch tracking via Settings

  • Go to Settings and click on Privacy.
  • After that, toggle On the “Let Windows track app launches to improve Start and search results” option on the right side of the page under the General Settings to enable the app launch tracking feature.
  • And of course, if you wish to disable the app launch tracking feature, simply toggle Off the “Let Windows track app launches to improve Start and search results” option on the very same page under General Settings.
  • After that, close the Settings window.
Note: Keep in mind that when you disable the app launch tracking feature, the “Show most used app” setting will either be grayed out or labeled as “Disable” on your Windows 10 computer. Thus, if you want to keep viewing the most used apps, just re-enable the app launch tracking feature if you have disabled it.

Option 2 – Turn off or turn on app launch tracking via Windows Registry

Before you proceed, make sure to create a System Restore point
  • Tap the Win + R keys to open the Run dialog box.
  • Then type “Regedit” in the field and hit Enter or click OK to open the Registry Editor.
  • Next, navigate to the following path:
HKEY_CURRENT_USERSOFTWAREMicrosoftWindowsCurrentVersionExplorerAdvanced
  • After that, right-click on the Advanced folder and then click on New to create a new 32-bit DWORD value.
  • Name the newly created DWORD as “Start TrackProgs” and set its value to “1” to enable the app launch tracking feature.
  • If you want to disable the app launch feature, set “0” as the value instead of 1.
  • Now click OK and restart your computer.
Take note that you still have to create a 32-bit DWORD value even if you are using a 64-bit Windows computer.
Read More
Should you buy used GPU in current market?
Things have stirred lately with Chinas ban on crypto mining and many used GPUs will flow the market probably. But should you buy a used GPU? Short answer: NO, long answer: keep on reading to find out why.

GPU 1080tiGPU shortage and its cause

As you all know by now, we live sadly in a world struck by a global Pandemic. Due to this awful disease and measures taken against it, many people are either working from home or are at home making the manufacturing of new chips problematic while demand on the market has raised. Throw into that mix crypto mining which has raised in popularity and you have, well today's market where we have GPU shortage. Now with the latest news that China has banned the mining of cryptocurrency, there is to be expected that at some point in time mining cards used there will fit the market in the whole world. Sadly even with a large quantity of GPUs that will become available, the overall price of cards will not be much lowered I am afraid since demand is still very high and many people would not want to purchase used mining cards and neither should you.

Be prepared for the worst scenario

Although this sounds very pessimistic and in most cases, it will not turn out to be true, you should always prepare yourself mentally that you might be in that lower percentage that will end up with a really bad GPU. What has come up to be absolutely true when considering GPU that were mining is that if anything at all can be done to GPU in order to increase performance, it has been done. Miners want to optimize and almost every GPU if could be overclocked, it was overclocked. Extensive mining also means that thermal paste has been dried and it is pretty useless at this point and there is a very high chance that fans and heat sinks will need much cleaning or even replacement raising the price of the card itself for mentioned paste, fans, and heat sinks. There's no way to tell what the previous owner might have done with a graphics card when you're shopping online, so our advice is to assume the worst. Don't trust the seller to give truthful information. Any listing that says it was "never used for mining" at this point is probably a lie.

Age of the GPU matters

Date when GPU itself has manufactured really matters. Newer cards even if used extensively have been used for a much shorter period of time and are not so damaged were ones produced a few years ago have seen a lot of action. Let’s say that you get RTX 3060, In the worst-case scenario it has been mining since late February of 2021 and basically, it is still under warranty so it should behave OK and put some good work in gaming even in that state. On another hand, if we take for example GTX 1080Ti which is 4 years old GPU things start to change drastically. 4 years GPU could be worn out even if it was used just for extensive gaming sessions let alone for mining.

No return policy and seller rating

Most of the time you will run into a product that cannot be returned or no refunds policy. This should bring a red flag right away and deter you from purchase. Sellers with the highest ratings are more trustworthy since many of them will not want to destroy their reputation but these will probably not even have these kinds of merchandise in their store. Buying with a poor rating seller and no return policy on a product is just asking for trouble. And although some stores do have arbitration and will stand on the customer side there is no guarantee for that and it will take too much time to process.

If you really must buy a second-hand GPU

Of course in these troubled times sometimes due to malfunction or any other reason, there would not be another choice than to buy a second-hand GPU. In this case, if there is no other option consider sellers with many positive ratings. If you can buy locally that would even be better or the best-case scenario would be if you could visually see and inspect GPU itself in order to see in what state it is. Look for warranty stickers to see if they are thorn and the card has been tampered with. Also take a good look at screws, if they have scratches card has been opened, probably to replace fan or heating sinks which means that it has worked a lot.

Conclusion

It is very difficult to give the best possible advice on this situation since of GPU shortage, but I would much prefer a new GPU with lower performance than a hi-performance one which was mining.
Read More
MMC.exe has been blocked for your protection
When trying to run Computer Management, or when running mmc.exe or compmgmt.msc from a command prompt you get the error that the application has been blocked for your protection then keep reading in order to solve the issue. This is a permission issue where if a regular user tries to run such system tools will result in saying that it has been blocked. Along with this, you may have a Group Policy issue. This can be fixed, but you will need admin permission to achieve it. It’s because when they are run from the command prompt with elevated privileges, it works.
  1. Change Group Policy Settings

    If your account is an admin account, and you are still facing the issue, then change the group policy settings: Open Group Policy Settings by typing gpedit.msc in the run prompt followed by pressing ENTER Navigate to User Configuration > Administrative Templates > Windows Components > Microsoft Management Console > Restricted/Permitted snap-ins Locate Computer Management policy, and double click to open it Enable it, exit Group Policy. When Enabled: The snap-in is permitted and can be added into the Microsoft Management Console or run from the command line as a standalone console. When Disabled: The snap-in is prohibited and cannot be added into the Microsoft Management Console or run from the command line as a standalone console. An error message is displayed stating that the policy is prohibiting the use of this snap-in.
  2. Temporarily disable UAC

    UAC is the user access control panel, and if you need to run the command right away, you can choose to disable it for some time. Click on the Start button, and then type UAC to find the User Account Control Settings. Click to open, and then slide down the notification setting at the bottom. It will temporarily allow launching the application as there is no check. However, make sure to switch to default once you are done.
Read More
File is Too Large for the Destination Error
The file is too large for the destination file system is the error when you try to copy a file larger than 4GB on a drive formatted in the FAT32 file system. FAT32 is the old file system used in previous Windows versions and it was replaced by superior NTFS, altho FAT32 is still used because of its compatibility fact that it could be accessed in various operating systems its disadvantage among others is that it can not hold files larger than 4GB in size. This refers to the size of a single file, so if you have a file that is this large and when you try to copy or move it on a drive formatted in FAT32 you will get this message, and the operation will not be able to complete.

Format drive

In order to actually transfer the file in its glorious size, I am afraid that you will need to format destination drive in NTFS or if you have data on drive which you do not want to lose with formatting, use third-party software to convert file system from FAT32 to NTFS without losing data. I would recommend AOMEI partition assistant, it is a free and proven application letting you both manage your partitions and convert any one of them into another file system without data loss. You can get AOMEI here.

Split file

Another option if you are not keen on installing third-party tools or formating is to divide large files into smaller ones that are less than 4GB in size. You can use any archiving application since built-in Windows ZIP support will not let you split file into various different sizes. The best tool in my humble opinion is WinRAR, but you can choose any proven one. When file is split into parts less than 4GB in size, you will have no issues copying or move the file to the destination drive.
Read More
How to fix windows 10 error code 0x80073712
Windows 10 has displayed one of the most efficient and user-friendly interfaces. However there have been many issues on the backend of this commonly praised operating system: For example, Windows Update is still a wonky and error-laded system application. One example of this error is Windows Update Error 0x80073712 which stands in the way of users just wanting to keep their PCs updated hassle-free. The error code 0x80073712 signifies that a file needed by Windows Update to function is either damaged, missing, or corrupted. However, this does not mean that your Windows version will forever stay as-is with no mode to update it. Windows Update Error 0x80073712 is perfectly fixable with the set of provided steps below and some of Windows’ built-in troubleshooting steps:

Solution 1: Open Windows Update Troubleshooter

  1. Open the Windows Update Troubleshooter by pressing the Windows and S keys simultaneously.
  2. Enter the word “Troubleshoot” in the search box and select the Troubleshoot result
  3. On the new window, select “Windows Update” to troubleshoot.
  4. Run the troubleshooter, then open Windows Update and try to install the update again.

Solution 2: Run the DISM tool

  1. Open the command prompt by pressing Windows and S keys simultaneously
  2. Enter “cmd” in the search box. Right Click command prompt among the results and select “Run as administrator”
  3. In the Command Prompt window type the following and press the Enter key after every command
DISM.exe /Online /Cleanup-image /Scanhealth DISM.exe /Online /Cleanup-image /Restorehealth
  1. To close the Administrator: Command prompt window, type Exit, and then press Enter.
  2. Run Windows Update again.

Solution 3: Rename the Software Distribution folder

  1. Open the command prompt as previously mentioned
  2. Input the following command pressing Enter after every line net stop wuauserv net stop cryptSvc net stop bits net stop msiserver rename c:/windows/SoftwareDistribution/softwaredistribution.old net start wuauserv net start cryptSvc net start bits net start msiserver exit
  3. Restart the PC and run the updater if it works again.

Solution 4: Restart Windows Update Services

  1. Press the Windows logo key and R together to open Run -> Input services.msc -> and press Enter
  2. Search for the Windows Update service -> Check its status
  3. If it is not indicated, right-click on the service and select Start to force start your Windows Update
  4. If you see an error, locate the Startup Type option and set it to Automatic
  5. Now you should reboot your computer and see if your Windows Update is OK

Solution 5: Fix Registry Issues

If after all the aforementioned solutions, you still experience problems with Windows Update, the problem may lie in the registry that is either damaged or corrupted. You may choose to do manual editing of your Windows registry by opening your Windows registry editor. But doing so is risky as one wrong letter may do incalculable damage to your system. To do so safely for more inexperienced users we recommend using a third-party registry cleaner/tools, many of which can be found online.
Read More
A Quick Guide to Resolving Missing Dciman32.dll Error

Missing Dciman32.dll Error – What is it?

Dciman32.dll is a type of dynamic link library. Just like any other dll file, it includes instructions and is called to load and run different programs. The Missing Dciman32 dll error code occurs when the program dependent on this dll file type is unable to load the file. This error can occur while using or installing certain programs on your system.
  • "Dciman32.dll Not Found"
  • "Cannot find [PATH]dciman32.dll"
  • "This application failed to start because dciman32.dll was not found. Re-installing the application may fix this problem."
  • "The file dciman32.dll is missing."
  • "Cannot start [APPLICATION]. A required component is missing: dciman32.dll. Please install [APPLICATION] again."

Solution

Restoro box imageError Causes

The Dciman32.dll error causes include:
  • Dciman32.dll file corruption or removal
  • Poor program installation that uses Dciman32.dll file
  • Registry issues
  • Hardware failure
  • Malware infection

Further Information and Manual Repair

Here are some of the easiest and effective ways to fix the Dciman32 dll error on your PC:

Method 1 - Restore Dciman32 dll file Back on your PC

Remember DLL files are shared files. You might have deleted this file while uninstalling some other program on your PC. Therefore to restore Dciman32.dll file, first check your recycle bin. If you locate it, then that’s great however if you don’t, then another way to restore the Dciman32.dll file is to download it from the internet.

Method 2 - Update Drivers for Hardware Devices

To update the driver first download the latest drivers from the hardware manufacturer’s website. Now go to the start menu, then the control panel and then click the device manager. Once you open the device manager, locate the hardware device you want to update the driver for. For example, if you experience a Dciman32 dll error when you play a 3D video game, then this indicates that you need to update the drivers for your video card. Navigate through different categories of hardware devices by clicking the icon to find the hardware you want to update. After finding the hardware you’re updating the driver for, right-click on the hardware’s name and then choose properties and then the driver tab. Click update driver button. This method will take approximately 10 to 12 minutes. To activate the changes you will have to restart your PC.

Method 3 - Reinstall the Program that Uses Dciman32.dll File

Another way to resolve the Dciman32.dll error code on your system is to reinstall the program showing the error message. Poor program installation can also be the reason for the error occurrence. To reinstall the program, first, you will have to uninstall the program showing the error message, and then restart your PC to activate changes. Once your computer restarts, reinstall the deleted program. Make sure that the disc or the CD you are reinstalling the program from is bug-free and not scratched.

Method 4 - Scan your PC for Registry Issues and Viruses

If the dll error still persists, then this means either the error is triggered by viruses or registry issues. To resolve these issues you will have to install and run programs on your PC antivirus and a registry cleaner. However, you should note that installing too many programs can slow down your system’s performance.

Restoro

The best way to scan for viruses and registry issues without compromising your PC performance is to download Restoro. This is a multi-functional PC Fixer embedded with 4 powerful and unique PC repair utilities including an antivirus that scans all kinds of viruses, Trojans, and malware. It also features a registry cleaner that removes all unwanted files saved in the registry, cleans the registry, repairs the damaged dll and system files including the Dciman32.dll file, and restores them back to normal. Furthermore, to ensure your system performance at its optimum level, it is also embedded with a system optimizer. And forth utility it features is Active X controls and class scanner. This is a safe and a user-friendly program compatible with all Windows versions. Click here to download Restoro now.
Read More
Fix fatal device hardware error on Windows
This post will help you fix the request that failed due to a fatal device hardware error on your Windows 10 PC. You can encounter this error when that hard drive/SSD on your computer is damaged physically and the system is either unable to access or perform read/write operations in it. Aside from hard drive/SSD, this error can also happen to removable drives. This kind of error is not uncommon and in most cases, the hardware is physically damaged due to which you are not able to perform operations. However, there are a couple of fixes that you can try to resolve the problem before you go ahead and back up your data and move them to a different drive. What exactly causes this error? It’s actually self-explanatory and it gives you an idea that the drive is either corrupted or in a bad state. To resolve the error, follow the given options below carefully and see which one worked best for you.

Option 1 – Verify the hard drive using SMART attributes

In case you don’t know, Windows has a built-in feature of SMART analysis which analyzes the hard drive/SSD and checks all the parameters by performing some minor operations. To use it, follow these steps:
  • Tap the Win + S keys and type “command prompt” in the field then right-click on the related search result and select the “Run as administrator” option.
  • After opening Command Prompt as admin, type the “wmic diskdrive get status” command and hit Enter.
  • You should get a result after that, and if you see that it’s “normal”, proceed to the next option below.

Option 2 – Use the CHKDSK utility

When it comes to some issues concerning the hard drive or removable devices, there is a utility in Windows that might help which is called “chkdsk”. This error check utility can help with several issues in the system.
  • Tap the Win + S keys to open the Search box.
  • Then type “command prompt” in the field and from the search results that appear, right-click on Command Prompt and select “Run as administrator”.
  • After opening an elevated command prompt, copy and paste the following command and hit Enter:
CHKDSK [volume [[path] filename]] [/F] [/V] [/R] [/X] [/C] [: size]]
Note: In the command given above, “[/F]” will try to fix the system errors while “[/R]” will be the one to fix the bad sectors.
  • Now if you are prompted to run CHKDSK after your reboot your PC, just tap Y and reboot your PC.
  • If CHKDSK is not able to find any errors, tap the Win + E keys and navigate the access window. From there, right-click on the concerned drive and click on Properties.
  • After opening Properties, click on the tab Tools and then click on the “Check” button under the Error-checking section.
  • Wait until the process is completed and then restart your computer.

Option 3 – Format your drive

You can try formatting your drive since this problem also occurs on removable hard drives. In addition, if your drive is not properly initialized, this error will really pop up. Thus, you need to make sure that the hard drive is initialized and that the correct partition style is selected.
  • To get started formatting your drive, tap the Win + E keys and then go to the access page of the drive.
  • Next, right-click on the drive and select Format.
  • After that, uncheck the “Quick Format” option and then format your drive properly.
  • Now once the formatting process is finished, unplug the drive and plug it back in afterward.
  • Check if the error is already fixed. If the drive is not initialized, tap the Win + R keys and hit Enter.
  • After opening the Run dialog box, type “diskmgmt.msc” and hit Enter to open Disk Management.
  • From there, right-click on the drive volume and select Initialize Disk.
  • Next, select the correct partition type and proceed.
That should fix the problem, if not, follow the next advanced option below.
Read More
1 2 3 171
Logo
Copyright © 2023, ErrorTools. All Rights Reserved
Trademark: Microsoft Windows logos are registered trademarks of Microsoft. Disclaimer: ErrorTools.com is not affiliated with Microsoft, nor claims direct affiliation.
The information on this page is provided for information purposes only.
DMCA.com Protection Status