The SearchUI.exe file is the one that manages the search feature of Cortana. However, a number of users have recently reported that this feature stops responding within minutes of booting their Windows 10 computer. This kind of problem could be caused by missing system files or some issues with the Cortana program itself. And so if the SearchUI.exe file is not responding, then you wouldn’t be able to use the search feature of Cortana. But worry not for this post will walk you through fixing this problem.
Before you troubleshoot the problem, you can try to restart your computer and see if it helps, if it doesn’t, then proceed to the given options below.
Option 1 – Try to run the Search and Indexing troubleshooter
You might also want to run the Search and Indexing troubleshooter in Windows 10 as it checks whether the settings for Cortana are in place and automatically corrects any issues if the update or software installation has changed the settings. To run it just click on the Start button and select Settings > Updates and Security > Troubleshoot. From there, select the Search and Indexing Troubleshooter.
Option 2 – Restart Cortana’s process in the Task Manager
Restarting Cortana’s process in the Task Manager could also help you resolve the problem. Refer to the steps given below to do so.
Tap the Ctrl + Alt + Del keys to open the Security options window.
From there, look for the Task Manager in the given list and open it.
Next, look for the process of Cortana and right-click on it, and then select the End Task option to end its process.
After that, the Cortana process will restart by itself and re-initialize.
Option 3 – Try resetting Cortana
Open Cortana and go to the Settings section where you’ll see the “Turning off Cortana clears what Cortana knows on this device, but won’t delete anything from the Notebook. After Cortana is off, you can decide what you’d like to do with anything still stored in the cloud” option. Turn this option off.
Restart your PC.
After your computer boots, launch Cortana again and check.
Option 4 – Try running the DISM tool
You can try running the Deployment Imaging and Servicing Management or DISM tool to fix the Windows Upgrade problem. Using this built-in tool, you have various options such as the “/ScanHealth”, “/CheckHealth”, and “/RestoreHealth”.
Open the Command Prompt with admin privileges.
Then type in the following commands and make sure to hit Enter right after you type each one of them:
Dism /Online /Cleanup-Image /CheckHealth
Dism /Online /Cleanup-Image /ScanHealth
exe /Online /Cleanup-image /Restorehealth
Do not close the window if the process takes a while as it will probably take a few minutes to finish.
Option 5 – Try to reinstall Cortana
If none of the options given above works, you must consider reinstalling Cortana.
First, right-click on the Start button and click on the Windows Powershell (Admin) option from the list.
Next, type the following command and hit Enter to execute it:
Restart your computer and check if Cortana is now able to connect.
Option 6 – Try troubleshooting the problem in a Clean Boot State
There are instances that some conflicting programs installed in your computer might be the one that’s causing some issues with Cortana or causing the SearchUI.exe process to stop. To identify which program is causing the problem, you need to put your computer in a Clean Boot State. To do so, follow the steps below.
Log onto your PC as an administrator.
Type in MSConfig in the Start Search to open the System Configuration utility.
From there, go to the General tab and click “Selective startup”.
Clear the “Load Startup items” check box and make sure that the “Load System Services” and “Use Original boot configuration” options are checked.
Next, click the Services tab and select the “Hide All Microsoft Services” check box.
Click Disable all.
Click on Apply/OK and restart your PC. (This will put your PC into a Clean Boot State. And configure Windows to use the usual startup, just simply undo the changes.)
From there, start to isolate the problem by checking which one of the programs you installed recently is the root cause of the problem.
Minecraft has taken the world by the storm, it was an indie project game and it went mainstream. Dream of every game developer I guess. The dream of every gamer on the other hand is to double click on the game and to play it and not to deal with various issues, especially if they are launch issues.
Luckily for all of you gamers, here at errortools we game as well and we are happy to bring you a solution on how to fix Minecraft won't launch issue. So sit back, relax and keep on reading, and hopefully enough you will be gaming again in no time.
Follow the guide presented step by step, point by point how it is presented for the quickest way to get back in Minecraft. This guide also presumes that your hardware configurations meet at least the minimum system requirements for running Minecraft.
Disable antivirus and firewall
90% of the time this is the issue why Minecraft is not working, your antivirus or firewall has detected it as a false positive, and access to system internet, etc has been cut. Try disabling it and if everything is working fine add it to the antivirus or the firewall exception list.
Run Minecraft as admin
Minecraft will sometimes refuse to run if it does not has administrator privileges. To make sure this is the case locate the Minecraft executable, right-click on it and choose properties. Go to the compatibility tab and check Run as Administrator box.
End Minecraft process
It came to knowledge that even if Minecraft is not running it can have its processes active in the background.
Press CTRL + SHIFT + ESC to open task manager
Locate if Minecraft has a process running
If you find the Minecraft process right-click on it and choose End Task
Run Minecraft in compatibility mode
If Minecraft still refuses to start try running it in compatibility mode in the previous Windows version
Locate Minecraft executable file in its install location
Right-click on it and choose properties
In the properties, windows go to the compatibility tab
Check run this program in compatibility mode for:
Select previous version of the operating system, try Windows 8 or Windows 7
Update graphic card driver
The best bet is to go to your GPU manufacturer's website and download the latest version of the driver of your GPU.
Remove mods, plugins, texture packs
Mods, plugins, texture packs are all great but sometimes they can cause GPU overloads and other issues to see if this is the case try running Minecraft in Vannila mode without anything installed, just pure and clean Minecraft as it was just downloaded and installed.
Reinstall Minecraft
If everything else failed, reinstall Minecraft. There might be a chance that some DLL file was deleted or corrupted by mistake or that some crucial files are missing. Clean reinstallation will fix all of these issues.
As you know, aside from making computing a lot easier, mouse and touchpad, it also makes computing more efficient and less time-consuming. And so life is unimaginable without these useful devices. However, it is a known fact that you can’t customize these devices since all touchpads and mice come with their own default scrolling direction but worry not for in this post you will be guided on how you can reverse their default scrolling directions.
Every user has their own different preferences when it comes to scrolling directions. You might want the scrolling directions to look like the page is being scrolled in the same direction in where you move your fingers over the touchpad or you might prefer it in an inverted way. Reversing the scroll direction for your device’s touchpad is really easy as Windows by default offers this customization. So if you are trying to find a way to reverse the scrolling direction of your mouse, then you have to follow a tricky little method which will be provided in this post.
It is apparent from the number of settings the touchpad is available that it has become more customizable. You can configure everything, from its gestures, taps, sensitivity, and even its scrolling direction. And now, if you want to reverse its scrolling direction, here’s what you have to do:
Step 1: Tap the Win + I keys to open Settings.
Step 2: From there, go to Devices and select Touchpad from the menu.
Step 3: Next, look for the Scrolling Direction setting.
Step 4: Then click on the drop-down and select your preferred setting. If you want the same direction scrolling, just select the “Downwards motion scrolls down” option, and if you want the opposite select the other one.
After you carry out these steps, the settings will be applied right away and you will see the changes. On the other hand, if you want to change the scrolling direction for your mouse, the procedure is not as simple as it was for the touchpad.
To reverse the scrolling direction for a mouse, refer to these steps:
Step 1: In the Start Search, type “device manager” and click on the appropriate result to open the Device Manager.
Step 2: After opening the Device Manager, look for your Mouse under the “Mice and other pointing devices” section. It is mostly listed as an “HID-compliant mouse”.
Step 3: Right-click on your mouse and click Properties.
Step 4: From there, go to the Details tab and from the drop-down menu, select Device Instance Path.
Step 5: Now take note of the value displayed on its value field and then tap the Win + R keys to open the Run dialog box.
Step 6: Type in “Regedit” in the field and hit Enter to open the Registry Editor.
Step 7: Next, navigate to the following location:
HKEY_LOCAL_MACHINESYSTEMCurrentControlSetEnumHID
Step 8: From this folder, you have to start matching the values in the first part of the value you’ve taken note of.
Step 9: Open the folder which has the same value and repeat this for the second part of the value.
Step 10: Afterwards, click on the Device Parameters and look for a property named “FlipFlopWheel” and invert its value from 0 to 1 or 1 to 0 to reverse the scrolling direction. And then restart your PC to apply the changes made.
After you restart your PC, you should see the changes in the scrolling direction of your mouse. Note that you can change the value back to its original value or just use the registry backup to undo the changes you’ve made.
Error Code 0x80070570 is a common Windows 10 error code that generally is seen by users who are attempting to install a new version of the operating system. While it is most often associated with Windows 10, variations on this same error code have been present in previous versions of the operating system, going all the way back to Windows 7.
Common symptoms include:
Inability to run through the installation process to completion when attempting to install a new version of the operating system
Error message regarding corrupt or missing files
While it is frustrating to encounter an error like Error Code 0x80070570 as you try to install a new operating system version on your device, there are several methods that can be used to try to resolve the issue. If you do not feel like you have the skill or knowledge necessary to successfully apply the steps below, be sure to get in touch with a trusted computer repair technician that is competent in the repair of Windows 10 errors.
Solution
Error Causes
In some cases, Error Code 0x80070570 arises erroneously when the system isn’t able to find a particular file that it needs. Other times, it happens when there is a conflict with the antivirus software that you are running and the installation software. Finally, there may be a faulty source of RAM in your computer that needs to be removed before the installation can be completed.
Regardless of what you believe to be the cause behind the error code, there are at least two different methods that you can use to try to resolve Error Code 0x80070570 on your device. The first is fairly simple and easy to follow, while the second requires a little bit more knowledge of your hardware in order to complete it successfully.
Further Information and Manual Repair
There are two common ways that users can attempt to get around Error Code 0x80070570 on their devices. Each requires a little more skill and technical knowledge than the last. If you don’t feel like you have the skill, time, or ability to invest in the methods below, be sure to get in touch with a Windows repair technician who can help you to complete the necessary steps in the right ways.
Here are the best ways to attempt to resolve Error Code 0x80070570 on your Windows device:
Method One: Reattempt Installation
In some cases, when Error Code 0x80070570 appears on your computer, you can simply click on the OK button and then go back to the screen immediately proceeding where your installation has left off, choosing to restart the process of installation. For some users, repeating this method at least four times has allowed them to bypass the error without undertaking more serious and time-consuming methods to resolve the issue at hand.
Method Two: Check Your Various Sources of RAM
If you have more than one source of RAM in your computer, first remove one of the sources, then re-attempt installation. If you are still encountering Error Code 0x80070570 after removing one of the sources, continue to remove each until you are down to a single source, then trade that last source for one of the ones that have been pulled.
If you have a bad source of RAM, this can help you to figure out which input is causing the error to appear and to address the problem appropriately. Once you have determined which specific source is causing the problem, you can reboot your computer and attempt to run the installation process one more time.
If your RAM sources are not specifically causing the issue, you may still need to run diagnostics tests on your hardware to identify the source of the problem at hand.
Method Three: Use An Automated Tool
If you wish to always have at your disposal a utility tool to fix these Windows 10 and other related issues when they do arise, download and install a powerful automated tool.
Error code 80070103 affects Windows users who attempt to access the latest updates for hardware drivers using Windows Update. Windows 10 users who are affected by this error code will be unable to complete the upgrade process. This error code usually occurs due to the Windows Update attempts to download an incompatible version of a driver or a driver that is already downloaded on one’s device.
Solution
Error Causes
The cause of error code 80070103 in Windows 10 is usually easy to determine. This is due to the fact that the error code only affects users who attempt to access updates related to hardware drivers. In such cases, the error code will only occur if the Windows Update website or tool on your machine attempts to install a driver that is already present on one’s machine or the version of the driver is unsuitable for one’s machine due to lower compatibility.
Further Information and Manual Repair
Manual repair methods are very effective in helping Windows users fix problems related to error code 80070103 as well as other errors. These repair methods can usually be implemented by users with very limited technical skills. In some cases, however, you may need to contact a Windows repair technician, i.e. if you have problems following the manual repair method instructions provided or if the repair methods prove unsuccessful.
In the case of error code 80070103, the problem can be rectified by either hiding the update or reinstalling the hardware driver. Windows users can hide an update on the Windows Update website or via Windows Update within their machine’s Settings. However, users will need to contact their device manufacturer to reinstall hardware drivers in most instances. See below for further details regarding these manual repair methods.
Method One: Hide the Update
In the case where you are informed via an error message box that a driver, for instance, your graphics driver, is incompatible you may need to consider hiding the update to prevent error code 80070103 from reoccurring on your machine.
The incompatible issues will come about when the Windows Update website attempts to download a driver that is already on the device or one with a lower compatibility. When you hide the update, it is in essence, preventing Windows Update from offering this driver in the future. To complete this manual repair method, follow the steps below:
Step two: Select Custom on the Welcome page after completing the scan for the updates process
Step three: Select Hardware, Optional.
Step four: Open the second update for the graphics card, then select Don't show this update again check box.
Step five: Review and install updates.
You may also complete this process by opening Windows Update within your computer’s settings, then selecting the Optional update or available link. Once you’ve done this, you may then select the updates you would like to install and hide the update that has resulted in the occurrence of error code 80070103.
Method Two: Reinstall Hardware Driver
In the case where you need to install a hardware driver, you will need to contact the manufacturer of your device. Once you’ve contacted the manufacturer or visit the manufacturer’s official website, you can then install the latest device drivers manually. Read the instructions for the installation of the latest drivers carefully. This will ensure you avoid any problems and improve your chances of successfully fixing error code 80070103.
After you’ve contacted your device manufacturer and completed the process of reinstalling the hardware driver, check Windows Update to see whether or not error code 80070103 has been rectified. If the problem was related to your hardware driver and you successfully reinstalled the driver, the error code will not reoccur when you attempt to download the latest updates for your hardware drivers.
However, you may need to take another approach if this manual repair method fails to fix error code 80070103. For instance, consider getting help from a Windows repair technician who is equipped with the skills and expertise necessary to offer a detailed inspection of your machine. Though the error code is related to one’s drivers, the fact that a Windows error code occurred may mean that your system needs a thorough evaluation as other issues may be present.
Method Three: Download an Automated Tool
If you wish to always have at your disposal a utility tool to fix these Windows 10 and other related issues when they do arise, download and install a powerful automated tool.
Recently, a number of users reported an error while trying to update their computers. This particular Windows Update error has an error code of 0x80073701. If you are one of the users who encounter this error, then read on as this post will guide you on how exactly you can fix it.
Here’s the exact context of the error:
“Updates failed. There were problems installing some updates, but we’ll try again later.2019-07 Cumulative Update for Windows 10 Version 1903 for x86-based Systems (KB4507453) – Error 0x80073701”
The Windows Update Error 0x80073701 also comes with a code “ERROR_SXS_ASSEMBLY_MISSING” which indicates that some system files are missing on your computer that caused the update installation failure error. Although this Windows Update error does not cause any severe issues, it is still being reported in the section of Windows Update where it is marked as “Update failed”. There are several potential solutions you can check out to resolve this error. You can try to run the DISM tool or the SFC or System File Checker scan. You could also try to run the Windows Update troubleshooter. For more information, make sure to follow the options given below.
Option 1 – Restart your computer and try installing the Updates again
Restarting your computer can also help in fixing the Windows Update failed to install error 0x80073701. There are cases where the issue resolves on its own as it could just be some simple network or PC error.
Option 2 – Try to run the DISM tool
Running the DISM Tool helps in repairing the Windows System Image as well as the Windows Component Store in Windows 10. Using this built-in tool, you have various options such as the “/ScanHealth”, “/CheckHealth”, and “/RestoreHealth”.
Open the Command Prompt as admin.
Then type in this command: exe /Online /Cleanup-image /Restorehealth
Do not close the window if the process takes a while as it will probably take a few minutes to finish.
After you run this tool, a log file is created at C:WindowsLogsCBSCBS.log. On the other hand, if the Windows Update client is already broken, you will be prompted to use a running Windows installation as the repair source or use a Windows side-by-side folder from a network share, as the source of the files. Although the chances of this happening is less, if it turns out to be the case, you need to run an advanced command in the DISM tool to repair a broken Windows Update. Just repeat the process above but use the following command instead:
System File Checker or SFC is a built-in command utility that helps in restoring corrupted files as well as missing files. It replaces bad and corrupted system files to good system files that might be causing the error 0x80073701. To run the SFC command, follow the steps given below.
Tap Win + R to launch Run.
Type in cmd in the field and tap Enter.
After opening Command Prompt, type in sfc /scannow
The command will start a system scan which will take a few whiles before it finishes. Once it’s done, you could get the following results:
Windows Resource Protection did not find any integrity violations.
Windows Resource Protection found corrupt files and successfully repaired them.
Windows Resource Protection found corrupt files but was unable to fix some of them.
Restart your computer.
Option 4 – Try running the Windows Update Troubleshooter
Running the built-in Windows Update troubleshooter could also help you resolve the Windows Update error 0x80073701. To run it, go to Settings and then select Troubleshoot from the options. From there, click on Windows Update and then click the “Run the troubleshooter” button. After that, follow the next on-screen instructions and you should be good to go.
Windows 11 is getting adopted more and more each day, and how more and more users are installing it some smaller bugs show up. One of the things that have manifested lately is that in some cases installation assistant is not working throwing error 0x8007007f at you while you try to finish the update of Windows.
If you are one of the users that are experiencing this kind of annoyance, we have a solution for you. Follow this guide as presented and repair this annoying error.
Run installation assistant as administrator
This is the most simple solution that can solve problems right away and it is advised to be tried first.
Download standalone Installation assistant installer from Microsoft website here
Go to the location where you had the file downloaded
Right-click on file
Click on Run as administrator
On the permission box, click YES
Disable antivirus and/or firewall software
Antivirus or firewall software can sometimes interfere with Windows’s update and prevent for any reason download or installation of files they consider not safe. If the first solution has not provided success turn off your antivirus or firewall software and try again to install updates by running them as administrator.
Now, how many different antivirus or firewall applications are unique pieces of software it would take too much time to cover all of them but usually and most commonly if you right-click on the taskbar icon of security app most of the time you will have either option to open it and close it or simply just to snooze it for some time.
Set the compatibility
If you are still having issues with installing updates try setting compatibility mode for the installer.
Download standalone Installation assistant installer from Microsoft website here
Go to the location where you had the file downloaded
Right-click on file
Click on properties
Go to the Compatibility tab
Click on Run this program in compatibility mode for:
Choose Windows 7
Click on APPLY
Run installer
Run SFC scan
If you are still facing installation issues there is a high chance there is something wrong with Windows system files. Luckily Windows itself has a built-in tool to address these issues and fix them.
Open command prompt as administrator by pressing Start and searching for the command prompt and then on right-clicking on run as administrator
Once the command prompt opens type in SFC / SCANNOW and press ENTER
Wait for the whole process to complete and then restart your system
It seems that Microsoft is going to offer subscription and sales of individual office applications in the Windows Store. The office package will still be available as a package but for the first time, we will get single applications as standalone ones available for purchase.
This is a very interesting decision by Microsoft and I fully support it, this time users will be able to pay less and to choose only applications that they need instead of paying for the whole package and not using it.
Recently Meta has gone viral that it is working on an AI video-making algorithm named Make a Video. AI will like in picture making AI take text input and produce a video from it.
Now, a new player enters the AI video battlefield, its name is GOOGLE!
The Google research project Imagen Video is also text to video generator similar to Meta's Make a Video with one little difference. unlike Meta's offering which includes only sign-up, Google is withholding access for now under the veil of safeguarding issues.
Google has been in the Ai space before with their Imagen, a DALL-E style generator capable of photorealistic picture generation based on text prompts. The new Google tool works in a similar way but with better functions. Ai can generate a diverse range of high-fidelity videos across different aesthetic styles and with a deep understanding of 3D models thus creating high-definition, 24-frames-per-second videos.
"With the help of progressive distillation, Imagen Video can generate high-quality videos using just eight diffusion steps per sub-model. This speeds up video generation time substantially, by a factor of ~18x,”
Jonathan Ho, author of the research paper
Despite filtering for “undesirable content”, the team admits “there is a risk that Imagen has encoded harmful stereotypes and representations”. So, until the AI - and its users - can be trusted, Google refuses to release Imagen Video without additional safeguards in place.
Users, when upgrading to Windows 10 from Windows 7 or Windows 8/8.1, or when upgrading to a new version, build, service pack, or major update of Windows 10, can encounter error code 0xC1900101, 0x30018. Windows 10 installation fails and stops or hangs. During the installation process, it will reach a certain maximum limit (normally at 6% or 32%) then reverts back to the previous version of the operating system and displays the following message:
We couldn’t install Windows 10. We’ve set your PC back to the way it was right before you started installing Windows 10.
0xC1900101 – 0x30018
The installation failed in the FIRST_BOOT phase with the error during the SYSPREP operation.
Solution
Error Causes
In attempting to fix Error Code 0xC1900101-0x30018, it is vital to know what causes this issue. The most probable causes of this error are:
Incompatible hardware or driver
Incompatible security programs or antivirus or incompatible utility software
A device driver possibly stopped responding to setup.exe while on the installation process.
In some cases, you might be opened to other error messages when attempting to update to Windows 10, including error code 8007002c.
Further Information and Manual Repair
In fixing issues related to error codes, it is best to employ manual repair methods. Using these methods helps users pinpoint the root causes of the issue and apply solutions permanently to fix the issues.
While most manual repair methods can be done by every Windows user, even those without technical abilities, there are certain cases where help from a Windows professional is needed. If you’re not up to facing risks in implementing manual methods yourself, consider getting help from a professional Windows technician or you can use a powerful automated tool.
In fixing Error Code 0xC1900101-0x30018, you can repeat the same steps used for 0xc000021a (Method One) or you can try doing the following:
Disable or uninstall your Antivirus program before proceeding to upgrade the system
Ensure that the machine name is simple (having at least 8 characters) with no special characters like hyphens or dashes.
Restart the device a few times then try again.
Disable General USB Devices such as the Smart Card Reader.
If you use an SCSI hard disk, ensure that you have available drivers you can use for your storage such as a thumb drive and make sure that it is connected. During the Windows 10 setup, select the Custom Advanced Option and use the Load Driver command to be able to load the suitable driver for the SCSI drive. If this fails, try switching to an IDE-based hard disk.
You can now perform a clean boot. Restart your device then try again.
If you are using the .ISO file for upgrading the system, you need to disconnect from the Internet first before proceeding to the setup. If you are connected to Wi-Fi or by Ethernet (LAN), make sure to disable both connections then you can proceed to set up again.
If you’re performing the update through Windows Update, once the download reaches 100%, disconnect from the Internet, and then proceed with the installation.
NOTE: If this fails, if possible, you can try using the .ISO file in upgrading.
Switch to a local account if the device is connected to a domain.
Disconnect all external devices attached to the computer such as gaming controllers, printers, or USB keys.
Open the Command Prompt window by pressing Windows Key + X. Select Command Prompt (Admin) from the menu.
Stop the BITS, Cryptographic, MSI Installer, and the Windows Update Services. In order to do this, Type or Copy and Paste the following commands one at a time:
NOTE: Don’t forget to hit Enter after every command.
net stop wuauserv
net stop cryptSvc
net stop bits
net stop msiserver
Rename the Catroot2 and SoftwareDistribution In order to do this, Type or Copy and Paste the following commands one at a time:
NOTE: Don’t forget to hit Enter after every command.
Restart the BITS, Cryptographic, MSI Installer, and the Windows Update Services. In order to do this, Type or Copy and Paste the following commands one at a time:
NOTE: Don’t forget to hit Enter after every command.
net start wuauserv
net start cryptSvc
net start bits
net start msiserver
Type Exit in the Command Prompt then close the Command Prompt window then restart the computer.
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!
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".
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.
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:
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