Fix Windows Activation Error 0x80070005

Windows uses 2 types of keys for its activation, KMS or MAK. These keys should work without any issues since they are elevated with higher permissions but in some cases, they are by accident run without their proper permission, and then we have access denied error or error 0x80070005

To resolve this issue please first check if not by any chance your antivirus or firewall is preventing slmgr.bs file to access the right permissions, that being said if the previous solution is not working note that you have to be an administrator of the system or have administrator privileges. As an administrator, you will have to use Software Licencing Management Tool or short SLMGR.VBS, a VBS file in Windows used for its activation purposes.

As an administrator, open Command prompt with admin permissions and then run slmgr.vbs

This will make sure that activation goes through, make sure to use proper options like:

/ipk <ProductKey> or /ato [<Activation ID>]

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

Setting a default printer in Windows 10
Windows 10 is by far the most personalized Windows so far, most of its personalization comes from him learning our habits on computers and setting future experiences taking them into account. One of these things that Windows likes to set for us is also the default printer. The default printer is set as one which is most used but sometimes we do not want that, we might like to use another printer as default despite Windows choosing one for us. Never worry, setting default printer is easy and this guide will take you to step by step journey of how you can do it in 5 min on your personal computer. Let us begin: First thing is to click on the windows icon on the bottom left and open start menu, from start menu click once on settings. Windows 10 Star menu with marked settings iconWhen the settings window opens, choose DEVICES on it. Windows settings with marked devices sectionOnce the device window opens, click once on printers and scanners, and on the right window go to the bottom and uncheck Let windows manage my default printer. Windows settings for printerUnchecking that box will let Windows know that we do not wish anymore for him to set our default printers according to their use. Once the checkbox is clear go up to your printer list and click on the printer you wish to use as the default one. I will choose Microsoft Print to PDF as my default printer and click on it. Once the printer is clicked option menu will appear. Windows settings manage printerWhen the option menu appears under the printer name, click on Manage which will take you to the printer management screen. When you are on the manage screen, click on the Set as default button, and you are done. Windows settings printer setting
Read More
A Quick Guide to Fixing the Error 0x800ccc7d

0x800ccc7d - What is it?

0x800ccc7d is an SSL (Secure Sockets Layer) error message code that occurs in applications like Microsoft Outlook or Outlook Express. The error message is displayed as: ‘ unknown error 0x800ccc7d- secure sockets layer ’. Many offices use Microsoft Outlook for email communication and sending instant messages within the office. This is a highly functional application that enables users to interact with peers efficiently, manage contacts, journals, and reminders. However, the error 0x800ccc7d may hamper your ability to send and receive emails efficiently. Therefore it is advisable to repair it right away.

Solution

Restoro box imageError Causes

The error 0x800ccc7d is triggered by the following causes:
  • Damaged profile in Outlook
  • Incorrect email account settings
  • The Outlook installation is corrupt and damaged. This usually happens due to issues in hard disk storage.
  • The outgoing SMTP server does not support secure connections

Further Information and Manual Repair

If you come across 0800ccc7d error code while using Microsoft Outlook or Outlook Express, then don’t you worry! This problem can be easily resolved. In fact, it is so easy to repair that you can do it by yourself even if you are not a technical expert. Here are some ways to fix the 0800ccc7d SSL Outlook error:

Solution 1: Use Scanpst.exe

You may not know this but Microsoft offers an inbuilt Outlook Repair tool. This tool is technically known as Scanpst.exe. This tool is useful when you need to repair Basic header corruption. However, it may not be the best choice if the problem is big and complex.

Solution 2: Reset Your Outlook Settings

Sometimes this error message may occur when the STMP server requires authentication or does not recognize the senders' email addresses. In this scenario, you should check your Outlook settings to make sure that your STMP username and server are correct. For this follow this procedure:
  • Go to the Tools menu and then click on Accounts
  • Now click on your email account then check its properties
  • Click general and make sure that your email address is created in your account’s control panel. If not, then edit and create.
  • Next, click servers and see if the box next to the option that says My server requires authentication is checked or not. If not, then check it to resolve the error.

Solution 3: Disable any Anti-Virus

Another alternative to resolve this error is to disable any Anti-virus or Firewall you have installed on your PC. Once you disable it then try sending or receiving the email again. This usually works.

Solution 4: Download 0x800ccc7d Repair Tool

The fourth solution available to resolve this issue is by downloading the 0x800ccc7d repair tool. Though it is similar to Microsoft Outlook built-in scanpst.exe tool, but as compared to it the 0x800ccc7d repair tool is a highly functional tool. There are many 0x800ccc7d repair tools available but we recommend you to Restoro. This tool is a third-party tool that can deal, scan, and fix 0x800cc7d error in no time. What makes this repair tool an excellent choice is that it can repair all broken PST files and emails, recover Outlook items, retrieve deleted files, recover password-protected data, split files to recover oversize PST files, and more. To access and install the 0x800ccc7d repair tool all you need to do is download it here and install it on your PC. Now run it to scan errors. Once the errors are scanned, hit the repair tab to resolve. So, next time when you experience the error 0x800ccc7d, try using these solutions to fix the problem right away!
Read More
Fix Your PC can’t project to another screen
In case you don’t know, Windows 10 comes with a native ability to project to another screen, be it wireless or wired. All it takes to do that is by tapping the Win + P key combination to display options to manage the extended display. However, there are times when you might encounter errors when you do that like the “Your PC can’t project to another screen” error. This kind of error stops you from projecting your computer to the other screen. Here’s the full content of the error message:
“Your PC can’t project to another screen, Try reinstalling the driver or using a different video card.”
This error could be due to loosely connected hardware or the display adapter. It is also possible that a recent Windows Update has messed up its settings. To resolve this issue, you can try several suggestions that will be given in this post. You can try to check the hardware cable connections or run the Hardware and Devices troubleshooter. You could also update or reinstall the display adapters or replace the graphics card.

Option 1 – Try checking the hardware connections

The first thing you have to do before you further troubleshoot the problem is to check the hardware connections of your computer and see if there are damaged ones, just like with the ports as it would also affect the overall connectivity of the device with the computer. You also have to make sure that no pin is missing from the ports. So if you notice some irregularities in the connecting cable physically, you might have to buy another one and replace it and then see if it fixes the problem or not.

Option 2 – Run the Hardware and Devices Troubleshooters

  • The first thing you need to do is click on Start and then on the gear-like icon to pull up the window for Settings.
  • After opening Settings, look for the Update and Security option and select it.
  • From there, go to the Troubleshoot option located on the left-hand side of the list.
  • Next, select Hardware and Devices from the list and open the Troubleshooter and run it. Once it is doing its job, wait for it to complete the process and then restart the system.
  • After the system restarts, check if the problem’s now fixed. If not, refer to the next option given below.

Option 3 – Try to update or reinstall the display adapters

You might also want to update the drivers for Display adapters and Monitors or you might also have to update or reinstall your NVIDIA driver if you’re using one. To update or reinstall the display adapters, follow these steps:
  • Tap the Win + R keys to open the Run dialog box and then type in MSC and tap Enter or click OK to open the Device Manager.
  • Expand the section for Display Adapters.
  • And then select the Display Driver and right-click on it.
  • From the drop-down menu, select the Update Driver option and follow the on-screen instructions to install the latest version of the Display Driver.
  • Restart your PC after the installation.
If you find that updating the drivers does not help, you can try to reinstall them. How? Simply follow the steps below.
  • Tap the Win + X keys and select the Device Manager.
  • After that, look for the affected driver in the Device Manager window. And if you see a yellow exclamation mark beside it, right-click on it and select the option “Rollback” to roll back the driver.
  • And if the Rollback option is not available, just select Uninstall and then restart your PC.
  • Finally, open the Devices Manager once again and select the option “Scan for hardware changes” to install the driver.

Option 4 – Consider replacing the graphics card

You might also want to consider replacing the graphics card of your computer to resolve the problem if the options provided above didn’t work.
Read More
Fix The driver detected a controller error
One of the worst problems users can encounter on their computers is Blue Screen of Death errors as some of them are quite hard to fix. One of them is the “The driver detected a controller error” Blue Screen error. It could be followed by “DeviceIdeIdeport0 OR”, “on deviceharddisk0dr0”, or “DR3” or the name of the drive or port that’s causing the problem. If you are one of the users who encountered this error, then the suggestions provided in this post would definitely help you in fixing the problem.

Option 1 – Try to disconnect and reconnect all hardware and cables

A lot of users reported that they were able to fix the problem by disconnecting and reconnecting cables and hardware like scanners, printers, cameras can help in fixing the problem. In addition, you can also boot your computer in a Clean Boot State so that you can find the problematic hardware by hit and trial method. Refer to the steps below to do so:
  • 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.)

Option 2 – Update the device drivers

Updating the outdated device drivers in your computer can also help in fixing the problem. To do so, refer to these steps:
  • First, boot your computer into Safe Mode.
  • After that, tap the Win + R keys to launch Run.
  • Type in devmgmt.msc into the box and tap Enter or click OK to open the Device Manager.
  • After that, a list of device drivers will be displayed. From there, look for any outdated device drivers and click on each one of them.
  • After that, right-click on each entry of the device drivers and select the “Uninstall Device” option from the menu.
  • Now restart your computer.
  • After restarting your computer, go to the Settings app and Check for Updates in the Windows Update section.

Option 3 – Try to update the BIOS

Updating the BIOS can help you fix the ATTEMPTED_WRITE_TO_READONLY_MEMORY BSOD error but as you know, BIOS is a sensitive part of a computer. Even though it is a software component, the functioning of the hardware depends on it largely. Thus, you must be careful when modifying something in the BIOS. So if you don’t know much about it, it’s best if you skip on this option and try the other ones instead. However, if you are well-versed in navigating the BIOS, then follow the steps below.
  • Tap the Win + R keys to open the Run dialog box.
  • Next, type “msinfo32” in the field and press Enter to open System Information.
  • From there, you should find a search field on the bottom where you have to search for the BIOS version and then press Enter.
  • After that, you should see the developer and version of the BIOS installed on your PC.
  • Go to your manufacturer’s website and then download the latest version of BIOS on your computer.
  • If you are using a laptop, make sure that you keep it plugged in until you have updated the BIOS.
  • Now double click on the downloaded file and install the new BIOS version on your computer.
  • Now restart your computer to apply the changes made.

Option 4 – Try running the Blue Screen Troubleshooter

You might also want to run the Blue Screen troubleshooter. It is one of the built-in tools in Windows 10 that helps users in fixing system issues including Blue Screen errors. It can be found in 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.

Option 5 – Try running the Memory Diagnostic Tool

The Memory Diagnostic tool in windows can help resolve the “The driver detected a controller error” Blue Screen error by checking and automatically fixing any memory-based issues. To run it, refer to these steps:
  • Tap the Win + R keys to open Run and type mdsched.exe and hit Enter to open the Windows Memory Diagnostic Tool.
  • After that, it will give two options such as:
    • Restart now and check for problems (Recommended)
    • Check for problems the next time I start my computer
  • Once your computer has restarted, perform a basic scan or you could also go for the “Advanced” options such as “Test mix” or “Pass count”. Simply tap the F10 key to start the test.
Note: After you select your preferred option, your computer will restart and check for memory-based issues. If it finds any issues, it will automatically fix them and if there’s no issue found, then it’s most likely not a memory-based issue so you should try the other options given below.

Option 6 – Replace your motherboard

If your computer is still under warranty, you should consider replacing your computer’s motherboard in case the options given above failed to work in fixing the Blue Screen error.
Read More
Fix Windows errors 80240020, 8007002C, 80246007, 80070004
Upgrading your Windows 10 computer does not always go smoothly and you often encounter not just one but various errors so, in this post, we are going to cover several Windows 10 upgrade errors such as 80240020, 8007002C, 80246007, 80070004. All these upgrade errors are related to the Windows Update folder. Thus, you need to clear the Software Distribution folder, repair the System Image and fix System Health in order to resolve all these Windows 10 Upgrade errors. Before you get started on the steps to resolve these tons of errors, you have to disable your security program for the meantime, disconnect your peripherals, remove USBs connected to your PC and then make sure that your PC is connected to the main power supply. Once you have everything covered, carefully follow the options given below.

Option 1 – Delete Windows 10 Update Files in the SoftwareDistribution folder

The Software Distribution folder in the Windows operating system is a folder that can be found in the Windows directory and is used to store files temporarily which might be required to install the Windows Update on your PC. Thus, it is required by the Windows Update and maintained by WUAgent. A lot of users tried deleting the files in this folder to fix the problem and so far it has worked. Like them, you can try clearing the Windows Update cache by simply deleting the contents of the folder named “SoftwareDistribution” since Windows apparently can’t clear and re-download the update contents once they are corrupted. Thus, deleting the contents of this folder will make Windows download the contents again which will fix the problem. To do that, follow the steps below.
  • Open the WinX Menu.
  • From there, open Command Prompt as admin.
  • Then type in the following command – don’t forget to hit Enter right after typing each one of them.
net stop wuauserv net stop bits
  • After entering these commands, it will stop the Windows Update Service and the Background Intelligent Transfer Service.
  • Next, go to the C:\Windows\SoftwareDistribution folder and get rid of all the folders and files thereby tapping the Ctrl + A keys to select them all and then click on Delete. Note that if the files are in use, you won’t be able to delete them.
  • Once all the contents in the Software Distribution folder are deleted, restart your PC and then go back to Command Prompt and input the following commands again.
net start wuauserv net start bits
Since the folder has already been flushed, it will be populated afresh the instant your restart your computer and open Windows Update.
  • Now Open Settings and check for Windows Updates. Windows 10 should begin the download right away.

Option 2 – Try using 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 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.
Note: If it happens that the Windows Update client is broken, you need to run the following command to repair it then restart your PC and click on Update once again.
DISM.exe /Online /Cleanup-Image /RestoreHealth /Source:C:RepairSourceWindows /LimitAccess
Note: The Windows Upgrade error, with error code 80240020 is an expected error message that happens when the upgrade requires customer user action. Thus, you need to do the following steps to resolve this particular Windows Upgrade error.
  • Tap the Win + R keys to open the Run dialog box.
  • Then type “regedit” in the field and hit Enter to open the Registry Editor.
  • After that, navigate to this registry key: HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionWindowsUpdate
  • Now right click on WindowsUpdate located in the left pane and then create a new key and name it as “OSUpgrade
  • Next, right-click in an empty space in the left pane and create a new DWORD and name it “AllowOSUpgrade” and enter “1” as its value.

Option 3 – Try running the Windows Update in a Clean Boot State.

Putting your PC in a Clean Boot state can also help you install Windows Updates or Upgrades without any trouble because, during this state, you can start the system with a minimum number of drivers and startup programs that will surely help you in isolating the root cause of the issue.
  • 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” checkbox 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” checkbox.
  • 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.)
  • After that, try to install the Windows Updates or upgrade again.
Read More
A Quick Guide to Resolving Error 1713

Error 1713 - What is it?

If you use Microsoft-developed programs, then you might experience this error code on your PC. It indicates programming limitations. This error, Error 1713 may pop up during the installation of 2007 or 2010 Microsoft Office Suite. The error message appears in the format stated below:
“Error 1713: Microsoft Office has encountered a problem and needs to close. We are sorry for the inconvenience.”
Common symptoms for error 1713 include system crashes, system freeze and sometimes you may feel your Windows running sluggishly.

Solution

Restoro box imageError Causes

Error 1713 may be triggered due to many reasons. However, common causes for this error occurrence include:
  • Corrupt Microsoft Office Software
  • Corrupt Windows Registry
  • Malware
  • Deleted Microsoft Office Related Files

Further Information and Manual Repair

No matter, what the cause of this error is, it is advisable to resolve it immediately without any delays. This error may pose serious threats to your PC is not repaired timely and also cause you a great deal of inconvenience limiting you from using Microsoft software programs. Here are some of the best and easy DIY methods that you can try to resolve this issue. To work around these methods you don’t have to be a technical whiz or a computer programmer. Let’s get started:

Method 1 - Use System Restore to Undo Changes Made Recently

During any program deletion, you may have accidentally deleted Microsoft related files because of which you may be experiencing error 1713 on your PC. In such an event, the best way to resolve is to undo recent system changes. To do this, use Windows System Restore Utility. This is inbuilt in Windows. To access System Restore Utility, simply press start and type System Restore in the search box and press enter. Now follow the steps in the Wizard to choose a restore point. Once you select, reboot your PC to activate changes.

Method 2 - Update Drivers

One of the many causes of error 1713 is hardware failure. Hardware failure indicates driver issues. To resolve the problem it is advisable to delete the outdated drivers and update new versions on your PC.

Method 3 - Scan for Malware

Malware can also trigger such error codes on your system and corrupt important files. Therefore remove malware immediately from your PC by running an antivirus. Antivirus will detect and delete all malicious programs in no time.

Method 4 - Repair the Registry

Broken entries, junk files, and invalid registry keys corrupt the registry thereby generating error codes. To resolve you first need to clean the registry and repair it. For this download Restoro. It is a PC Fixer deployed with a registry cleaner. The registry cleaner removes all bad entries stored in the registry, cleans it and repairs the damaged files in just a few clicks. Click here to download Restoro.
Read More
How to Fix Sndvol32.exe Error

What Is Sndvol32.exe Error?

Sndvol32.exe is actually an important part of the Windows operating system. Responsible for managing the sound-card volume and running programs properly, the problem occurs when error messages appear. The user will be unable to listen to music on the system. Usually, Windows XP users encounter the Sndvol32.exe error.

Solution

Restoro box imageError Causes

Sndvol32.exe error can be caused by any one or several of the reasons listed below.
  • Accidental deletion of the DLL file from the system
  • Damage to the DLL file due to spyware or virus infection
  • Improper removal of software
  • Unintentional overwriting on the DLL file by a mismatched version
  • Obsolete hardware drivers
  • Several obsolete/invalid registry entries
  • Corrupt registry entries
Regardless of what triggers the Sndvol32.exe error, it is of utmost importance to take immediate measures to fix the problem and to keep it from occurring again.

Further Information and Manual Repair

If you are looking for ways to fix this error manually, the Windows functionality of System Restore will come into play in this particular scenario. In case the error is caused by a damaged or corrupt file, performing System Restore is an ideal choice as it will allow you to not only get a fresh copy of the operating system, it will be possible for you to remove the error at the same time as well. The procedure for performing System Restore is outlined below as follows.
  • Click on the Start menu and type ‘System Restore’ in the search box.
  • When the icon for ‘System Restore’ appears, click on it.
  • Now type ‘Restore’ in the search box that appears on the start menu.
  • The window for the System Restore center will now appear.
  • Now you have two options. You can either opt for “Recommend Restore” which is the case where the system itself will choose a restore point for you or you can select “Choose a different restore point”. Users are advised to choose the latter option as it is more customizable.
  • Users can now select from a list of restore points that have been created before. If you observe closely, you will realize that one of the restore points is prior to the occurrence of the Sndvol32.exe error.
  • Click on the restore point. Once you have confirmed your selection, your system will restart and it will roll back to its previously selected restore point.
One recommendation is to perform the system restore in Windows Safe Mode. This is just to ensure that the System Restore is performed smoothly and any potential problems are kept at bay.
Read More
How to Resolve Error Code 0xd0000272 in Windows 10

Error Code 0xd0000272 – What is it?

Error code 0xd0000272 is an activation error code that occurs when Windows users are unable to activate their Windows operating system. This error code features common symptoms which include the following:

  • Inability to activate Windows 10 operating system
  • Message box with error code 0xd0000272

Solution

Restoro box imageError Causes

When error code 0xd0000272 occurs in Windows 10, it is usually due to issues related to the Windows activation servers. In such a case where the error code occurs due to an activation server that is temporarily unavailable, users may need to wait for a few hours until the activation server is available. Their copy of Windows will then be automatically activated. Once the activation process is not done accordingly, you might encounter other Windows 10 errors such as error code 0xc004f034

Further Information and Manual Repair

As is the case with many activation error codes, Windows 10 users can perform several manual repair methods to determine the cause as well as fix the error code affecting their device. Instead of passively waiting to see if your activation error code will be fixed on its own, resolve error code 0xd0000272 through the manual repair methods available. Below are simple instructions that when followed can lead to your success.

Method One: Verify Internet Connection

Check Settings to verify if your machine is connected to the Internet. This is one of the causes of various error codes which affect Windows 10. Also, this manual method is a simple process that can help Windows users recognize or eliminate factors that may or may not be affecting their system. To check your Internet connection, follow the simple instructions below.

  • Step one: Click the Start button and select Settings
  • Step two: Select Network & Internet
  • Step three: Click the Status section of the Network & Internet tab

Once you’ve been able to verify an Internet connection or troubleshoot any issues related to your network, go to Update & security. Make an attempt to activate your system. If you are successful, you will be able to access all the features and benefits offered via your copy of Windows. However, move to the next manual method below if error code 0xd0000272 reoccurs.

Method Two: Run Windows Update Troubleshooter

Your inability to activate Windows 10 may be related to an issue with Windows Update. To verify whether or not Windows Update is functioning properly, run Windows Update Troubleshooter.

You’ll need to visit the Microsoft website to access their Windows Update Troubleshoot tool. Once you’ve downloaded the troubleshooter, run the tool. After running the tool, check if you are able to access Windows Update services as well as activate Windows 10.  If the problem with error code 0xd0000272 persists, however, follow the instructions provided for manual repair method three detailed below.

Method Three: Disable Proxy Settings

Another option available to individuals experiencing error code 0xd0000272 in Windows 10 is to manually disable their machine’s proxy settings. After disabling the proxy settings, remember to open the Windows Update tab to complete the activation process. See the instructions provided below to disable proxy settings.

  • Step one: Press Windows key + R
  • Step two: Type control then click OK
  • Step three: Select Settings then go to Network & Internet
  • Step four: View connection settings
  • Step five: Click on the Network tab
  • Step six: Click Proxy -- turn off proxy

Once you have successfully disabled your proxy settings, open Windows Update. Select the activation option to access your copy of Windows 10. If you are unable to complete the activation process, however, contact a Windows repair technician.

Method Four: Use an Automated Tool

Error codes in Windows often occur due to poor maintenance of one’s PC. To improve your system and reduce your machine’s risk of experiencing error codes, download a powerful automated tool. This tool is both powerful and user-friendly, making its benefits accessible to even the most non-technical Windows users.
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
Copy and Paste feature is not working
One of the most basic and commonly used features in the Windows operating system is the copy and paste feature that helps users accomplish tasks in a faster and easier way. However, if you notice that it’s not working properly for some reason, then this post might be of help as it will provide you with options you can check out to resolve the problem. You can encounter this kind of problem with the copy and paste feature if some system files are corrupted or if there’s some third-party application or process that interferes with this function. Worry not though for there are some options you can check out to fix this. You can try to restart the rdpclip.exe process or the explorer.exe process. You could also try to reinstall the program where you encountered the issue with the Copy and Paste function. In addition, you could try clearing the clipboard history or run the built-in tools like the DISM tool and SFC scan. You could also troubleshoot the problem in a Clean Boot State or use the Refresh Windows tool. For more information, refer to each one of the options below.

Option 1 – Try to restart the rdpclip.exe and the explorer.exe processes

The first thing you can do to resolve the problem is to restart certain processes namely, the rdpclip.exe process and the explorer.exe process via Task Manager.
  • First, right-click on your Taskbar and select the Task Manager.
  • Next, look for the rdpclip.exe process and right-click on it, and select the End process option.
  • After that, click on the File tab > Run new task and then type “rdpclip.exe” and tap Enter.
  • This should help fix the problem. If not, you could also try to restart the explorer.exe process – just look for the explorer.exe process in the Task Manager and right-click on it, and then select the Restart option.

Option 2 – Try reinstalling the concerned program

If you only experience this issue on a particular program, you might want to uninstall this program and install it back again, and then see if it fixed the problem or not.

Option 3 – Try to clear the clipboard history

You could also try clearing the clipboard history as it has been known to help in fixing this kind of issue. You can clear the clipboard history using the command line.
  • Tap the Win + R keys to launch the Run dialog box and type “cmd” in the field and hit Enter to open Command Prompt.
  • Next, execute this command: echo off | clip
  • After that, check if the Copy and Paste function is now working properly or not.

Option 4 – Try running the DISM tool

You can run the DISM tool as well to help fix the “Tile Database is corrupt” error. 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
    • DISM.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.
  • Once it’s done, check if it was able to fix the corrupted Start Menu or not.

Option 5 – Try to run System File Checker or SFC scan

  • Tap Win + R to launch Run.
  • Type in cmd in the field and tap Enter.
  • After opening Command Prompt, type in sfc /scannow and hit Enter.
  • Once done, restart your computer.

Option 6 – Restart your computer in a Clean Boot State

If a third party program like antivirus is the one that’s causing the problem, you can try to put your computer in a Clean Boot State to isolate the issue by following these steps:
  • 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.)
  • Now try to connect your device or copy the files to your external device again and check if the problem with the Copy and Paste function is fixed.
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