Logo

How to Fix Plugin.dll Error

Plugin.dll Error - What is it?

Plugin.dll is a dynamic link library file associated with Adobe Photoshop CC powered by Adobe Systems Incorporated for the Windows Operating System.

DLL are small programs similar to ‘exe’ files which allow multiple software programs to share the same functionality. It is used to call commands, load applications, and successfully execute applications.

Plugin.dll error messages may appear during program installation, while a plugin.dll related software program (Adobe Photoshop CC) is running, during startup and shutdown.

Solution

Restoro box imageError Causes

Plugin.dll errors may occur due to multiple reasons such as:

  • Missing or corrupt Plugin.dll files
  • Viral infection
  • Issues in the Windows registry
  • Broken registry keys

Plugin.dll errors may appear on a Windows-based computer as the following:

  1. “Plugin.dll not found."
  2. “The file Plugin.dll is missing."
  3. “Cannot register Plugin.dll."
  4. "Cannot start Adobe Photoshop CC. A required component is missing: Plugin.dll. Please install Adobe Photoshop CC again."

All the causes of the plugin.dll error code are associated with the registry. It is advisable to repair this error before it causes serious damages to your system.

Further Information and Manual Repair

To repair the plugin.dll error on you system, you don’t have to hire a technician or be adept at computer programming.

The best way to resolve this error code is to download Restoro. This is a new, innovative, high and multi-functional PC fixer integrated with powerful and performance-driven multiple utilities. It includes a registry cleaner, and system stability scanner.

So, whether the cause of the error code Plugin.dll error on your system is missing DLL files or even broken registry keys, Restoro can help you repair all these issues in no time. It is user-friendly and can be operated by users of all levels.

Dll files go missing and registry gets corrupt because of the data overload in the RAM/the hard disk.

This happens due to poor PC maintenance. The registry tends to save all the activities performed on the PC this includes even the junk files, invalid registry entries and files from uninstalled programs. If the registry is not cleaned regularly, such files accumulate a lot of disk space which leads to registry malfunctioning.

It damages .dll files and eventually corrupts the registry.

By scanning your PC with a powerful registry cleaner, you can easily wipe out the files cluttering your PC and clear your disk space.

Additionally, it also repairs the damaged plugin.dll files, fragmented disk and corrupt registry.  Thereby restoring your PC to its normal condition and resolving the plugin.dll error code on your system.

Besides this, you can also run Restoro on your PC to resolve speed issues and Active X and class errors. It is safe, efficient and compatible with all Windows versions.

Click here to download Restoro and resolve the plugin.dll error.

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

How to Fix Windows 10 Error 0x80004002

Error Code 0x80004002 - What is it?

Error Code 0x80004002 is a Windows-based error code that affects Windows 10 and previous operating systems, including Windows XP, Vista, Windows 7, and Windows 8. In most instances, the message box that shows Error Code 0x80004002 pops up as you attempt to install new software or programs on your machine.

Common symptoms include:

  • Problems running programs that once worked
  • Slow response time of your computer to commands entered with the keyboard or mouse
  • Trouble shutting down or starting up your machine
  • Error message regarding your registry, updates, or response time.

There are a number of different solutions that you can use to attempt to resolve Error Code 0x80004002. Because there are multiple causes to the issue, some of the methods used to successfully address the problems at hand are fairly simple, while others require advanced knowledge or abilities to complete. If the methods below are not successful in the resolution of the issue or if you aren’t confident in your skills to implement these methods, contact a qualified Windows repair technician to assist you. Once this error message is not rectified, you could be exposing your computer to other error messages, including error code 0x80240020.

Solution

Restoro box image

Error Causes

There are many different issues that can contribute to the appearance of Error Code 0x80004002. The most common causes for this particular error message include:

  • Errors in registry files
  • Missing system files that have accidentally been associated with other programs and deleted
  • Viruses or malware that cause corruption in program or system files
  • Installations that have failed to complete fully

Further Information and Manual Repair

Due to the number of causes that can contribute to Error Code 0x80004002, there are a number of methods that you can use to attempt to resolve the issues behind the error. While some of these methods are fairly easy to implement, others may require you to use programs like registry cleaners and driver installation wizards, so if you are not comfortable using these kinds of software, contact a certified Windows repair technician to assist you.

Here are the top ways that you can attempt to address Error Code 0x80004002:

Method One:  Run Your Windows Registry Cleaner

Many different registry cleaning tools exist on the Internet, but not all of these are provided by trustworthy sources. Rather than trusting a file from an unknown publisher, you can use the registry cleaning program included in your Windows software package.

Run this tool to complete a scan of your files, discovering which ones may need to be repaired. In most cases, the registry cleaner itself can repair the necessary files and resolve the error.

It is always a good idea to restart your computer after you have run the registry cleaning tool to ensure that your machine can accurately assess the newly repaired files.

Method Two:  Update Your Drivers and Software

In some cases, Error Code 0x80004002 arises when drivers are out of date. If you believe that this is the case, you can check on the status of your various drivers by going into the settings for your operating system and selecting the “Update Drivers” option.

You can also check your system for any necessary updates to your Windows software, which may serve to address the error code.

After you have checked and installed any necessary drivers, make sure to restart your computer to fully apply any changes that the installation process has introduced.

Method Three:  Reinstall Your Windows Software

In some cases, the best way to address the missing or corrupt files that can cause Error Code 0x80004002 is to simply reinstall your copy of Windows. Always make sure to back up your files before reinstalling your software.

Method Four:  Run Your Virus Scan Software

Because Error Code 0x80004002 can also be caused by malware or a virus, you can run your virus scan software to detect and resolve the problem. After doing so, run the registry repair tool to fix any affected files and restart your computer.

Method Five: 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.
Read More
DirectX function GetDeviceRemovedReason
DirectX function GetDeviceRemovedReason error is a DirectX error that comes up during playing games on Windows 11 operating system. Usually, the error occurs in gaming systems powered by AMD and very rarely if any times at all on Nvidia or intel platforms. DirectX function GetDeviceRemovedReason errorIf you are one of the gamers affected by this error, fear not because we have a solution for you. Follow provided fix guide in order to correct this error and get back to gaming asap.

1. Update drivers

The first thing of course is to update your graphic card driver, you can do this with your graphic cards panel software or directly in Windows itself but the best practice and one that I would recommend is to go to your graphic card manufacturer’s website and download the latest driver there, and then install it inside Windows 11.

2. Change power mode

Changing power mode inside Windows 11 can solve this issue since sometimes Windows power manager if it is set to anything except best performance can interfere with the proper functioning of the graphic adapter, and because of this error. To change the power setting do the following:
  1. Press ⊞ WINDOWS + I to open settings
  2. Click on the System tab
  3. Select power & battery on the right part
  4. Click on the menu beside power mode
  5. Select the best performance

3. Run SFC scan

Corrupted system files can also cause this error and if previous steps have not resolved it we will use Windows built-in tool SFC scan to find and repair all bad files in windows.
  1. Press ⊞ WINDOWS + S to open the search menu
  2. Type in Windows terminal and run it as administrator
  3. If prompted click on YES on UAC
  4. Press CTRL + SHIFT + 2 to run command prompt
  5. Type in sfc /scannow and press ENTER
  6. Wait for the whole process to finish and then reboot your system

4. Reinstall the problematic game

Sometimes game files can get corrupt and maybe even overwritten, try with game reinstallation if the problem still persists.
Read More
Windows 11 launch date set for October 5th
windows 11 release dateIt is officially confirmed, Windows 11 release date is October 5th. Windows 11 will be released as a free upgrade to all registered Windows 10 users that have supported hardware for it. The rest of the users will be able to install it via ISO file as a clean installation if their computer supports Windows 10 hardware requirements. The official price for the license for Windows 11 has not yet been set but I assume after release it will be set. Priority for W11 will have users who are upgrading from W10 as stated by Microsoft. Also, it was officially confirmed that Android apps will not be running natively in this first release of Windows 11, that feature will come in a future update, official statement below:
"We look forward to continuing our journey to bring Android apps to Windows 11 and the Microsoft Store through our collaboration with Amazon and Intel; this will start with a preview for Windows Insiders over the coming months,"
The rest of the features will be all included inside Windows 11 on launch.
Read More
Fix Storport.sys BSOD errors in Windows
As you can notice in Blue Screen errors, most of them point out a file that’s related to the errors. One of these files is the Storport.sys file which is a system file related to the storage of data in the storage unit of a computer. This file is created by the Microsoft Storage Port Driver. So if this file ends up getting dragged on Blue Screen errors, there can be a number of reasons for why it’s happened. Blue Screen errors related to the Storport.sys file may include conflicts with the hardware, incompatible firmware issues, corrupted drivers, missing or corrupted system files, to name a few. Here are some of the common Blue Screen errors related to the Storport.sys file:
  • KMODE_EXCEPTION_NOT_HANDLED
  • KERNEL DATA INPAGE
  • PAGE FAULT IN A NONPAGED AREA
  • SYSTEM THREAD EXCEPTION NOT HANDLED
  • IRQL NOT LESS OR EQUAL
  • SYSTEM SERVICE EXCEPTION
Microsoft Windows is the one that provides the Storport.sys file a storage port driver that is suited especially for the use of high-performance buses like fiber channel buses and RAID adapters. There are a number of advantages in using Storport instead of the SCSI Port, according to Microsoft:
  • “Improved performance, both in terms of throughput and the system resources that are utilized.
  • Improved Miniport driver interface that addresses the needs of high-end storage vendors, particularly host-based RAID and fiber channel vendors.”
If you encounter any of the above-mentioned Blue Screen of Death errors, then here are some troubleshooting options that might help but before you get to them, you can try to perform a System Restore first especially if you have the habit of creating System Restore points. This might fix the problem. To perform a system restore, refer to these steps:
  • First, tap the Win + R keys to open the Run dialog box.
  • After that, type in “sysdm.cpl” in the field and tap Enter.
  • Next, go to the System Protection tab then click the System Restore button. This will open a new window where you have to select your preferred System Restore point.
  • After that, follow the on-screen instructions to finish the process and then restart your computer and check if the problem is fixed or not.
If System Restore didn’t help in fixing the Blue Screen error, now’s the time for you to resort to the troubleshooting tips provided below but before you get started, make sure that you create a System Restore point first. In addition, you also have to boot into Safe Mode with Networking before you carry out the troubleshooting steps below.

Option 1 – Try to update or rollback your device drivers

The first thing you can try to fix the Storport.sys Blue Screen error is to either update or roll back the device drivers. It is most likely that after you updated your Windows computer that your driver also needs a refresh. On the other hand, if you have just updated your device drivers then you need to roll back the drivers to their previous versions. Whichever applies to you, refer to the steps below.
  • Open the Devices Manager from the Win X Menu.
  • Then locate the device drivers and right-click on them to open the Properties. Note that the main drivers that might be the cause behind the Storport.sys Blue Screen error will be listed under the “ID ATA/ATAPI controllers” section as well as the “Storage controllers” section.
  • After that, switch to the Driver tab and click on the Uninstall Device button.
  • Follow the screen option to completely uninstall it.
  • Finally, restart your computer. It will just reinstall the device drivers automatically.
Note: You can also directly download the relevant drivers of your computer from the manufacturers’ website. So if you have an SSD, the issue might be due to an old storage driver. Option 2 – Try to recreate the Storport.sys file If the first option didn’t work, the next thing you can do is to recreate the Storport.sys file. Every time your Windows 10 PC boots up, it looks for all the system drivers in place and if it is unable to find them, it tries to create them. This is why if you remove your corrupt driver file, chances are, you might get a fixed file recreated just for you. How? Refer to the steps below.
  • Boot your Windows 10 PC in Safe Mode.
  • Then open File Explorer and navigate to this location: C:/Windows/System32/drivers
  • From there, look for the file named sys and rename it to Storport.old.
Note: As you can see, the file’s extension has changed from .sys to .old.
  • Now restart your computer and check if the Storport.sys Blue Screen error is now fixed.

Option 3 – Run System File Checker or SFC scan

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. 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:
  1. Windows Resource Protection did not find any integrity violations.
  2. Windows Resource Protection found corrupt files and successfully repaired them.
  3. Windows Resource Protection found corrupt files but was unable to fix some of them.
 Reboot your PC.

Option 4 – Try to run the DISM commands

You might want to repair potentially corrupted files in your system as having them could also trigger the Storport.sys Blue Screen error. To repair these corrupted system files, you can run the DISM commands:
  • Tap the Win + X keys and click on the “Command Prompt (Admin)” option.
  • After that, input each one of the commands listed below sequentially to execute them:
    • Dism /Online /Cleanup-Image /CheckHealth
    • Dism /Online /Cleanup-Image /ScanHealth
    • Dism /Online /Cleanup-Image /RestoreHealth
  • Once you’ve executed the commands given above, restart your computer and check if the dxgkrnl.sys Blue Screen error is now fixed.

Option 5 – Run the Blue Screen Troubleshooter

Troubleshooting Blue Screen of Death errors wouldn’t be complete without the Blue Screen troubleshooter. As you know, it is a built-in tool in Windows 10 that helps users in fixing BSOD errors like Storport.sys. It can be found on the Settings Troubleshooters page. To use it, refer to these steps:
  • Tap the Win + I keys to open the Settings panel.
  • Then go to Update & Security > Troubleshoot.
  • From there, look for the option called “Blue Screen” on your right-hand side and then click the “Run the troubleshooter” button to run the Blue Screen Troubleshooter and then follow the next on-screen options. Note that you might have to boot your PC into Safe Mode.
Read More
A Quick Method To Fix Error Code 0x80070002

What is 0x80070002 Error Code?

0x80070002 error message triggers Windows update problems. This error code pop prevents you from successfully updating Windows operating system and its installed components. Windows update is necessary to keep the system up to date and efficient. It also helps you close security holes in your system and prevents your system from being infected by viruses or hacked.

Solution

Restoro box imageError Causes for 0x80070002

This error code pops up on the screen and results in an unsuccessful Windows update, when either your system has wrong date/time settings or when Windows update temporary folder is corrupted. The latter cause is the one to be worried about as it usually results from malware, viral infection, and registry corruption and damage. If this error code is not fixed timely it can lead to system crash and failure too.

Further Information and Manual Repair of 0x80070002

The best way to fix the 0x80070002 Windows update error code is to download Restoro on your system. Restoro is a new, powerful, intuitive, and cutting-edge PC fixer that serves as both a registry cleaner and a system optimizer. It is integrated with multiple performance-boosting and highly functional utilities. With this helper, you can resolve the maximum number and types of PC issues in a few seconds. This tool spares you from the hassle of finding and detecting the underlying cause of the error 0x80070002. Its intuitive built-in technology automatically detects and identifies the error and its causes and repairs it right away. Restoro includes utilities like registry cleaner, privacy issue detector, Active X and Class cleaner, and system stability scanner. The registry cleaner feature assists users to clean up registry clutter. This includes clearing junk files, temporary files, and invalid registry entries which take up all the disk space causing the registry to get corrupted and hampering Windows updates. It repairs the corrupt registry in no time allowing you to perform successful Windows updates.

Restoro Privacy Features

Nonetheless, if the error 0x80070002 occurs due to malware, Restoro will scan and repair it too. Its advanced privacy error anti-virus built-in feature scans for all types of malware, spyware, and viruses quickly and removes them from your PC. This ensures that your PC remains safe from malicious malware that can cause unsuccessful Windows updates and error codes like 0x80070002. Restoro is compatible with all Windows versions. It has a sophisticated and easy-to-use layout making it easier for users of all levels to use it without any complexity or hassle. It is safe and efficient.  It also helps boost the speed of your PC thus lowering boot time tremendously. For user safety, Restoro advises users to create backup files. This helps retrieve valuable data and files in the event of data loss during repair which rarely happens; but in case it does, you don’t have to suffer from a big loss.

Get Restoro

To get started, all you have to do is download and install Restoro on your system. After downloading, run it on your PC for a scan. Once the scanning is complete, a comprehensive scan report will be displayed on your screen showing you the errors affecting your system including 0x80070002 errors that you’ve been experiencing when performing Windows updates. To resolve issues on your PC right away, simply click on repair.  This will repair the error 0x80070002 issues on your PC in seconds. After your PC is repaired, you can then perform a Windows update again. It will be executed successfully. Click here to download Restoro today!
Read More
A Quick Guide to Fixing Error Code 17

Error Code 17 - What is it?

Code 17 is a typical Spotify error code. Spotify is a music streaming service. Through this software, PC users can browse songs and search by artist, album, and playlist. Simply put, it is an audio player available for BlackBerry, iOS, and Microsoft Windows desktop. You may experience error code 17 if the process fails when downloading Spotify from the internet. The error message is displayed in any one of the following formats:
Error 17: Spotify has encountered a problem and needs to close. We are sorry for the inconvenience. Spotify could not be started (Error code 17)
Some of the symptoms of this error code are program crash, slow Windows performance, and periodic system freeze.

Solution

Restoro box imageError Causes

Error 17 may be triggered by several reasons such as:
  • Viral infection
  • Incomplete installation of Spotify software
  • Corrupt download
  • Registry corruption
  • Windows Installer service terminated
To use the audio player Spotify successfully on your PC, it is advisable to fix error 17 right away on your system. Delay may cause inconvenience and limit your access to your desired program.

Further Information and Manual Repair

To repair this error code on your PC, you don’t have to hire a professional or be a technical whiz yourself. The good news is that this error is quite easy to fix. You don’t need to be technically sound to resolve it. Here are some proven methods for you to fix error code 17 on your system. So let’s get started:

Method 1 - Make sure that the Windows Installer is running

Sometimes Spotify error 17 may occur if the Windows Installer service is terminated. Therefore before you download, make sure the Windows Installer is running. This is a good way to ensure the error code 17 messages don’t pop up on your PC again. For this here’s what you need to do, first quit all programs. Now go to the start menu and in the search box type RUN, and press enter. In the Open Box, type msiexec /unregister and then press OK to confirm. After that, perform the same steps again, and now in the Open Box type msiexec /regserver and press OK to save. Reboot your PC and try downloading Spotify again. If the program successfully downloads on your system, then this means error 17 is resolved. However, if the error code still persists, then try other methods given below.

Method 2 - Use System Restore to Undo Recent Changes

Another reason for the cause of error 17 is the improper or incomplete installation of Spotify. Improper installations can configure settings and also leave bad entries in the registries. To resolve, use System Restore utility built-in Windows. By using this system tool, you can undo recent changes and resume your computer to its previous condition as it was before the proper installation was attempted. To do this, go to the start menu, then in the search box type System Restore and press enter. Go to System Restore and choose a restore point. Once you’ve selected the point, reboot your PC to activate changes.

Method 3 - Remove Viruses

Viruses can enter and damage your PC if you download software programs from unknown websites. These not only damage your PC but also hinder your ability to install desired programs successfully in this case audio player Spotify. In such an event, simply use an antivirus to remove all viruses infecting your system. After they are removed, make sure you download and install Spotify software from a trusted website.

Method 4 - Repair the Registry

Another cause of error 17 is registry corruption. This occurs due to bad entries, invalid and junk files saved in the registry. To fix the corrupt registry simply download Restoro. This is a user-friendly PC Fixer embedded with a powerful registry cleaner. This software is compatible with all Windows versions. The registry cleaner detects all registry issues, removes all file corrupting the registry, and cleans it immediately in just a few clicks. Click here to download Restoro on your PC and resolve Error 17.
Read More
Steam Deck will be able to dual boot
Steam Deck release is almost upon us and more news comes to light. The Latest officially confirmed technical detail is that the user will have access to device's BIOS and that dual booting will be officially supported. steam deckThis, of course, means that you will be able to have both Proton and Windows on your device letting you play anything that you wish if the hardware is strong enough. Valve also said that you can launch OS from an SD card! This of course will save space available for games themselves, especially for entry models with less than one available. All of this information really pushes Deck into the territory of a handheld PC and not just another console and I must admit that this announcement left a smile on my face.
Read More
Fix Chrome ERR_SOCKET_NOT_CONNECTED
Recently, a number of users reported an error in Google Chrome that says, “ERR_SOCKET_NOT_CONNECTED”. If you are one of these users, read on as this post will guide you in resolving this error. This kind of error in Chrome is kind of vague so it could be caused by a couple of factors like DNS server issues, Socket Pools, third-party plugins or extensions, and many more. Whatever the cause may be, there are several options you can check out to resolve the problem. You can try to flush the Socket Pool or change the DNS address or remove unwanted extensions or reset your Google Chrome browser.

Option 1 – Try to flush the Socket Pool

  • Open Google Chrome and in the address bar, type “chrome://net-internals/”.
  • After that, select Sockets on the left side panel.
  • Next, select Flush socket pools from the right-side panel.
  • And once it’s done, restart your Chrome browser and check if the “ERR_SOCKET_NOT_CONNECTED” is fixed or not.

Option 2 – Try to change the DNS Server

In this option, you can try changing your current DNS settings to the Google Public DNS as it could also help in fixing the “ERR_SOCKET_NOT_CONNECTED” error. To do so, follow the steps below.
  • The first thing you have to do is right-click on the network icon in the Taskbar and select Network and Sharing Center.
  • Next, click on the “Change Adapter Settings” option.
  • After that, search for the network connection that you are using to connect to the internet. Note that the option might be “Wireless Connection” or “Local Area Connection”.
  • Right-click on your network connection and click on Properties.
  • Then select the new window to choose the “Internet Protocol 4 (TCP/IPv4)” option.
  • After that, click on the Properties button and click the checkbox in the new window for the option “Use the following DNS server addresses”.
  • Type in “8.8.8.8” and “8.8.4.4” and click OK and exit.

Option 3 – Get rid of any conflicting browser extensions

  • Open Chrome and press Alt + F keys.
  • Go to More tools and click Extensions to look for any suspicious browser extensions or toolbars.
  • Click the Recycle bin and select Remove.
  • Restart Chrome and press Alt + F keys again.
  • Proceed to On Startup and mark Open a specific page or set of pages.
  • To check if the browser hijacker is still active, click Set pages, if it is active, overwrite the URL.

Option 4 – Try to reset Google Chrome

Before you proceed, make sure that the Chrome browser is not running anywhere in the background via Task Manager. Once you’ve made sure that it’s no longer running, refer to these steps:
  • Tap the Win + R keys to open the Run dialog box.
  • Then type “%USERPROFILE%AppDataLocalGoogleChromeUser Data” in the field and tap Enter to open this location.
  • From there, look for the Default folder and then tap the Shift + Delete button and if a confirmation prompt appears, click on Yes.
  • After deleting the Default folder, open Google Chrome and click on the three vertical dots icon located in the top-right corner to open the menu.
  • Next, click on Settings and scroll down and then click on Advanced to open the Advanced Settings.
  • Then scroll down until you see the “Reset and clean up” section and click the “Restore Settings to their original defaults” option.
  • After that, you will see a confirmation box and from there, click on the Reset settings button to reset your Google Chrome browser.
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
How to choose default applications in Windows
Hello everyone and welcome to another tutorial on errortools.com, Windows itself when it is installed has a general idea about certain file types and how to open them, for example, image files would be opened with application photos, web links with the edge, etc. So when we double click on the known file type, Windows will start the default application for that type and open the file in it. But what if we do not want to open files in applications Microsoft thinks we should? What if we want to open the website in firefox or images in photoshop, or whatever. Luckily we can easily change which application Windows uses for which file type. Click on ⊞ WINDOWS to open the start menu and choose settings. Windows 10 Star menu with marked settings iconOn the settings screen, choose Apps. Windows settings apps section markedWhen the Apps screen opens on the left click on Default apps. Windows settings default apps markedOn right, you will get a list of Windows default applications for certain types of files. Click on any application you would like to change and choose from the drop-down list a new one. Click on it and you are done.
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