Logo

Fix DISM Error: The scratch directory size ...

One of the most useful and powerful built-in utility in Windows 10 is the DISM tool. This tool can be used with the Command Prompt command line as well as for other purposes. However, it is not without flaws and there are times when you may encounter some issues while using it.

One of the problems you can get while using the DISM tool is the following error:

“The scratch directory size might be insufficient to perform this operation”

This kind of error in DISM occurs when the DISM command is executed from the Windows Recovery Environment due to the limited size permissions of a delivery where the operating is being performed. To fix this DISM error, you need to follow the instructions laid out below.

Step 1: First, tap the Win + R keys to open the Run utility and then type “cmd” in the field and tap Enter to open Command Prompt.

Step 2: Next, you have to specify a scratch directory that contains the Windows folder and to do that, you can either use the DIR command or the BCEDIT command. So in the elevated command prompt type and enter “dir” or “bcedit”.

Step 3: After that, you will see a list of folders inside the C: partition. Now you have to create a folder named “scratch” inside the partition. To do so, execute the following command:

mkdir C:Scratch

Note: The command you just entered will create a directory inside the root of the C: partition named Scratch.

Step 4: Now that you’ve created the Scratch folder, note that each time you run any of the DISM commands, you have to enter the following code snippet in them:

/ScratchDir:C:Scratch

 Note: For instance, if you are using the DISM tool to repair the offline Windows image, instead of executing the “Dism /Online /Cleanup-Image /RestoreHealth” command, you now have to execute the “DISM /Image:C: /ScratchDir:C: Scratch /Cleanup-Image /Restorehealth” command. And if you want to remove a selected installed update package, you can use the “DISM /image:C: /ScratchDir:C:Scratch /Remove-Package /PackageName:Package_for_RollupFix~31bf3856ad364e75~amd64~~16299.196.4.9” command. Keep in mind that the mentioned package is only an example. And lastly, you also have to replace the drive letter in the new code snippet when you execute the commands given above.

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

Fix Origin Error when loading the webpage
If you encounter a blank page with an error message saying, “Origin Error” when you try to load a webpage, then this post will surely help you resolve this error. As you can see, this error is a very uncommon one and it is not about the popular game known as Origin where all you have to do is reinstall the client. Although this error message is a very uncommon one, you will see a blank page with a message saying, “Origin Error” when you attempt to load a webpage. To fix this error, this post will provide you some potential fixes that might help. Follow the fixes given below carefully and see which one fixes the problem.

Option 1 – Use Ctrl + F5 keys to clear browser cache

The first thing you can try is to “Hard Refresh” to clear the cache of your browsers. You can do that by using the Ctrl + F5 keys on your keyboard. On the other hand, you can also clear the cache manually for Chrome, Edge, and Firefox.

Option 2 – Remove the Proxy

You might also want to try removing the Proxy as it could also help you in fixing the Origin error. Here’s how you can do it:
  • Tap the Win + R keys to open the Run dialog box.
  • Then type “inetcpl.cpl” in the field and hit Enter to pull up the Internet Properties.
  • After that, go to the Connections tab and select the LAN settings.
  • From there. Uncheck the “Use a Proxy Server” option for your LAN and then make sure that the “Automatically detect settings” option is checked.
  • Now click the OK and the Apply buttons.
  • Restart your PC.
Note: If you are using a third-party proxy service, you have to disable it.

Option 3 – Try to flush the DNS, reset Winsock and the TCP/IP

You might also want to flush the DNS and reset Winsock as well as reset TCP/IP as it could help in fixing the Origin error. To do so, refer to these steps:
  • 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
    • netsh winsock reset
After you key in the commands listed above, the DNS cache will be flushed and the Winsock, as well as the TCP/IP, will reset.
  • Now restart your computer and open Google Chrome then try opening the website you were trying to open earlier.

Option 4 – Try using Google Public DNS

You might want to try changing your current DNS to the Google Public DNS. All you have to do is change the DNS settings explicitly on your operating system by using the DNS IP addresses. Here’s are the steps to do that:
  • 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” and “8.8.4.4” and click OK and exit.
Read More
A 3 Step DIY Guide to Repairing Error 501

Error 501 - What is it?

Error 501 is an error code that sometimes may occur while you are using Internet Explorer on your Windows PC. The error message is displayed as:

'Error 501: Not implemented or not supported.'

Solution

Restoro box imageError Causes

It is difficult to narrow down the ultimate cause of error 501. This is because this error code can be triggered by multiple reasons such as:
  • Third-party confliction or due to an incorrect HTTP 1.1 setting
  • Improper program installation
  • Changes in the “LocalAccountTokenFilterPolicy” registry key
  • Corrupted Registry Database

Further Information and Manual Repair

The occurrence of this error regardless of what the cause is may cause a lot of inconvenience to you. And if not fixed on the time it can lead to system failure too. To repair the error 501, identifying the cause for the error really helps. By identifying the cause, you can easily select the most suitable solution to fix it.

Let us walk you through the solutions to fix error 501 timely:

Cause: Third-party conflicts or due to an incorrect HTTP 1.1 setting

Solution: If the above cause is the reason for error 501, this means the Local Policy Rights Settings have been altered. And because of that, Windows is not running your desired program. To solve this error simply log on to Windows as an administrator. Then run local computer policy snap-in. Open it and click on the computer configuration. Here you will see the Windows settings option. Click on it and then open security settings, local policies, and click on properties. Now in the add users section select the user which you want to add to the policy and save by pressing OK. After you’ve made changes, now try using internet explorer again. If this is the cause for the error pop, the error will not occur. If it still occurs then this means there is some other underlying cause for the error. Read on to find out.

Cause: Improper Program Installation

Solution: Error 501 may also occur due to improper program installation. The best way to resolve it is to uninstall recently installed programs.

Cause: Changes in the “LocalAccountTokenFilterPolicy” registry key

Solution: Sometimes during installation registry keys also get damaged or changed. If changes in the LocalAccountTokenFilterPolicy” registry key is the issue, then you need to alter the registry key ‘LocalAccountTokenFilterPolicy settings and its value. This key inside the registry database allows Windows to control the various access options that you have. However, due to wrong settings, it denies access and shows error 501 when you open Internet Explorer. To alter registry key settings can be tricky and complex if you are not a computer programmer. In such as scenario it is advisable to download Restoro. This is a user-friendly and multi-functional repair tool embedded with a powerful register cleaner. In addition to this, it also functions as anti-virus and a system optimizer.

Restoro Solution

Restoro is simple and easy to use. To operate this tool on your PC and to reset registry settings you don’t need any technical expertise or sound knowledge. Its smooth navigation makes it easy for users to scan and repair errors like 501 due to registry misconfiguration in seconds.  With this helper, you don’t have to modify Windows registry settings manually. It will do it automatically. Furthermore, if Error 501 is triggered by a corrupted registry database, you can run it to repair this issue too. It cleans and wipes out all the unnecessary and obsolete files that could be corrupting your registry. This includes junk files, internet history, and invalid registry entries. It clears up your hard disk space and repairs your corrupted registry. If your PC’s registry is damaged due to malicious software like viruses and malware, then it uses advanced antivirus to remove them from your system. It has a value-adding backup feature that enables you to create a backup of your files for data safety and recovery in case of loss during repair. Restoro is compatible with all Windows versions.

Starting with Restoro

Here are 3 simple steps to get started:
  1. Click here to download Restoro.
  2. Once the installation is complete, run it to scan for errors
  3. After scanning the errors, simply click repair to resolve the issues including the error code 501.
Along with fixing error code 501 triggered by registry damage, it also repairs all other PC-related issues. It helps maintain a stable and error-free system for the longest time.
Read More
Delete files and folders using Command Prompt
There are times when you might find it difficult to delete folders or files in File Explorer and it could be due to many reasons. One of these reasons can be attributed to the failure that can lock down the folders or files which prevents you from deleting them. In this kind of situation, you can utilize the Command Prompt to delete the folders, sub-folders, and files on your computer, and in this post, you will be guided on how exactly you can do that. Before you proceed, keep in mind that when you use the Command Prompt incorrectly, it might affect your computer and render it inoperable, thus, you must be extra careful when executing the steps given below and it would also be better if you create a System Restore Point. After that, refer to the following instructions. Step 1: First, in the Start Search, type “command prompt” in the field and from the search results, right-click on Command Prompt and then select the “Run as administrator” option to open Command Prompt with admin privileges. Step 2: After opening Command Prompt as admin, navigate to the folder where the file you want to delete is located. Note that you have to execute the “cd” or the change directory command. Step 3: Next, execute the following command in Command Prompt:
DEL /F /A <file path with extension>
Note: In the given command, “/F” is the force delete command, while “/A” is the command that selects the files with the ready for archiving attribute. Step 4: After that, go to the location where you can find the folder you want to delete by using the “cd” command again. And then execute the following command right after:
RD /S <folder path>
Note: In the given command, “RD” is the command that removes the folder from the directory, while “/S” removes all of its sub-folders and files. On the other hand, if you also use the “/Q” parameter, you won’t see the “Y/N” confirmation but if you didn’t use it, then simply tap the Y button to proceed.
Read More
Taskbar is not visible in Remote Desktop
Recently, several users reported an issue on their Windows 10 computers where the taskbar is not visible when they tried to connect to a computer via Remote Desktop Protocol or RDP. The Remote Desktop Connection feature uses the RDP which allows users to access a computer remotely. This is actually different from the taskbar being hidden automatically until the pointer hovers on it since, in this scenario, the taskbar is completely not accessible which makes using the remote computer entirely difficult, if not impossible. There are several suggestions you can check out to resolve this problem, you can try to restart the process of Windows Explorer via Task Manager or you could clear the cache for multiple processes. You could also try to reinstall the Shell Experience components or show the local taskbar in the Remote desktop. Moreover, you could also try to update, uninstall or roll back the display driver/graphics card driver. For more details, refer to each one of the options given below.

Option 1 – Try to restart the Windows Explorer process

The first option you have to try to fix the problem with the taskbar is to simply restart the Windows Explorer process in the Task Manager.
  • Tap the Ctrl + Shift + Esc keys to open the Task Manager.
  • Next, go to the Processes tab and find the process of Windows Explorer.
  • Once you find it, right-click on it and select Restart to restart its process.
  • After that, restart your computer and see if you can now see the Taskbar.

Option 2 – Try clearing the cache of multiple processes

The next thing you can do to resolve the problem is to clear the cache of many processes in your computer. To do so, follow these steps:
  • Open the Notepad app and paste the following content in the text area:
@echo off taskkill /f /im explorer.exe taskkill /f /im shellexperiencehost.exe timeout /t 3 /NOBREAK > nul del %localappdata%PackagesMicrosoft.Windows.ShellExperienceHost_cw5n1h2txyewyTempState* /q timeout /t 2 /NOBREAK > nul start explorer @echo on
  • After that, tap the Ctrl + S keys to save the changes you’ve made in Notepad and select the “All files” as its file type, and then name it “CacheClearTWC.bat”.
  • Next, go to the location where you saved the file using File Explorer and then run it. This will run a couple of batch scripts which will clear the cache of multiple processes in the system.
  • Tap the Win + X keys and select the “Windows PowerShell (Admin)” option to open PowerShell as admin.
  • Next, execute this command in the command line: Get-appxpackage -all *shellexperience* -packagetype bundle |% {add-appxpackage -register -disabledevelopmentmode ($_.installlocation + “appxmetadataappxbundlemanifest.xml”)}
  • After the command has been executed, this will reinstall the Shell Experience components and should fix the problem with the taskbar.

Option 4 – Update, uninstall or rollback the Graphics card drivers

  • First, boot your computer into Safe Mode.
  • After that, tap the Win + R keys to launch Run.
  • Type in 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 the Display Adapters and click on them.
  • After that, right-click on each entry under the Display Adapters 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.
Note: You also have the option to go directly to the website of your graphics card manufacturers like NVIDIA, Intel, or AMD and go to the section called Drivers then check if there’s a new available update – if there is, download and install it.
Read More
Malware Guide: How to Remove BitCoinMiner

What is BitCoinMiner Malware?

BitCoinMiner is a Malware created with the intent to force computer systems to generate crypto-currency, namely Bitcoin. This is done without the consent and knowledge of a computer/system holder. This unwanted file bears no digital signature or publisher since the creators of such a heinous invention do not wish to be known. Technical details about BitCoinMiner Malware include:
Product Version: 1.0.0.0 Original File Name: crss.exe Entry Point:  0x000C5AAE

Assessment of BitCoinMiner Malware

After installation of the BitCoinMiner Malware, there were no visible signs of an infection or program files installed. However, based on research, BitcoinMiner Malware utilizes the CPU’s resources (est. to be about 50%). Computer users have reported that they recognized an unknown process utilizing the majority of their processing space. the bitcoin miner is used by the creators to penetrate a user’s system, in effect coercing each infected system to mine Bitcoins covertly. After years of mining, a user might discern that their computer is moving slouchy and may even encounter various forms of BSODs.   After Bitcoins have been mined in the infiltrated system, the cyber currency is then returned/ sent to the creator of the malware. This venture is a sly and deceptive way to earn Bitcoins since the currency is gaining much popularity.

Further Information on BitCoinMiner

BitCoinMiner works covertly. There are no obvious traces of this program running on a computer system. However, once a computer system is infiltrated, the computer user will realize that their CPU resources are strangely being used up, even while the computer idles. Another expression of BitCoinMiner is the addition of cookies of various sorts to a computer system. These include:
  • Tracking cookies
  • Advert (Adware) cookies
  • Casale Media (Spyware) cookies
  • Atwola (Spyware) cookies
  • Adtech (Spyware) cookies
Once BitCoinMiner is present on a computer system, it can potentially slow it down and also create back doors as a means to install other unwanted and harmful programs. To completely remove BitCoinMiner Malware from your computer, click here to download and install Spyhunter.
Read More
Intel's open-source Clear Linux* Project
clear linux projectThe Clear Linux Project creates an operating system and software stack that offers highly optimized performance, security, versatility, and manageability. Clearly optimized for Intel CPUs and based on GNOME it will offer you incredible speeds if you are on Intel CPU. The big news, though, is that Clear Linux sports the shiny new Gnome 40. This is a fresher Gnome than you'll find even on Ubuntu's more experimental 21.04 release. The only big names that let you test drive Gnome 40 are Fedora and Arch Linux.

Packages only when you need them

Installation of packages is used by Swupd, a Clear Linux* package management tool. It is easy to use and pretty straightforward.
  • "bundle-list" for showing what's installed
  • "bundle-info" for details on installed bundles (such as owned files via the "‑‑files" flag)
  • "search" for repository searching
  • "bundle-add" for installation
  • "bundle-remove" for uninstallation
The only problem here is the packages themselves. Clean Linux* has been imagined as a developer distro focusing mostly on well-development tolls. In intel’s words: “A Linux OS built for Linux developers”, so some things will be left out. Strangely enough some things as FFmpeg which if you want to have and blast some youtube videos while you work will have to complete manually by yourself.

Clear Linux* modular philosophy

Everything in Clear Linux* is based on a modular philosophy approach. There is no /etc/fstab file, the /boot directory is totally empty. Every partition to be mounted is enabled as a systemd "mount unit." Intel reaping the benefits of systemd's modular philosophy, where everything is a unit. If you know your way around systemd, intermediate-level configuration tasks should be straightforward. Any advanced configuration likely demands deep systemd knowledge.

Clear Linux* performance

As stated earlier this is Intel’s distro, optimized for Intel hardware meaning that Intel as the developer has every possible tool at its disposal to make use of hardware to its maximum potential and it shows. Distro almost leaves other ones two times in speed performance. So if you are looking for a distribution that will deliver you speed and it is aimed for developer Clear Linux* is for you.

Conclusion

Clear Linux* is a really interesting distro and seeing how Intel is adding new software packages on its official website it might have a bright future. But as always, be the judge for yourself and see if it can fit your needs. Go get it at: https://clearlinux.org/
Read More
How to Fix Windows 10 Error 0x80004002

Error Code 0x80004002 - What is it?

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

Common symptoms include:

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

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

Solution

Restoro box image

Error Causes

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

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

Further Information and Manual Repair

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

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

Method One:  Run Your Windows Registry Cleaner

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

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

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

Method Two:  Update Your Drivers and Software

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

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

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

Method Three:  Reinstall Your Windows Software

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

Method Four:  Run Your Virus Scan Software

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

Method Five: Use An Automated Tool

If you wish to always have at your disposal a utility tool to fix these Windows 10 and other related issues when they do arise, download and install a powerful automated tool.
Read More
Enabling the new Light Mode Theme in Windows
In case you don’t know, Windows now comes with an all-new Light Mode theme which gives a light accent color to the Taskbar, Start, and Notification Area. Aside from that, it also brings new improvements and features. This new theme is somewhere between dark and completely white and in this post, you will be guided on how you can enable this new feature in your Windows 10 computer. Although the Light Mode sure looks stunning and a lot of users love it, it actually switches all the apps plus the Taskbar and Start Menu to the light mode which was not the case before. In addition, the icons in the system tray area, as well as the notification center, are also inverted. To resolve that, there are several ways you can customize the light mode theme as well as activate it in the Windows 10 v1903. How? Refer to each one of the options given below.

Option 1 – Via Theme settings

Windows 10 brought a new theme called “Windows (Light)” which will enable the light mode automatically and will set the accent colors to automatic. This will also apply the new Windows 10 wallpaper on your desktop. To enable Windows (Light), all you have to do is right-click on the desktop and select Themes from the left menu. After that, select the Windows (Light) option under the Change Themes section. This will apply to the Windows (Light) mode.

Option 2 – Via Color settings

The second and more customizable way to activate the light mode is via Settings. Aside from the Light and Dark, Windows also introduced a Custom color option which allows you to decide the default Windows and App mode independently. To enable Light mode via Settings, refer to the steps below.
  • First, open Settings and go to Personalization.
  • After that, select “Colours” from the left menu.
  • Next, select Light under the “Choose your color” section to activate the light mode in Windows 10. This will activate light mode all over your computer.
Note: If after activating light mode, you find that you don’t like it and you want to keep things as they were before (Light App Mode and Dark Windows Mode), you can achieve that using the Custom option. All you have to do is select Custom from the drop-down menu to decide the default Windows and app mode independently. After that, select light under the default app mode and dark under the default Windows mode so that you can keep things as they were before the update. On the other hand, you can also try the opposite version of the light Windows mode and Dark app mode since Windows increased the level of customizability which allows users to use an option of a completely light mode.
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
Custom widgets in Windows 11 later
windows custom widgetsOriginally Microsoft has imagined its widgets menu as Microsoft-only widgets but it seems that they have changed their mind. Due to the latest leak, it seems that Microsoft will open the widgets menu to 3rd party developers as well but at launch, it will be only official widgets. It was hinted that later widgets menu will be open to developers who want to bring their own stuff into it. Distribution, date, and technology that will need to be used in order to create your widget have not been discussed nor leaked at a given time but in some way, I am very glad that at least some customization will be in Windows 11. It is funny and amusing how some things that were in Windows Vista are getting back like glass design, round corners, and widgets. Let’s just hope Windows 11 will be a better Windows than Vista was.
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