Logo

How to Repair BSOD Stop Error code 0xc000021a in Windows 10

Error code 0xc000021a - What is it?

Error code 0xc000021a occurs when the system is unable to start or there’s a failure in critical system processes. Normally, it would take about several seconds for the system to boot and while on the startup process, error code 0xc000021a may take place to block the system to boot up. Users will get a blue screen of death (BOSD) when this error occurs. When upgrading to Windows 10, be careful; you might encounter other error messages such as error code 8007002c

Solution

Restoro box imageError Causes

There are several reasons why error code 0xc000021a occurs. It is important to have a full understanding of what caused the blue screen of death before attempting to fix the error by yourself. See below for a few common causes:

Computer malware has infiltrated your device.

• Important files such as Winlogon.exe and Csrss.exe are damaged. Winlogon.exe file is responsible for handling the login and logout processes while Csrss.exe is a vital part of Microsoft Client or Server ‘Runtime Server Subsystem’. Once one of these files is damaged or deleted, a stop error will occur.

• When there are mismatched system files installed or system upgrading process failed or still incomplete.

• Premature unloading of Wbemprox.dll

• Newly installed third-party software is not compatible with the operating system.

• There are corrupted, outdated, or incorrectly configured device drivers.

• There’s insufficient space in the system partition. Once the system partition is full, certain errors such as error code 0xc000021a will manifest.

• Windows registry is corrupted or damaged due to a software or system change. This means there are registry entries that are not cleared after uninstalling an application.

Further Information and Manual Repair

In fixing error code 0xc000021a, you might want to try and manually do so. Manual repair methods can give users effective and efficient solutions, addressing the root problems in relation to Windows error codes. Once the manual repair method is correctly implemented, users will be able to resolve issues immediately.
However, there might be instances when a Windows professional is needed. In such cases, seek help from a certified Windows expert or you might want to consider using an automated tool whenever necessary.

Method One: Convert the Drive or Partition from NTFS to GPT

In order to fix Error code 0xc000021a in Windows 10, you might need to convert the partition or drive from NTFS to GPT. See below for the procedure:
1. Shut down your device then put in the Windows installation USB key or DVD.
2. Boot your device to the USB key or DVD in UEFI mode.
3. Inside the Windows Setup, open a Command Prompt window by pressing Shift + F10.
4. Type diskpart in the Command Prompt window to open the diskpart tool.
5. Type list disk to identify which drive to reformat.
6. Select which drive to reformat by typing select disk in the command prompt. Afterward, type clean then hit

Enter. Once done, type convert gpt to be able to convert the drive from NTFS to GPT. Finally, type exit and press Enter. You can now close the Command Prompt window.
7. Once the partition or drive is converted from NTFS to GPT, the user can now continue the Windows Setup installation.
NOTE: Select Custom in choosing which installation type to use. The drive will then appear as a single area of unallocated space. Choose that unallocated space then select Next. At this point, Windows will now begin the installation.

Method Two: Fix System File Errors

There are times when system files get corrupted or damaged which will result in system failure. If this is the case, you can use a Windows free tool to repair corrupted or damaged system files.

1. Right-click on the Start button then selects Command Prompt (Admin) from the list to open a Command Prompt window.
2. Once the Command Prompt appears, type sfc /scannow then hit Enter. Wait until the process completes. If the process is completed and it doesn’t report any error or issues that remain unsolved, you might want to employ the next method.

Method Three: Reset Windows 10

Resetting Windows will delete all software and user accounts installed in the operating system and will reinstall a fresh Windows.

1. Boot your device using a Windows installation USB key or DVD. Select Repair your computer to locate the Troubleshoot option. Afterward, choose Reset this PC.
NOTE: If the device is able to boot the system, you can reset Windows without using a Windows installation USB key or DVD. You just have to boot the device then navigate to Settings in the Start button. Choose Update & Recovery then select Recovery found on the left pane. Choose Reset this PC option then select Go back to an earlier build and Advanced startup. Select Get Started button found in the Reset this PC tab.

2. Depending on your device’s condition, you can either select Keep my files or Remove everything. Both options will remove all applications installed in the device and will revert to default settings.
3. Choose either Just remove my files or Remove files and clean the drive depending on the situation. If you choose the Remove files and clean the drive option, the procedure will take longer as it will erase all the files permanently. In this case, deleted files cannot be recovered. However, if you don’t want to remove files permanently, select Just remove my files.
4. Once you’ve decided how to reset your system, click on Next once the Warning screen appears. Afterward, choose Reset once prompted. When the process completed, click on Continue.

Method Four: Download an Automated Tool

Can’t seem to put up with the long and technical manual repair process? You can still fix this error by downloading and installing a powerful automated tool that will surely get the job done in a jiffy!

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

VirtualBox displays Black screen
If VirtualBox suddenly displays a black screen without any text or mouse cursor when you are trying to boot a guest operating system, then read on as this post will guide you in fixing such an issue. This black screen occurs when Windows 10 failed to provide a specific setting that VirtualBox requires. Consequently, you will not be able to install or use any guest operating system in VirtualBox even if your PC has virtualization support, the best thing you can do now is to fix this black screen issue. There are two ways you can fix this black screen in VirtualBox, you can either try to disable Hyber-V or disable 3D Acceleration. For more details, refer to each one of the given options below.

Option 1 – Try to disable Hyper-V

Hyper-V is a built-in virtualization tool available in Windows that helps users in creating a virtual machine as well as install a guest operating system without using any third-party tool like VMware, VirtualBox, and many more. However, the problem with this virtualization tool is that some systems cannot run it and VirtualBox simultaneously which is most likely why the screen abruptly turns into black. Thus, you have to disable Hyper-V to resolve the problem. How? Refer to these steps:
  • In the Start Search, type “Turn Windows features on or off” and then click on it from the results.
  • Once you’ve opened the Windows Features window, remove the checkmark from the Hyper-V box.
  • Click the OK button and then restart your computer.
  • Now try to use VirtualBox again and see if the problem is fixed.

Option 2 – Try to disable 3D Acceleration

The guest operating system will use the host computer’s GPU to render 3D graphics if you enable the 3D Acceleration for the virtual machine. To simply put it, it will enhance the graphics of the virtual machine and will let you use 3D graphics. Although it may seem nice, it can actually cause the black screen to appear as well so you might have to disable it to isolate the problem. In fact, a lot of operating systems have failed to use the 3D Acceleration for the guest operating system because of this black screen issue. To disable it, follow these steps:
  • Open VirtualBox on your computer and select the virtual machine.
  • Next, click on the Settings button and go to the Display section.
  • After that, look for a checkbox named “Enable 3D Acceleration” located on your right-hand side and then uncheck it.
  • Save the changes you’ve made and reboot your PC and see if you can now run the virtual machine without any problem.
Read More
There is a system repair pending
If you are running a System File Checker scan but got an error message instead that says, “There is a system repair pending which requires reboot to complete, Restart Windows and run SFC again”, worry not for this post will walk you through how you can fix the problem. This kind of error can be addressed and fixed with several potential fixes which will be provided in this post. You can try to restart your computer and run a System File Checker scan again or delete the pending .xml file or use the “revertpendingactions” parameter for the DISM tool. For more information, refer to each one of the options given below.

Option 1 – Try restarting your computer and run the SFC again

The first thing you can do to fix the problem is to restart your computer and let the pending process be completed. After your computer restarted, try to run System File Checker again and see if the error is now fixed or not. If not, refer to the other options below.

Option 2 – Try deleting the pending .xml file

The next thing you can do to fix the problem is to delete the pending .xml file. How? All you have to do is navigate to this location at CWindowsWinSxS and from there, look for a pending .xml file and rename it or delete it. This will get rid of any pending tasks and will build a fresh new check.

Option 3 – Try to use the “revertpendingactions” parameter for the DISM tool

If the two options given above didn’t work, you can try using the revertpendingactions parameter for the DISM tool. If you’re not able to boot into Windows, then run Command Prompt from the Recovery Console and execute the given command below.
dism.exe /image:C: /cleanup-image /revertpendingactions
After you execute the command, restart your computer and try to run System File Checker again and see if it has fixed the problem or not.
Read More
Custom widgets in Windows 11 later
windows custom widgetsOriginally Microsoft has imagined its widgets menu as Microsoft-only widgets but it seems that they have changed their mind. Due to the latest leak, it seems that Microsoft will open the widgets menu to 3rd party developers as well but at launch, it will be only official widgets. It was hinted that later widgets menu will be open to developers who want to bring their own stuff into it. Distribution, date, and technology that will need to be used in order to create your widget have not been discussed nor leaked at a given time but in some way, I am very glad that at least some customization will be in Windows 11. It is funny and amusing how some things that were in Windows Vista are getting back like glass design, round corners, and widgets. Let’s just hope Windows 11 will be a better Windows than Vista was.
Read More
How to Fix CoreFoundation dll Error

CoreFoundation dll Error – What is it?

The CoreFoundation dll error is a common error associated with Apple Software products. Most of the Apple Software products rely on this dll file to load and run. This dll file is Apple’s proprietary. The error message is prompted in the following format:
“CoreFoundation.dll was not found” or “Apple Application Support is missing’.

Solution

Restoro box imageError Causes

The CoreFoundation.dll error message is triggered because of several reasons. These include:
  • Deleted CoreFoundation dll file
  • The CoreFoundation dll file has been overwritten
  • Poor installation of the Apple software
  • Corrupt software due to viral infection
  • Registry problems

Further Information and Manual Repair

It is advisable to fix CoreFoundation dll error code right away to avoid inconvenience. This error may stop you from accessing and running your desired Apple application. Here are some of the best ways to resolve this error on your system:

1. Restore the Deleted CoreFoundation dll File

Since Dynamic Link Library is a shared program, if you happen to delete an Apple program on your PC, chances are you might have deleted that file too in the process. Therefore, the easiest way to recover and restore the CoreFoundation dll file and resolve the error is to look for the file in the recycle bin. If you can’t locate it, then another way to restore the missing CoreFoundation dll file is to download the files from the internet.

2. Reinstall  Apple Software

If the error still persists then it is advisable to re-install Apple software via iTunes or any other Apple Software that you have on your PC. For example, if you have iTunes, then to reinstall it first go to the start menu and then the control panel. Now click on Add/Remove programs and locate iTunes software. Click the Uninstall button next to iTunes. Wait for a while until the program is completely uninstalled. After the installation is complete, restart your PC and then download the latest version on iTunes and install it. Now try running the software again. Hopefully, this will resolve the issue.

3. Scan for Viruses

Another way to resolve CoreFoundation dll error on your system is to scan for viruses. Run an antivirus to detect viruses and remove them from your PC.

4. Clean Your Registry

Remember DLL file errors also indicate a corrupt registry. When you don’t clean the registry it overloads with unnecessary and obsolete files like junk files, cookies, temporary internet history, and bad /invalid registry entries. When these files accumulate, they damage the registry, dll, and system files too. It also causes disk fragmentation. To repair the registry and fix dll files again, download a registry cleaner. Whether you want to scan for viruses or clean the registry, it is advisable to download Restoro. This is a multi-functional and advanced PC Fixer deployed with an intuitive algorithm and multiple powerful utilities. These include an antivirus, a registry cleaner, Active X controls, and class scanner, and a system optimizer. The registry cleaner detects all registry issues and resolves them instantly. It wipes out the unnecessary files cluttering and damaging the registry. It fixes and restores the damaged dll files including CoreFoundation dll file thereby resolving the error. It takes a few clicks to resolve this error. The antivirus feature scans your entire PC and removes all kinds of malicious software including spyware, malware, viruses, and Trojans. To ensure the antivirus does not slow down the speed of your PC, Restoro also features a system optimizer that boosts the performance of your computer significantly. It is powerful and bug-free software with a user-friendly interface that makes it quite easy to operate. You can download it on any Windows version as it is compatible with all. Click here to download Restoro and resolve CoreFoundation dll error now!
Read More
Repair Windows 10 Error Code C19000101 - 2000B

Error Code C19000101 - 2000B on Windows 10– What is it?

Error Code C19000101 - 2000B is a Blue Screen of Death (BSOD) error encountered by Windows users in an attempt to upgrade their operating system from Windows 7 or Windows 8/8.1 to Windows 10. The system upgrade does not successfully finish and when the installation is resurrected, it fails then reverts back to the original operating system. More and more Windows users come across this error that may have been triggered by a few reasons to be discussed in this article.

Solution

Restoro box imageError Causes

Microsoft users can experience the BSOD error C19000101-2000B due to the following reasons:

  • There’s an incompatibility with the drivers
  • Antivirus software

Further Information and Manual Repair

In fixing error code C19000101-2000B, you can try doing it manually. Manual repair methods can offer users solutions effectively and efficiently, having to address the root causes and issues in relation to a number of Windows error codes. If properly implemented, these manual repair methods can help Windows users resolve problems at hand immediately. However, there are cases where the help of a Windows professional is necessary. In such instances, it would be best to consult a certified Windows expert or you can also try using a powerful automated tool whenever needed.

To be able to fix error code C19000101-2000B, implement the first method used in resolving error code 0xc000021a, then you can proceed with this first method:

Method One: Perform Clean-Boot

  1. Prior to performing an upgrade, you need to disable your antivirus. Or, better yet, uninstall it.
  2. Ensure that your PC name is simple without hyphens, periods, or dashes.
  3. Restart your device several times, then try again.
  4. Disable all USB devices such as a smart card reader.
  5. If you are using a SCSI hard disk, be sure to have the drivers ready and available for a storage device like a thumb drive to be connected. While on the Windows 10 setup, select the Custom Advanced Option then use the Load Driver command to load the right driver for the SCSI drive. If the setup still fails, try switching to an IDE-based hard disk.
  6. Launch a clean boot, restart your device, then try again.
  7. If you are upgrading to Windows 10 using the .ISO file, make sure to disconnect from your internet connection during setup. If your device is connected by Wi-Fi or through LAN, you need to disable both before attempting to run a  system upgrade again.
  8. Switch to a local account if you are connected to a domain.
  9. Ensure that all external devices such as USB keys, external hard drives, gaming controllers, or printers are not attached to your device.

If you are upgrading to Windows 10 using Windows Update, you can perform a manual repair using the next method.

Method Two: Upgrading Via Windows Update

  1. Make sure to disconnect from the Wi-Fi or LAN once the download reaches 100% before you proceed with the system upgrade.
  2. Press Windows + X to open the command prompt window as an administrator.
  3. Stop the Windows Update service, BITS, MSI Installer, and Cryptographic by inputting the following commands one by one, hitting Enter after every command:

Net stop wuauserv

Net stop bits Net stop msiserver Net stop cryptSvc
  1. Restart both Software Distribution and Catroot2 folders. You can do this by typing Ren C: WindowsSoftwareDistribution SoftwareDistribution.old and Ren C: WindowsSystem32catroot2 Catroot2.old in the command prompt to change the names of both Software Distribution and Catroot2 files.
  2. Restart the Windows Update service, BITS, MSI Installer, and Cryptographic by inputting the following commands one by one, hitting Enter after every command:

Net start wuauserv

Net start bits Net start msiserver Net start cryptSvc
  1. Exit the command prompt then restart your device. You can now try to proceed with the system upgrade again.

Method Three: Disable or Uninstall Antivirus

  1. If you opt to just disable your antivirus, you just have to right-click on the antivirus’ icon from your toolbar then choose Disable.
  2. Press Ctrl + Alt + Del to open the Task Manager.
  3. Check if all the files or services linking to your antivirus are turned off.
  4. If you choose to uninstall your antivirus (which is recommended), open Control Panel.
  5. Once the Control Panel window is open, select Programs then Uninstall a Program.
  6. Look for your antivirus on the list, right-click it then choose Uninstall.
Read More
Increase your Internet Speed in Windows 10
If you are dissatisfied with your internet speed on your computer but do not want to shell out more money for a faster package or simply there is not a faster package, lay down and enjoy this article where we will go through some common practices and tweaks which will result in increasing your internet speed. Please note that this guide will not be able to go beyond the limits of your internet provider's physical speed, this guide is made you can squeeze the maximum from your existing plan and eliminate speed drops.
      1. Modify IRPStackSize

        Press ⊞ WINDOWS + R to open the run dialog keyboard with windows and r markedIn run dialog type RegEdit and press ENTER run dialog with regeditIn registry editor find HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters Right-click on Parameters> New> DWORD 32 Name it IRPStackSize and change the value to 32 Save and reboot your computer.
      2. Add a Default TTL

        Press ⊞ WINDOWS + R to open the run dialog keyboard with windows and r markedIn run dialog type RegEdit and press ENTER run dialog with regeditIn registry editor find a key Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters Right-click on Parameters> New> DWORD 32 Name it DefaultTTL and change the value to 64 Save and Reboot
      3. Close Background Applications which are using the internet

        If some applications are running in the background that are using the internet, your speed will be much lower. CLose them to gain speed.
      4. Modify the TCP1323Opts value

        Press ⊞ WINDOWS + R to open the run dialog keyboard with windows and r markedIn run dialog type RegEdit and press ENTER run dialog with regeditIn registry editor find a key Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters There should be a DWORD Value, TCP1323Opts, if not, then create it. Right-click on Parameters> New> DWORD (32-bit) Value. Double-click on it and change its value to 1 Save and reboot
      5. Scan system for Viruses and other malware

        Viruses and malware applications can not only slow your entire system, but they can also reduce your internet speed as well. Do a complete scan of your system to be sure you do not have any malicious software on it.
Read More
Fix Wi-Fi doesn't have a valid IP configuration

In today's time, Wi-Fi is a common occurrence, each household has it, on town squares, there are free Wi-Fi hotspots, etc. But sometimes when relaxing at home WI-Fi can fail on us and stop working. If this happens to you do not lose your mind because we have several troubleshooting help tips and ways to get it back quickly so you can continue with your browsing and using your internet.

wi-fi router

Restart the Router and Computer

Yes, we will start with this typical cliche in IT and tech in general. Surprisingly this method still proves over and over again to be true and effective. Over time some electric components simply start working a little bit differently, electrostatic electricity can accumulate on some parts and they can cause issues. By turning off the device and leaving it for some time you are discharging accumulated electrostatics and placing it again into normal working mode.

Unplug your router and leave it for at least 30s like that, a full 1 min is recommended, and then plug it back. Turn it on and restart your computer in order to reboot addresses.

Reset DHCP

If simple have you tried unplugging it and plugging it back in did not work let us reset DHCP. Click on the start button and type in PowerShell, then click on Run as administrator. Once inside the PowerShell type in the following command followed by ENTER: ipconfig /release and after the command finishes, type in: ipconfig /renew also followed by ENTER key. Try the connection again.

Reset TCP/IP stack

The next thing that we will try if the previous one failed is to reset the TCP/IP stack to eliminate corruption of settings files. Like in the previous step, press Start and type in PowerShell and click on run as administrator. inside type in: netsh int IP reset and press ENTER key. Wait for the process to finish and reboot your PC.

Reset WinSock

WinSock is yet another part of Windows OS that is responsible for network communication and resetting it could solve the issue. Again go to PowerShell as described in previous steps and type in this time: winsock reset and press ENTER. Wait for the process to finish and restart your computer.

Other things you can try

Change TCP IP setting back to automatic if you have set manual Ip address on your computer.

Update your network driver via the manufacturer's website of your network adapter. There is a chance that somewhat updates are available to address some issues discovered.

Factory reset your router on the back by locating the reset button on it and pressing and holding it for around 10s.

Turn off your firewall and antivirus protection in order to eliminate it from blocking your internet access.

Read More
Reasons to Defrag Hard Drive
Hello and welcome to our Reasons to Defrag Hard Drive. You ought to defrag your hard drive, in case your PC is slow. This could enhance the efficiency and pace of your PC too as its hardware longevity. It places them where there is space, whenever your PC saves files. Often files are separated into bits. For example, whenever you remember a file and focus on it, it frequently doesn't fit back in exactly the same physical place. Where it can your PC divides up the file, occasionally into several parts, and saves it.

Why defrag?

Fragmentation causes difficulties that doing a defrag can correct. Fragmented files because it requires more resources and time to locate and remember these files slow down your pc. Applications may also take longer to load. Defragging can prolong the life span of the components. A defragged hard disk too can raise your likelihood of recovering lost information. Once fragmentation starts, it can propagate fast -- demanding defragging. It's like the pages of a publication are divided and hidden in several locations around a house, if a file is fragmented. It's like the pages of the book being brought back together, should you defrag. Defragging discovers all the bits of the file and places them in contiguous, actual places.

How will you defrag?

To defrag your hard drive, you must utilize software or utility. There are lots of defragging tools available. SpeedyPC Pro, a whole package of cleaning and optimization tools, can defragment your PC. Before you defrag, it's best to assess your hard drive. This evaluation finds if a defrag is needed and how much of the disc is fragmented. You simply allow the application do the work if it's determined that you must defrag your PC to enhance performance. To be able to defrag a drive, free disk space will be required by your PC. Defragging can take a while. How long depends on several variables, such as the system resources accessible, the disc volume, the number of files, and how fragmented the files are. It's a great idea to defrag when you don't have to use your pc or it isn't doing other jobs. For example, the night could become a great time to defrag. Be certain to close out of resource-intensive applications, like your antivirus scanner, before you defrag.
Read More
What to do if JPEG files won’t open in Windows 10
As you know, “JPEG” is one of the commonly used formats for image files which is a compression of digital images. It is one of the topmost used file formats by mobile phones and digital cameras and usually achieves a 10:1 compression with little visible loss in the quality of the image. There are tons of cases as of late, most particularly after the latest Windows 10 update where users were not able to open JPEG files on their PCs. Every time they try to open any JPEG file, they either get an error or nothing happens at all. This issue could be due to the default handler application for JPEG applications not being set or there could be some third-party image viewer not working properly. To fix this issue with JPEG files, refer to the troubleshooting options below.

Option 1 – Try to change the file type association

You need to check if the file type association of the JPEG files are correctly set or not since there are tons of third party programs that change the file type association automatically to themselves without your permission the instant they are installed and so if any of these third-party programs are broken, then naturally, your JPEG files won’t really open. That’s why you can try changing the setting to the default photo viewer instead of the third-party one. To do so, follow the steps below.
  • Tap the Win + R keys to open the Run dialog box.
  • Then type in “control panel” in the field and hit Enter to open the Control Panel.
  • After opening Control Panel, click on the Programs category and select the “Default Programs” option from the menu.
  • Next, select the second option “Associate a file type or protocol with a program” and then select the “Choose default apps by file type” option.
  • After that, click on the .jpg file extension and choose the option from the pop-up.
  • Now restart your PC to refresh all your programs and then see if it has fixed the problem or not.

Option 2 – Try to update your computer

Microsoft frequently releases updates to target bugs and improve users’ experience. And this particular error where JPEG files won’t open is already acknowledged by Microsoft so you need to make sure that your Windows 10 PC is updated to the latest released update and that there are no pending updates.
  • Tap the Win + S keys to open Search and then type in “update” in the field and open the system setting from the search results.
  • After that, check for updates and then download and install them if needed.
  • Now restart your PC once the update is done and check if you can now open JPEG files.

Option 3 – Try to reset the Photos app via Settings

Resetting the Photos app could also help you in fixing the problem. Note that this option will reset all the configurations and your data associated with your Photos and makes the application go into a state when you first started using it and that this option will fix any discrepancies that your application might be experiencing right now.
  • Tap the Win + S keys to open the search bar.
  • Then type in “settings” in the field to open the Settings application.
  • After opening Settings, click the “Apps” category.
  • From there, a list of applications installed on your computer will appear.
  • Navigate through these applications until you find the Photos app and then click on the Advanced options.
  • Afterward, click the Reset button that appears on the next screen. Then a new pop-up comes up and will warn you that all the preferences, as well as sign-in information, will be lost. Click on “Reset” anyway to proceed in resetting the Photos app.
  • Restart your PC once the reset is done.

Option 4 – Try to reinstall the Photos app

Before you start using other third-party image viewers just yet, you can try to reinstall the Photos app first. Thus, if there is something wrong with it, it will instantly get fixed right after it reinstalls. Just take note that this option requires administrative privileges so you need to be logged in as an administrator.
  • The first thing you have to do is tap the Windows + S keys and type in “PowerShell”.
  • Next, right-click on the file and click on the “Run as administrator” option from the context menu.
  • Once PowerShell is opened, execute this command: get-appxpackage *Microsoft.Windows.Photos* | remove-appxpackage
  • The command you just entered will remove the Photos app. After the process is done, go to the Microsoft Store and look for Microsoft Photos then download and install it again.
Read More
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

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