Logo

Fix the HTTP Error 304 Not modified

When you get the “HTTP Error 304 Not modified” error in Google Chrome, Mozilla Firefox, or Microsoft Edge, there can be lots of reasons why you’re getting this error. The HTTP Error code 304 means redirection, technically. It could be that the DNS has some issues or the cache is already reusing the existing information to look for a website or it could also be that your browser might be infected.

In this post, we will show you what you can do to fix the “HTTP Error 304 Not modified” error when you are not able to open a website on your browser. Here are the exact details of the error message:

“This status code is returned if the client has already downloaded resources since the last visit and is displayed to notify the client browser that the requested resources is already stored in the browser cache which hasn’t been modified.”

Follow each one of the given fixes below to resolve the issue.

Option 1 – Clear the browsing data on your browsers

The first thing you can try is clearing the browsing data on your browsers.

Microsoft Edge:

  • Open Microsoft Edge.
  • Then click on the three horizontal dots to open the menu.
  • From there, click on Settings. And under Settings, click the “Choose what to clear” button under the Clear browsing data section.
  • Next, check all the checkboxes and then click the Clear button to clear the browsing data in the Edge browser.
  • Restart Edge.

Google Chrome:

  • Open Chrome and then click on the three vertical dots located at the top of the window.
  • Then click on Settings.
  • After that, click on Advanced. And from the Privacy and Security section, click on the “Clear browsing data” option.
  • Now click on the CLEAR DATA button.
  • Restart Chrome.

Mozilla Firefox:

  • Open Firefox and then click on the three horizontal lines to open the menu.
  • From there, click on Options.
  • Next, select Privacy & Security.
  • After that, click on the Clear Now button under the Cached Web Content section and then click the Clear All Data button under the Site Data section.
  • Restart Firefox.

Option 2 – Flush DNS and reset the TCP/IP

There are some websites that don’t resolve since the DNS in your computer still remembers that old IP address. And so you need to flush the DNS as well as reset the TCP/IP on your computer.

  • Click the Start button and type in “command prompt” in the field.
  • From the search results that appear, right-click on Command Prompt and select the “Run as administrator” option.
  • After opening Command Prompt, you have to type each one of the commands listed below. Just make sure that after you type each command, you hit Enter
    • ipconfig /release
    • ipconfig /all
    • ipconfig /flushdns
    • ipconfig /renew
    • netsh int ip set dns

After you key in the commands listed above, the DNS cache will be flushed and the TCP/IP will reset.

Option 3 – Try using the Google Public DNS

Changing your DNS to Google Public DNS might also help you in fixing the “HTTP Error 304 Not modified” 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 4 – Run Cleanup Tool and disable Extensions

You might also want to run the Cleanup Tool in Chrome if you are using this browser as well as disable all the extensions as some of them, if not all, might be the reason why you’re getting the “HTTP Error 304 Not modified” 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

STOP 0x00000050 - An Easy Fix Guide

Stop 0x00000050 is an error code that is popularly known as the Blue Screen of Death (BSoD) error. This error occurs when Windows crashes on your system. Stop 0x00000050 error is displayed in a blue screen which is why it is called the BSoD error.

The error message appears in the following form:

Stop 0X00000050 (parameter1, 0, parameter3, parameter4)

PAGE_FAULT_IN_NONPAGED_AREA”

However, the parameters within the Stop 0x0000005 error message sometimes vary depending on your PC configuration.

Solution

Restoro box imageError Causes

The most common causes of the Stop 0x0000005 error are:

  • Hardware malfunctioning
  • Overheating of the components
  • Installation of a faulty device driver
  • Incompatible DLL files
  • Corrupt Registry
  • Spyware and Virus Infection

Whatever the cause may be, the Stop 0x00000050 error message is alarming and should be fixed at the earliest as it indicates major system stability problems that can often lead to data loss and system corruption.

Further Information and Manual Repair

To fix and repair the Stop 0x0000005 error you don’t always have to hire an IT professional. In fact, fixing this error is quite easy and you can do it yourself regardless of whether you have a good know-how of computers or not.

So, let’s get started! Here are some the easy DIY solutions to fix the Stop 0x0000005 error:

Sometimes this error may occur due to a temporary issue like overheating of the computer components. When this happens all you need to do is switch off the computer and allow the components to cool down. Try starting up your computer after a couple of hours. If the blue screen of death does not occur again, then this means there is nothing to worry about and the problem is resolved.

However, if the error appears again on your screen, then you need to try something else to solve and fix this error on your PC. If the cause of the error is a faulty device driver, then it is advisable to disable and remove it. Try updating the latest version of the faulty device driver. Using updated software helps ensure your PC keeps running smoothly.

If the cause of the Stop 0x0000005 error code is your system's exposure to viruses and spyware, then you must immediately download a powerful antivirus program. After you download it, scan for viruses on your system. Once the scanning is complete, you will see a scan report showing viruses on your PC. Delete all of them and click on repair.

Furthermore, you can also add more RAM to prevent and fix the Stop 0x0000005 error message on your computer. This solution is suitable when you try to run a program on your PC and you get this error message.

Read More
How to Fix Windows 10 Error 0x8000222

Error Code 0x8000222 - What is it?

Error Code 0x8000222 is an error that occurs during the installation process for Windows 10. It is also present in past versions of the software, going all the way back to Windows 7 and even affecting Windows software products, including Microsoft Word, PowerPoint, and other items in the Microsoft Office Suite.

Common symptoms include:

  • Inability to complete the installation process for new versions of the operating system, Microsoft Office programs, or other Windows-based software

While there are several factors that can contribute to the appearance of Error Code 0x8000222 during the installation process, most of these factors can be addressed using a few high-level methods. These methods do require some advanced knowledge and computing skills, so if you are unable to complete the steps below successfully or do not have confidence in your ability to undertake these methods on your own, contact a qualified computer repair service that is familiar with the Windows 10 installation process.

Solution

Restoro box imageError Causes

There are a few different issues that can cause Error Code 0x8000222 to arise during the installation process on your Windows operating system. The first is a corrupted file in your system library or dynamic link library, also called the DLL. The second is interference by your proxy, firewall, or antivirus software that inhibits the machine from being able to access the files that it needs to successfully complete the installation of your Windows operating system or software.

Further Information and Manual Repair

To address and resolve Error Code 0x8000222 on your Windows operating system, regardless of the version of the software that you are using, there are a few steps that you can take. Keep in mind that these steps do require some advanced skills and knowledge about your computer, so if you don’t believe that you can undertake these steps on your own or if the following methods do not fully resolve the issue on your device, talk to a qualified computer repair technician for assistance.

Here are the best ways to address Error Code 0x8000222 on your Windows machine:

Method One:  Fix Your DLL Dependencies Registry

Before implementing this method, make sure that a proxy is not active on your computer. To check to see if there is an active proxy, simply press the Windows key together with the “R” key and type in the command “cmd”, then when the prompt opens up, type in the following command:  “netsh winhttp import proxy source=ie”. From the box that follows, if you see a message saying that there has been an error writing in the proxy settings and that access has been denied, it means that you can turn off the proxy setting in your Internet Explorer and the error will go away on its own.

If you do not have an active proxy, it is time to check and see whether your DLL dependencies are properly set up. To do so, open up the command prompt again by pressing the Windows key and “R” key at the same time and typing in “cmd”. Once the command prompt is active, simply typing in “regsvr32 Officevalidator.dll”, then attempt to resume your installation once it has been complete.

In some cases, you may need to restart your computer before attempting the Windows installation process.

Method Two:  Turn Off Firewalls and Antivirus Software Before Installing

If the above method did not successfully resolve the problem, you can go into your control panel and turn off any firewalls or antivirus programs that may be interfering with your ability to complete the Windows installation process. Depending on the programs that you use for your antivirus needs, you may need to restart your computer before you reattempt to do the installation process.

You should be able to turn your firewall and antivirus programs back on once the installation process has run through to completion.

In most cases, taking the steps above will fully resolve the appearance of Error Code 0x8000222 on your Windows 10 machine.

Method Three: Use An Automated Tool

If you wish to always have at your disposal a utility tool to fix these Windows 10 and other related issues when they do arise, download and install a powerful automated tool.

Read More
Upcoming Windows 11 features

Coming in October for insiders and in November for all in the update, Microsoft has prepared a series of updates which they call an "additional set of experiences"

These updates are looked upon by Panos Panay, a vice executive president at Microsoft & chief product officer for Windows and devices as sort of makeup tests. They will consist of new additions with the biggest one being a tabbed version of File Explorer.

windows 11 transparency off

File Explorer received a UI makeover in the last update but the tabbed interface was missing which was expected by many users so it will come in following the next update.

The rest of the features that we will receive are an updated Photos application, Suggested Actions in the Windows Shell, Overflow menu for the taskbar, and improved Nearby Share.

The tabbed File Explorer interface is essentially File Explorer’s version of Sets, the tabbed window interface that Microsoft tested out several years ago. In testing, the tabbed interface proved handy for moving and copying files, and we’d expect the same once the feature formally goes live. The difference between Sets and the tabbed File Explorer interface is Sets allowed for multiple applications to be clustered together via tabs.

Photos app will include a “new photos-managing experience that brings a gorgeous gallery, simplifying browsing, finding, management and consumption of your collection of photos.” It will allow “easy backup to OneDrive” and a “delightful Memories experience.”

As for other features, nothing specifically was said except giving just some tips on what will they bring, it is obvious that File Explorer and the photos app were the main focus for MS in this upcoming update.

Read More
TPM 2.0 and Windows 11, all you need to know
TPM or Trusted Platform Module version 2.0 is a must-have if you plan on upgrading your system to Windows 11. So what exactly is TPM and do you have it?

TPM checkerWhat exactly is TPM?

TPM is a tamper-resistant hardware technology tasked with generating and storing encryption keys inside it for better PC security. It can be remotely used to authenticate hardware and software by utilizing a unique endorsement key placed into the hardware itself. This technology can be used for example in BitLocker inside Windows in order to have data on a hard drive encrypted so if the mentioned drive is connected to another computer it would not be able to be accessed since the encryption key is stored in the TPM module. Microsoft is pushing its agenda that Windows 11 must be and must feel like safety first OS which will protect user data and user information and requiring TPM means that each Windows 11 will be secure so no additional software patches will be required for an extra layer of security. Windows 11 will assume that each user has TPM encryption enabled and will be built upon that.

Do you have TPM on your computer?

If your computer or hardware has been purchased in 2016 or later there are very high chances that you already have the required technology to run Windows 11. Unfortunately, many gaming motherboards have not been placing TPM in their boards and you might not have it. Also, there is the option of you having it but it is turned off in motherboard settings making Windows unable to detect it. As you can clearly see there are a lot of scenarios around required tech and honestly it is a complete mess. But lucky for you there are ways to find out do you possess the needed module in order to make an upgrade. On your current computer on which you would like to make an upgrade in your current Windows OS press ⊞ WINDOWS + R to open the run dialog. Inside run dialog type in TPM.msc and press ENTER to open Trusted Platform Module Management on Local Computer. You will immediately receive information do you have the required module. If everything is fine, you are good to go, however, if it says that compatible TPM cannot be found there is a chance that either you do not have needed hardware or it might be turned off inside motherboard settings.

Check motherboard UEFI

If you have a newer motherboard but Windows utility cannot detect TPM there is a chance that it might be turned off directly on your board. In order to check this, you will have to boot up your PC into UEFI either by pressing the corresponding key when it is turned ON or from Windows reboot options. Once you are inside UEFI you need to find security options and see if there is an option to turn ON or enable TPM. Since every motherboard is different and has different UEFI software we cannot cover all of the permutations and the best we can do is hope that provided information is enough. You can also visit your motherboard manufacturer to see instructions for your specific case.

Conclusion

TPM itself is generally an OK idea and I can surely see good sides of it but there is this lurking feeling that generally, Microsoft is not really concerned about the security of our data and that the real requirement for this is trying to battle software piracy. I simply cannot trust company which introduced tons of telemetry tracking through ages and which has done everything in their power to battle non-legal use of their software. I do not promote piracy but I support free choice and besides, who can tell me what will happen if TPM malfunctions, will I lose all of my data forever? It is not so uncommon that TPM has malfunctioned in the past and it is only logical to presume it can do it again in the future but this time we will not have the choice not to use it, we will be forced into it.
Read More
Restore, Minimize and Close are not working
Recently, a number of users reported not being able to use the Restore, Minimize and Close buttons on their Windows 10 computers. This kind of issue can be quite annoying as you won’t be able to use your computer properly, especially when you navigate between programs and windows. In such cases, the buttons on the right side of the title bar won’t respond to any inputs which could be caused by a number of factors such as different input modes, corrupted system files, and many more. If you are one of the users who are currently facing this problem, worry not for this post will guide you on what you can do to resolve it. There are several potential fixes you can check out to fix the issue. You can try to check if Tablet Mode is enabled and if it is, you have to disable it. You could also boot your computer in a Clean Boot State to check if a third-party program is the one that’s causing the problem. In addition, you could also reinstall the program where you experience the problem or run built-in utilities like System File Checker and DISM tool.

Option 1 – Make sure that you are not in Tablet Mode

Since Windows 10 is designed to work on both desktop and mobile devices, it could be that your computer has slipped into Tablet Mode which explains why you’re not seeing the Taskbar. To check if your computer is really in Tablet Mode, follow these steps:
  • Go to the Start menu and select Settings.
  • Next, select the System setting and from the left pane select the Tablet Mode.
  • From there, make sure that the buttons next to the options given below are set to the off position:
    • Hide app icons on the taskbar in tablet mode
    • Automatically hide the taskbar in tablet mode

Option 2 – Put your computer in a Clean Boot State

As pointed out, it is possible that some third-party program or service is the one that’s behind the problem. To isolate this possibility and to identify the culprit, you have to put your computer into 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.)
  • Once your computer is in a Clean Boot State, try to open the program where the problem occurred.

Option 3 – Try reinstalling the program

If the first two options didn’t work, then you might want to consider uninstalling the program and then install it back with its latest version. This should resolve the problem.

Option 4 – Try to run System File Checker

System File Checker or SFC is a built-in command utility that helps in restoring corrupted files as well as missing files. It replaces bad and corrupted system files to good system files that might be the cause why the Restore, Minimize and Close buttons don’t work. To run the SFC command, follow the steps given below.
  • Type “cmd” in the Start search and then right-click on the appropriate search result.
  • Next, select “Run as administrator” to open Command Prompt with admin privileges.
  • 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.
  • Now restart your computer and see if the problem is fixed or not.

Option 5 – Run the DISM tool

You can try running the Deployment Imaging and Servicing Management or DISM tool to fix the problem. Using this built-in tool, you have various options such as the “/ScanHealth”, “/CheckHealth”, and “/RestoreHealth”.
  • Open the Command Prompt with admin privileges.
  • Then type in the following commands and make sure to hit Enter right after you type each one of them:
    • Dism /Online /Cleanup-Image /CheckHealth
    • Dism /Online /Cleanup-Image /ScanHealth
    • exe /Online /Cleanup-image /Restorehealth
  • Do not close the window if the process takes a while as it will probably take a few minutes to finish. Once it’s done, restart your computer.
Read More
How to Fix Win32kbase.sys BSOD error
There is various Blue Screen of Death errors that you can encounter as you use your Windows 10 computer and some of these Stop errors have something to do with the win32kbase.sys file. This post will guide you in fixing the BSOD errors related to the win32kbase.sys file.
  • A problem has been detected and Windows has been shut down to prevent damage to your computer. The problem seems to be caused by the following file: Win32kbase.sys.
  • Your PC ran into a problem and needs to restart. If you would like to know more, you can search online later for this error: win32kbase.sys.
  • SYSTEM_SERVICE_EXCEPTION (win32kbase.sys)
  • STOP 0x0000000A: IRQL_NOT_LESS_EQUAL – win32kbase.sys
  • STOP 0x0000001E:
KMODE_EXCEPTION_NOT_HANDLED – win32kbase.sys
  • STOP 0×00000050:
PAGE_FAULT_IN_NONPAGED_AREA – win32kbase.sys
The win32kbase.sys file is a Windows operating system Base Win32 Kernel Driver file located in the System32 folder so if it ends up getting corrupted or if it went missing, your computer will throw up Blue Screen error. To fix BSOD errors that have something to do with the win32kbase.sys file, here are some possible fixes that could help. Worry not for these possible fixes are not complicated.

Option 1 – Run the Check Disk or CHDSK utility

One of the first things you can try to resolve the win32kbase.sys Blue Screen error is running the CHKDSK utility. 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 C:
  • Wait for the process to be completed and then restart your computer.

Option 2 – Run SFC or System File Checker 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.
 Restart your PC.

Option 3 – Try to run the DISM commands

You might want to repair potentially corrupted files in your system as having them could also trigger the win32kbase.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 4 – Try to run the Blue Screen Troubleshooter

As you know, the Blue Screen troubleshooter is a built-in tool in Windows 10 that helps users in fixing Blue Screen errors related to the win32kbase.sys file. 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.
Read More
Windows 11 ISO Insider Preview Build 22000.132
windows 11Microsoft just released Windows 11 ISo file, based on the latest Insider Preview Build 22000.132. Inside build, you can try all-new features like clock updated app, snip tool, and everything releases so far via various patches. You can also use Windows 11 ISO file to do a clean install on your computer, but if you go with this option all of your existing files will be deleted. Microsoft says it added the ability to name your PC during the setup experience. You’ll also get to experience the Get Started app that’s designed to help you get going on your new Windows 11 PC (even if it’s not actually a new one).

Download ISO

  • Go to the Windows Insider Downloads page. You will need to sign in with a Microsoft account registered with the Insider Program.
  • Scroll down to Select Edition and select the build you want to download. You will most likely want the one at the top from the developer channel, as this is where Windows 11 should arrive first. So far, only Windows 10 builds are available. Click confirm.
  • Select your preferred language. Not all languages ​​available for Windows are compatible with the Insider program, so you may have to stop depending on where you are from.
  • Click the download button and the ISO file will start downloading.
  • This is definitely an easier method, but unfortunately, it is not available yet. We will update this article once Windows Insider ISOs are available. Later, once Windows 11 64 bit is available to everyone, you can also download the stable build of Windows 11 iso. Microsoft offers the Media Creation Tool and Upgrade Assistant, which usually do just that. It will be some time before Windows 11 versions of the tools are available, as the operating system is only getting closer to this holiday.
Read More
What to do if Windows 10 Store is not downloading Apps
The store is not downloading Apps: As you know, the Windows Store is one of the places where you can download Windows apps. However, there are times when you might not be able to do so for some reason. For instance, if you search for an app and click on the get it now button, instead of downloading the app, nothing happens and there are also cases when the download will start but the page will refresh after half a second. When this issue happens, you won’t be seeing any error message or warning at all. So you’ll just have to look at the download get started where the page will refresh and you’ll be back at the Get button. This issue in the Windows 10 Store only happens for a few apps so even though you are able to download some apps, you might be able to do on other ones. Note that the apps affected are random and there is no specific set of apps that cause this issue while downloading and that this problem will repeat again each time you click on the Get it now button. This issue is definitely caused by Windows itself and has something to do with a bug in the Windows store which was brought by the latest Windows Update. It’s already a known issue among other Windows 10 users who are also suffering the same dilemma. So until Microsoft releases another update to fix this bug, you will have no choice but to deal with it in the meantime. On the other hand, you can also try a couple of suggestions laid out in this post. Follow the steps in every option given below to fix the issue with the Windows 10 Store.

Option 1 – Try signing out from the Microsoft Store

A lot of Windows 10 users were able to resolve the problem by simply signing out and signing back into the Microsoft Store. How? Follow these steps:
  • Go to the Microsoft Store.
  • Next, go to the Get page of the app you were trying to download.
  • And then click on your account picture located in the top right corner of the window and select your account.
  • Sign out from your account and after that, click the Get button to download the app.
  • After that, a new window will appear where you’ll have to select your account and click on Continue.
  • Now enter your credentials. Once you do, the app should be downloaded automatically after you’re signed in. And that’s about it.
Note: Keep in mind that this option is merely a temporary solution to the problem and once you close the Microsoft Store and open it back again, you will be back to square one.

Option 2 – Wait for the Windows Update

As mentioned, this is already a known issue and a lot of Windows 10 users have already complained about it to Microsoft so a bug fix will be soon released in the latest Windows Updates.
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 Fix Backup Error 0x80070002

What is Backup Error 0x80070002?

Error 0x80070002 shows once you’re done backing up files through the Windows Backup program on a system running Windows 7, you see a notification that pops up with a message that reads something like: “Check your backup results. The backup completed but some files were skipped.” You try finding out the reason and you hover over to the Options button beside the message, then you get to read the following lines: “Check your backup results. The backup completed but some files were skipped. View skipped files.” Upon clicking the “View Skipped Files” option, the backup error 0x80070002 pops up on your screen and you’re left scratching your head, wondering what you’re going to do now.

Solution

Restoro box imageError Causes

There are multiple error logs that you will encounter in backup error 0x80070002 as per different conditions. The two most common cases in which this error shows up are stated below:

Case 1

You will see the following message when you press “View skipped files”: “Backup encountered a problem while backing up file C: Windows/System32/config/systemprofile. Error: (The system cannot find the file specified. (0x80070002))” You will face this case if you have backed up a library that included custom folders that were located in your user profile.

Case 2

Upon pressing “View Skipped files” you will encounter the below-mentioned messages: “Backup encountered a problem while backing up file C:/Users<User>AppDataLocalLow. Error: (The system cannot find the file specified. (0x80070002))” “Backup encountered a problem while backing up file C:/Users<User>Contacts. Error: (The system cannot find the file specified. (0x80070002))” “Backup encountered a problem while backing up file C:/Users<User>Searches. Error:(The system cannot find the file specified. (0x80070002))” You are likely to encounter any of these messages in case:
  • The Windows Backup program is trying to back up your files in either one or all of these folders (LocalLow, Searches, Contacts).
  • All three of these folders don’t exist in your system.
Keep in mind that all three of these folders exist due to the installation of certain programs and applications on your system.

Notes

The backup error 0x80070002 is also found to occur while using USB devices instead of storage devices. Other occurrences include the times when input/output (I/O) operations are performed on the USB device, which results in failure.

Further Information and Manual Repair

To make sure this issue is resolved, you will have to follow either one of the following solutions as appropriate to your situation:

Solution for Case 1

  1. Ignore the error. The store files of the custom library in your user profile will not be created as backups.
  2. Transfer the library folder from where it currently exists to a place outside its current folder (user profile). For instance, you can move the library folder to an entirely new destination such as “C: My Folders”
  3. Remove the library folder from the list of files that you are backing up using the Windows Backup program. Then, add the original place of the library’s content in the list.
  4. Go back and check step two. If carried out successfully then add a link to the folder you moved from the library. Check to see if the backup includes the library folder. To make sure, you have to do as follows:
  • Go to Start and select your username.
  • Hover across to the folder you wish to move, right-click on it and select “Cut”.
  • Head to the navigation pane and search for the area you will store the folder in, right-click and select “Paste” so that the folder is moved to that location.
  • Right-click on the folder that you just moved and select “Copy”.
  • Go back to Start, select your username, right-click any vacant space in your folder and select “Paste Shortcut”.
Note: If you want to store the folder in a different place other than the folder in which it currently exists (user profile), you will need to create a new folder. In order to do so, go to the Windows Explorer menu and look up the root of the drive. Hit “New Folder” and then choose edit to change its name. You can set it as any name for instance, “My Folders”.

Solution for Case 2

You can ignore this error safely. However, if you wish not to see this error in the future during your backup operations then you will need to carry out the following steps:
  1. Create all the folders listed in the error message including LocalLow, Contacts, and Searches.
  2. Remove all of these folders from the Backup settings to make sure they aren’t being backed up then add the folders which are in their original place. To carry out this procedure, you will have to follow the below-mentioned steps:
  • Head over to the Control Panel and open “Backup & Restore”.
  • Go to the Backup section and select “Change Settings”.
  • Click Next in the Setup backup dialog box.
  • Select “Let me choose” in the dialog box termed “What do you want to back up” then proceed by clicking Next.
  • Expand Data Files, expand <user> Libraries, expand Additional Locations then proceed by clearing out the AppData Folder, searches, and Contacts checkboxes.
  • Expand Computer as well as the item for your system drive (expand Local Disk (D:)), expand users, expand <user>, then go to AppData, Searches and Contacts and mark them if they are present.
  • Proceed by clicking next and select “Save Settings” then exit.
  • Back to Backup & Restore, select Back up now and your new backup will begin proceeding. The entire process will be complete without any errors now.
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