Logo

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.

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 Enable Last Active Click feature
Microsoft has started to use group along with every open window in the Taskbar ever since the release of Windows 10. Early on, they used to show an individual entry for each one of the windows after grouping them which makes the taskbar look cleaner and organized. However, the main issue lies in the fact that you have to hover on your desired window to get on to them. At the time of writing, you need to tap the Ctrl key and click on the taskbar icon to open the last active window but you have to only click on the program’s taskbar icon after you apply the tweak given in this post for the last active window to open. Take note that the “Last Active” windows feature will only work if the taskbar buttons are combined. Before you get started doing the instructions given below, you need to create a System Restore Point first since you will be dealing with registry files and modifying some of the critical settings in Windows 10. Once you’ve done this, proceed to the given steps below. Step 1: Tap the Win + R keys to open the Run dialog box and then type “Regedit” in the field and hit Enter to open the Registry Editor. Step 2: If a User Account Control or UAC prompt appears, just click on Yes to proceed to open the Registry Editor. Step 3: Next, navigate to the following registry path:
HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerAdvanced
Step 4: From there, right-click on the right side of the panel and select New > DWORD (32-bit) and then name it “LastActiveClick”. Step 5: After that, double click on the newly created DWORd to modify its value. Put “1” as its value data. Step 6: Then click OK and close the Registry Editor. Step 7: Now restart your computer to successfully apply the changes made. Note: In case you want to revert back to the default configuration, all you have to do is set the value data of LastActiveClick to “0” or simply delete that DWORD and restart your computer to successfully apply the changes made.
Read More
How to change system font in Windows 11

Windows 11 is a good-looking operating system but people love to make things personal and to their liking so we decided to help you in this mission with small customization of changing default system fonts inside Windows 11.

Since there is no really easy way to just switch the font windows is using for itself we will have to tweak a registry a little so before we start please do make a backup of the registry file and follow the steps as they are presented in order to avoid any errors and break the system.

windows 11 transparency off

So, if all precautions are made and you are ready to change your Windows appearance let's dive right into it:

Find and/or install the font that you wish to use

There are vast free font sites on the internet where you can find fonts that you like and wish to use but be very careful with your desired font selection. The font that you choose needs to be a complete typeface, meaning that it has to contain all glyphs, large and small font sizes, all special characters, etc or you will experience that in certain areas nothing will be displayed.

Once you have found the font that you like and made sure it is a complete font, install it on your system (you can skip this step if you just want to change the system font with one already installed on your system)

Create REG file

Open notepad or a similar plain text editor in order to create a file that will apply changes directly into the registry and create a new file. Inside the file paste this text:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts]
"Segoe UI (TrueType)"=""
"Segoe UI Bold (TrueType)"=""
"Segoe UI Bold Italic (TrueType)"=""
"Segoe UI Italic (TrueType)"=""
"Segoe UI Light (TrueType)"=""
"Segoe UI Semibold (TrueType)"=""
"Segoe UI Symbol (TrueType)"=""

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontSubstitutes]

"Segoe UI"="NEW-FONT"

All the way to the bottom where it says: "Segoe UI"="NEW-FONT", change NEW-FONT with the font name that you have chosen or installed in the previous step. For example: "Segoe UI"="Ubuntu".

Now go to File > Save As and name your file however you want but give it REG extension so it looks like: my_new_windows_font.REG

Apply changes

Now that you have your registry entry saved, locate it and double-click on it, at this stage Windows warning will probably pop up, you can just ignore it and click on YES since you wrote the file and know what it is. After registry entry is applied reboot your PC in order for changes to take effect.

Rolling back

If you want to change the font to another one, just repeat this procedure again. If you want to roll back to using the default Windows font, repeat the process but with this code instead of the one provided in the REG file:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts]
"Segoe UI (TrueType)"="segoeui.ttf"
"Segoe UI Black (TrueType)"="seguibl.ttf"
"Segoe UI Black Italic (TrueType)"="seguibli.ttf"
"Segoe UI Bold (TrueType)"="segoeuib.ttf"
"Segoe UI Bold Italic (TrueType)"="segoeuiz.ttf"
"Segoe UI Emoji (TrueType)"="seguiemj.ttf"
"Segoe UI Historic (TrueType)"="seguihis.ttf"
"Segoe UI Italic (TrueType)"="segoeuii.ttf"
"Segoe UI Light (TrueType)"="segoeuil.ttf"
"Segoe UI Light Italic (TrueType)"="seguili.ttf"
"Segoe UI Semibold (TrueType)"="seguisb.ttf"
"Segoe UI Semibold Italic (TrueType)"="seguisbi.ttf"
"Segoe UI Semilight (TrueType)"="segoeuisl.ttf"
"Segoe UI Semilight Italic (TrueType)"="seguisli.ttf"
"Segoe UI Symbol (TrueType)"="seguisym.ttf"
"Segoe MDL2 Assets (TrueType)"="segmdl2.ttf"
"Segoe Print (TrueType)"="segoepr.ttf"
"Segoe Print Bold (TrueType)"="segoeprb.ttf"
"Segoe Script (TrueType)"="segoesc.ttf"
"Segoe Script Bold (TrueType)"="segoescb.ttf"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontSubstitutes]
"Segoe UI"=-
Read More
Add names of applications in the taskbar
Microsoft is trying to make Windows into a personalized OS, more and more features and parts can be customized to user liking. From larger things to smaller ones nowadays you can almost personalize every detail of Windows itself. In this article, we will tackle how to bring back the names of running applications on the taskbar. Placing names beside icons on the taskbar is a pretty simple and straightforward task easily done. First, right-click the Taskbar and select Taskbar settings. In Taskbar settings, click the menu labeled Combine taskbar buttons. Select Never. That's it, now all of your running applications have a name beside them. If you change your mind, you can always undo it by selecting Always hide labels in the Combine taskbar buttons menu.
Read More
How to Remove MovieGoat - Malware Removal Guide

MovieGoat is a browser extension that allegedly lets you search for your favorite videos using its simple search engine. From the author:

Search for your favorite movies online, stay updated with the latest news and trends, and keep an eye on what’s up and coming in the world of cinema.

Simply type goat+ SpaceTab + query at the chrome search bar.
MovieGoat hijacks your browser, replacing your default search engine, displaying sponsored videos when you use its search and will display pop-up ads during your browsing experience. This extension has been detected as a Browser Hijacker by several anti-virus scanners and is not recommended to keep on your computer, especially because it serves no other purpose than to display pop-up ads and negatively impact your browsing experience.

About Browser Hijackers

Browser hijack is a common type of internet fraud where your internet browser configuration settings are modified to make it carry out things you never intend. There are numerous reasons why you may have an internet browser hijack; however commercial, advertising, and marketing are definitely the primary reasons for their creation. Usually, hijackers are made for the benefit of cyber hackers usually through income generation from forced ad clicks and site visits. Most people assume that these types of websites are legitimate and harmless but that is incorrect. Almost every browser hijacker poses an actual threat to your online safety and it’s important to categorize them under privacy risks. Some browser hijackers are designed to make particular modifications beyond the web browsers, like altering entries on the system registry and permitting other types of malware to further damage your PC.

How you can recognize a browser hijack

When your browser is hijacked, the following could happen: your homepage has been reset to some unfamiliar webpage; you find yourself regularly directed to some other site than the one you meant; The default search page of web browser is altered; you are finding new toolbars you have never witnessed before; you’ll notice random pop-ups start showing regularly; websites load very slowly and sometimes incomplete; Inability to navigate to particular websites, particularly anti-malware as well as other computer security software websites.

How it infects your computer

Browser hijackers can get into a computer in some way or other, for example via downloads, file sharing, and email too. They may also be deployed through the installation of a web browser toolbar, add-on, or extension. A browser hijacker can also come bundled up with some freeware which you unwittingly download and install the browser hijack, compromising your computer security. A good example of some infamous browser hijackers includes Anyprotect, Conduit, Babylon, SweetPage, DefaultTab, Delta Search, and RocketTab, however, the names are constantly changing. Browser hijacking can bring about severe privacy problems and even identity theft, affect your browsing experience by taking control over outbound traffic, substantially slows down your computer by consuming lots of resources, and cause system instability also.

Removal

One thing you could try to eliminate a browser hijacker is to locate the malicious software within the “Add or Remove Programs” list of the Windows Control Panel. It might or might not be there. If it is, uninstall it. But, most browser hijackers are hard to eliminate manually. Irrespective of how much you attempt to get rid of it, it could come back again and again. On top of that, manual removal demands you to carry out several time-consuming and complicated procedures which are very hard to complete for new computer users.

What you can do if Virus Prevents You From Downloading Or Installing Antivirus?

Malware can cause all sorts of damage if they invade your PC, ranging from stealing your personal information to erasing files on your computer. Some malware is created to restrict or block things that you want to do on your PC. It may not allow you to download anything from the net or it will prevent you from accessing a few or all of the internet sites, particularly the antivirus sites. If you’re reading this article, odds are you’re stuck with a virus infection that is preventing you to download or install Safebytes Anti-Malware software on your computer system. There are a few solutions you can attempt to get around with this particular obstacle.

Boot your computer in Safe Mode

If the malware is set to load automatically when Microsoft Windows starts, entering safe mode could block this attempt. Just the minimum required applications and services are loaded whenever you boot your computer or laptop in Safe Mode. Here are the steps you need to follow to boot into the Safe Mode of your Windows XP, Vista, or 7 computers (visit Microsoft site for directions on Windows 8 and 10 PCs). 1) At power on, hit the F8 key before the Windows splash screen begins to load. This would conjure up the Advanced Boot Options menu. 2) Select Safe Mode with Networking using arrow keys and hit Enter. 3) Once you get into this mode, you will have internet access once again. Now, obtain the malware removal program you want by using the internet browser. To install the software, follow the directions in the installation wizard. 4) Following installation, do a complete scan and allow the program to remove the threats it detects.

Use an alternate web browser to download security software

Malicious code could exploit vulnerabilities in a particular browser and block access to all antivirus software websites. If you are not able to download the anti-virus software program using Internet Explorer, it means malware may be targeting IE’s vulnerabilities. Here, you need to switch over to another web browser such as Chrome or Firefox to download Safebytes Anti-malware software.

Install and run anti-malware from a USB drive

Here’s yet another solution which is utilizing a portable USB antivirus software package that can check your computer for viruses without the need for installation. Follow these steps to use a USB flash drive to clean your corrupted computer system. 1) Download Safebytes Anti-Malware or Windows Defender Offline onto a clean PC. 2) Insert the USB drive into the clean computer. 3) Double-click the exe file to run the installation wizard. 4) When asked, choose the location of the USB drive as the place in which you would like to store the software files. Follow the on-screen instructions to complete the installation. 5) Disconnect the flash drive. You can now utilize this portable anti-malware on the affected computer system. 6) Double-click the antivirus program EXE file on the USB flash drive. 7) Hit the “Scan” button to run a full computer scan and remove viruses automatically.

Protect your PC from Malware With SafeBytes Security Suite

If you are looking to install anti-malware software for your computer, there are plenty of tools on the market to consider nonetheless, you should not trust blindly anyone, no matter whether it is a paid or free software. A few are good ones, some are ok types, and some are simply just bogus anti-malware applications that can damage your personal computer themselves! You need to pick one that is efficient, practical, and has a strong reputation for its malware protection. On the list of strongly recommended software by industry analysts is SafeBytes Anti-Malware, the safest program for Microsoft Windows. SafeBytes anti-malware is a trusted software that not only secures your computer permanently but is also very user-friendly for people of all ability levels. With its outstanding protection system, this tool will automatically detect and remove most of the security threats, including browser hijackers, viruses, adware, ransomware, PUPs, and trojans. SafeBytes possesses a plethora of amazing features that can help you protect your PC from malware attack and damage. Here are a few of the best ones: Most effective AntiMalware Protection: Using its enhanced and sophisticated algorithm, this malware removal tool can identify and eliminate the malware threats hiding within your computer system effectively. Active Protection: Malware programs trying to get into the system are identified and stopped as and when detected by the SafeBytes active protection shields. It will constantly monitor your laptop or computer for hacker activity and also gives users advanced firewall protection. Web Protection: SafeBytes checks and provides a unique safety rating to every single website you visit and block access to web pages considered to be phishing sites, thus safeguarding you against identity theft, or known to contain malware. High-Speed Malware Scanning Engine: This tool has got one of the fastest and most efficient virus scanning engines in the industry. The scans are very accurate and take a little time to complete. Lowest CPU and Memory Usage: SafeBytes is a lightweight tool. It consumes a very small amount of processing power as it operates in the background so you are free to use your Windows-based PC the way you really want. 24/7 Online Support: For any technical queries or product support, you can get 24/7 expert assistance through chat and e-mail.

Technical Details and Manual Removal (Advanced Users)

If you wish to manually remove MovieGoat without the use of an automated tool, it may be possible to do so by removing the program from the Windows Add/Remove Programs menu, or in cases of browser extensions, going to the browsers AddOn/Extension manager and removing it. You will likely also want to reset your browser. To ensure the complete removal, manually check your hard drive and registry for all of the following and remove or reset the values accordingly. Please note that this is for advanced users only and may be difficult, with incorrect file removal causing additional PC errors. In addition, some malware is capable of replicating or preventing deletion. Doing this in Safe Mode is advised.

The following files, folders, and registry entries are created or modified by MovieGoat

Files: %Documents and Settings%All UsersApplication DataMovie Goat virus %program files %internet explorer Movie Goat[random].mof %program files (x86)%common filesspeechengines %programData%suspicious folders %windows%system32drivermessy code.dll %AppData%[malware program name]toolbar uninstallStatIE.dat %app data% Movie Goat virus Registry: [HKEY_LOCAL_MACHINESOFTWAREMicrosoftMATSWindowsInstallerEAF386F0-7205-40F2-8DA6-1BABEEFCBE8914.07.30.07.52.18]”ProductName”=”Movie Goat” [HKEY_LOCAL_MACHINESOFTWAREWow6432NodeMicrosoftTracingMuvic_RASAPI32] [HKEY_LOCAL_MACHINESOFTWAREWow6432NodeMicrosoftTracingMuvic_RASMANCS] [HKEY_LOCAL_MACHINESOFTWAREWow6432NodeMicrosoftWindowsCurrentVersionUninstallEAF386F0-7205-40F2-8DA6-1BABEEFCBE89] “DisplayName”=”Movie Goat” [HKEY_USERSS-1-5-21-3825580999-3780825030-779906692-1001SoftwareMicrosoftWindowsCurrentVersionUninstall50f25211-852e-4d10-b6f5-50b1338a9271] “DisplayName”=”Movie Goat”
Read More
Automatically backup files & folders
If you are a person which spends a lot of time in front of the computer doing work, then you are aware of the importance of having a proper backup of your archive so if anything bad happens you will lose almost none of the work. We can never tell when we might experience HDD failures or when we might be a victim of cyber attacks, natural disasters,s and other unpredictable circumstances where we could lose all of our data in a matter of minutes. Having a backup of our data is very important but sometimes we are too busy or not around and we miss that data backup we wanted to do, and if in this case disaster strikes we are out of luck and data is lost. To avoid such circumstances, you can set up automatic Windows Backups at a scheduled time. This way it will help to have the loss of important files and documents from unexpected hazards. in order to create automatic backups of your files, you have several options, and below we will explore each one in hopes that you will find one that best suits your needs.
  1. Create automatic file backup with OneDrive

    This is probably the best way to do it because each time when you sign in OneDrive files get backed up right away, files are stored in the cloud and can be accessed on any device via a Microsoft account. To get started, open the Settings app first. Click on the Update & Security category Select the Backup tab from the left pane. Move to the right page and click on the Back up files button that is available under Back up files to OneDrive. Select the folders you want to backup in the cloud, and remove those ones you don’t want to backup. On the next page, click the Start backup button to start the procedure.
  2. Create a backup using File History

    File History is an inbuilt feature that allows users to create automatic file backup on Windows 10. File History allows the users to back up their files in an external or cloud drive at different intervals of time. To create automatic file backup using File History: Press the ⊞ WINDOWS + I to open the Settings app. Click on the Update & Security category and then select the Backup tab from the left pane. Under the Back up using File History section, click on Add a drive button. Now choose the drive to store the backup files. Windows will use this drive for File History. Then turn on the toggle button under Automatically back up my files. This will back up your data to the drive automatically whenever you connect it to the system. Below the toggle button, click on the “More options” link to set how frequently File History will back up. Use the Keep my backups drop-down menu to get the option to configure the time for how long you want to keep your backups. By default, it will keep your backups forever. Under the section Back up these folders, tap on the Add a folder button in order to add one more folder to the backup. Then click on the Add a folder button, under Exclude these folders. This will exclude the files that you don’t want to back up. You can stop the drive from storing backup files to change the backup storage location. To do this, click the Stop using drive option under the Back up to a different drive category.
  3. Backup using Windows backup & restore tool

    Open Control Panel Click on the System and Security option Scroll down and select the Backup and Restore (Windows 7) button Next click on the Set up backup button, available under the Back up or restore your files section Under the Save backup on section, select the Backup Destination where you want your backup files to get stored On the “Set up backup” page, Windows will ask you to choose the way to backup, check Let me choose checkbox, and then hit the Next button Under the section Computer, select the files and folders you want to backup. Then uncheck the box next to the Include a system image of drives option, and then hit the Next button Now click on the Change schedule link. Set the time and check the box beside Run backup on a schedule button Click OK then select the Save settings and run backup option
Read More
How to Repair Error Code 31

What is Error Code 31?

Device Manager Error Code 31 pops up when Windows prevents the driver for a particular hardware device from loading. The error code 31 is almost always presented in the following format:

“This device is not working properly because Windows cannot load the drivers required for this device.” Code 31

This error can occur with any hardware device; however, in most cases, it occurs with Ethernet cards. The good news is that it belongs in the easy-to-resolve category. So repairing it should not be difficult.

Solution

driverfix boxError Causes

Error code 31 is related to driver problems, and the most common causes include:
  • Outdated drivers
  • Missing drivers
  • Mis-configured drivers
  • Corrupt drivers

Further Information and Manual Repair

To resolve error code 31 on your system, try the methods given below. We have listed down some of the most effective and easy-to-perform DIY methods for fixing Device Manager code 31 on your PC.

Method 1 - Rollback the Driver to its Previous State

This simply means to return the driver back to its previous state - to the version last installed. Try this method to resolve error code 31. This is probably the easiest way to return your PC to its previous working state.

However, by doing so, you will not be able to update your drivers and run new driver versions on your system. In other words, this is a temporary method to fix this issue.

You may still want to try other methods given below to ensure you have the latest drivers installed on your system.

You can roll back the driver to its previous version by accessing the Driver Rollback feature located in the driver settings within the Device Manager. Or another way to perform a rollback is to use the Windows System Restore Utility.

It is a recovery tool built-in the new Windows versions. To access it, simply go to the start menu and type System Restore Utility in the search menu.

Access it and pick a point in the past, also referred to as the restore point, to return your PC to its previous state before the error code 31 occurred.

However, to resolve the problem permanently, try method 2.

Method 2 - Update the Driver

Error code 31, as discussed above, may occur due to outdated, misconfigured, or corrupted drivers. Whatever the reason may be, to ensure the proper functioning of your hardware device, it is important to update the drivers on your system frequently.

To start driver updates, first, it is important to find out and identify problematic drivers. You need to identify the drivers that are corrupt, misconfigured, and outdated. For this, go to the Device Manager and then look for devices with yellow exclamation marks.

The yellow exclamation marks next to the devices show that these device drivers are problematic. Once you’ve identified the problematic drivers, simply update them by finding the latest and compatible versions on the manufacturer’s website.

This process is time-consuming and can be frustrating at times, especially when doing it for the first time.

Also, once you’ve updated the drivers, you need to update them from time to time to ensure they don’t get outdated, or else you will have to encounter Device Manager error codes again.

Method 3 - Download DriverFIX to Update Drivers Automatically

To avoid the hassle and stress involved in updating drivers manually, it is advisable to download and install DriverFIX.

DriverFIX is a smart, innovative, and feature-filled software embedded with an intelligent algorithm that quickly detects problematic drivers, matches them with the latest and compatible versions, and updates them immediately and automatically in just a few seconds and a couple of clicks.

It’s as simple as it can be. Furthermore, with this software installed on your PC, you don’t have to stress and worry about when your drivers need to be updated again.

DriverFIX ensures all drivers are continuously and regularly updated before they become outdated.

Click here to download DriverFIX to repair Device Manager error code 31 and update drivers automatically and regularly.

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
Resolve Windows Update Not enough disk space
If you are trying to update your Windows 10 computer but are not able to do so since your computer is running low on storage then this obviously indicates that there is not enough disk space available on your drive where Windows 10 has been installed. As you know, when Windows 10 downloads the update packages, it extracts them in a separate folder which means that there should be enough space on that particular folder for the update to begin with. Windows do not really check systems for any adequate space requirements before it even initializes the update or upgrades and you only get to know about it right when the update process starts. On Windows 10 thin clients or the ones with embedded systems that have limited storage space, when Windows Update runs, the update initialization may fail because as pointed out, Windows does not check systems for adequate space requirements so you may have to do the work for them by making sure that your disk has enough space available. Here are some suggestions you can follow to resolve Windows 10 update issues on computers with low storage space.

Option 1 – Delete the files from the Download folder

Since you are going to delete everything manually, you need to create a backup for all your important files which you may have placed in the Download folder. After you create backup copies of important files, delete the files from this folder or you could simply tap the Shift + Del keys to remove the files permanently after you selected them all.

Option 2 – Change the Windows Update Folder location

You might have to change the Windows Update folder location where Windows download all the files need to update the operating system if you cannot really create some space on your primary driver. So all you have to do is set the drive with enough space available for the update to be completed.

Option 3 – Uninstall apps and programs you no longer use

In some cases, apps and programs take up a lot of space on your drive. So if there are programs or apps that you no longer use, you can uninstall them to save storage space. To do so, follow these steps:
  • In the search box, type in “control” and then click on Control Panel (desktop app) among the search results.
  • After that, select Programs and Features from the list which will give you a list of all the programs installed on your computer.
  • From there, look for the apps and programs that you no longer use and right-click on each one of them and click on Uninstall.

Option 4 – Move files to another drive

This is another thing you can try. You can move files, especially the ones with large sizes, to another drive to make up space on your drive. After that, install the updates once again.

Option 5 – Reduce on-drive files from Cloud services

If you are using tons of cloud backup services such as OneDrive and Dropbox, you might want to consider reducing the number of files you have on those cloud backup services. You can do what you’ve done on option number three and have those files moved to another drive to free up storage space.

Option 6 – Empty the contents in Recycle Bin

As you know, the files that are deleted from your computer goes to the Recycle Bin first. So if you have not emptied Recycle Bin for a long time now, the files you delete are still actually taking up space on your drive. Thus, you need to empty the contents in the Recycle Bin to save storage space.

Option 7 – Clean up temporary files

You can use the Windows 10 Storage Sense feature which can clean all the temporary files from your computer. To use Storage Sense, follow the steps below.
  • Open Setting > System > Storage from the WinX Menu.
  • From there, you will see a list of all the local and connected storage devices along with the details on the free space.
  • Now make sure that the Storage Sense feature is turned On then go find a link that says “Free Up Space” and click it to open.
  • After that, a screen which is the built-in program in Windows 10 will appear and will scan your computer for the following junk files so you can free up disk space:
  • Windows Upgrade Log Files
  • System created Windows Error Reporting Files
  • Thumbnails
  • Temporary Internet Files
  • Previous Windows Installation Files
  • Delivery Optimisation Files
  • DirectX Shader Cache
Choose the files you want to get rid of and then click on the remove files option. Note that you’ll have an idea of the total size as you select any of the junk files listed above.
Read More
Fix A breakpoint has been reached, 0x80000003
If you suddenly encounter Error 0x80000003 while trying to execute a random file then read on as this post will show you how you can fix such an error. Obviously, it mostly happens on executable files or .exe files and is most likely caused by the conflict in the execution of some registry files or it could also be caused by missing drivers or it could also be due to some incompatible hardware which is why you’re unable to run the executable file. When you encounter this error, you will see the following error message on your screen:
“The exception Breakpoint, A breakpoint has been reached, (0x80000003) occurred in the application.”
As you can tell, the Windows Executive STATUS message is a warning and if you are given an option, you must select one of the options from the message box. So if you are running the application in an end-user environment rather than in a development environment, you must contact the supplier of the running application regarding this error message since this shouldn’t be happening when a finished program is running. Before you get started executing the troubleshooting guide given below, make sure that you create a System Restore Point first since you will be dealing with some critical settings in Windows. Having done this, proceed to the options provided below.

Option 1 – Try to run the CHKDSK utility

Running the CHKDSK utility might also help you resolve Error 0x80000003. If your hard drive has issues with integrity, the update will really fail as the system will think that it’s not healthy and that’s where the CHKDSK utility comes in. The CHKDSK utility repairs hard drive errors that might be causing the problem.
  • Open Command Prompt with admin privileges.
  • After opening Command Prompt, execute the following command and hit Enter:
chkdsk /f /r
  • Wait for the process to be completed and then restart your computer.

Option 2 – Try to run a System File Checker scan

You can also try to run a System File Checker or SFC scan in order to scan your computer for corrupted files that might be the cause behind the Error 0x80000003. Once it finds any corrupted system files, it will automatically fix them. To run System File Checker, here’s what you have to do:
  • 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.
  • Restart your computer after the scan is completed.

Option 3 – Perform a Clean Boot

There are some instances that some conflicting programs installed in your computer might be the one that’s causing the Error 0x80000003 to appear. 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.

Option 4 – Run the Memory Diagnostic Tool to check for Memory leaks

  • 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.

Option 5 – Try contacting the developer

If you find that you’re getting Error 0x80000003 on only one particular application, then you can try to contact the developer of the software that’s throwing up this error. All you have to do is search the web for the official support channel of the software and discuss the error from there.
Read More
3 Kings of VR 2022 edition

Virtual Reality or VR for short has come a long way from its infant stage and as 2022 is in half period we are looking at the VR market and reflecting on what has changed in one year. For starters, games have increased in quality and quantity while the hardware price has decreased making the whole VR experience a little closer to a wider audience.

Many companies have tried to get on the VR bandwagon but also many have failed. What remained are staples in VR hardware from large companies that have started with VR early and kept improving their headsets.

So with great pleasure, we are presenting the remaining best 3 virtual headsets so far of 2022 brought to you from Sony, Valve, and Meta.

SONY PLAYSTATION VR

sony playstation vr

If you want VR on consoles then there is really one option, and that is SONY VR. Premium Virtual Reality solution from SONY, sadly you can do this only on Playstation 4 and Playstation 5. Sony managed to pull off great quality hardware and packed with its exclusives on playstore at a very affordable price that is still cheaper than other products.

While waiting for the Sony PlayStation VR2 headset this one is still a great option and quality is still among the top of the game. From the time of its release until today, many AAA titles have been released for it as exclusives that you can not play any other way and some of them are really worth it.

VALVE Index

valve index

Altho there are headsets like HTC Vive Cosmos Elite that have some features that place it as a better solution than Valve Index, Index is still an overall better VR headset as a whole product but its price is something that is keeping it still way out of reach of your standard user. The price, however, is really an illusion since it applies only when buying the system first time, you see Valve has created this headset as a modular design system making it upgradable meaning that you can, for example, buy newer controllers only and they will work perfectly with rest of hardware.

The modular design will save you money when you want to upgrade your VR system but as said entry price is steep. Besides its somewhat higher price than competitors, it is also notable that Index is a positional tracking VR set which means that it relies on a base station in order to locate the user. This means that once set, it is not so easy to change its location of use.

However, its quality and steam use are unmatched, high-quality games and compatibility that no other headset with steam will even pull off probably make Index one of the 3 best headsets out there. Half-life Alyx, arguably and currently one of the best VR games ever made so far was specifically designed for Valve Index and other games are behaving also incredibly nice with this headset, so if you want a great powerhouse for PC VR gaming, you will no go wrong in purchasing Valve Index.

META QUEST 2

meta quest 2

Cheapest of the three and coming in various iterations, Meta has established itself from the beginning as a leading player in VR technology with its oculus line of products. Quest 2 is the next product in their line and it comes with 128GB and 256GB versions.

Meta has removed the need for the Facebook account for its VR systems and now you can use them without the need to send any kind of data to meta. Priced fairly for its entry 128 models this standalone VR set improves in any way possible from its previous iteration and sets the bar for what will come in VR's future.

Offering both wired and wi-fi connection with its standalone battery Quest 2 also is packed with a large library of games and it is user friendly as your typical game console but still allows some under-the-hood tinkering if you wish so.

Also, Meta's Vr solution since it uses inside-out tracking makes it incredibly easy to just pick it up and carry it with you wherever you go.

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