Logo

Fixing corrupted system files in Windows

Windows has a lot of built-in tools that help you fix tons of system-related issues. One of them is the System File Check which is the tool you can use to conveniently replace potentially corrupted or missing system files with good ones. But what happens when it does not work? Well, you’ve come to the right place as in this post, you will be guided on how you can replace a corrupted single Windows system file manually with a known good copy of the file if the System File Checker scan is not working.

When you encounter this issue with the System File Checker, it will be unable to replace the corrupted system files and returns an error message instead. And so to fix and replace corrupted system files in your Windows 10 computer without the help of System File Checker, you can refer to the instructions provided below.

Step 1: First, you need to open the log files listed below and identify which particular file has been corrupted:

  • %userprofile%Desktopsfcdetails.txt
  • Log %WinDir%LogsCBSCBS.log

Step 2: You will see all the details on the given log files. Once you find out the name and the path of the file, you have to take ownership of this corrupted system file.

Step 3: To take ownership of the corrupted file, you need to pull up Command Prompt by tapping Win + R keys on your keyboard and then type “cmd” and tap Enter.

Step 4: After opening Command Prompt, type and enter the command below to execute it:

takeown /f FileNameAndPath

Note: In the given command, “FileNameAndPath” represents the name and the path of the corrupted file. For instance, the corrupted file is named “wuapi.dll”, then you need to type “takeown /f C:/Windows/System32/wuapi.dll”

Step 5: Next, you need to grant administrators full access & control to the corrupted file and you can do that via Command Prompt again.

Step 6: In the elevated Command Prompt, type and enter the following command to execute it:

icacls FileNameAndPath /GRANT ADMINISTRATORS:F

Note: We’re going to use the wuapi.dll again as an example. So the command should be like this: icacls “C:/Windows/System32/wuapi.dll /grant administrators: F”.

Step 7: Now all that’s left to do is replace the corrupted system file with a good copy from a trusted source. Once you have a copy, open an elevated Command Prompt again and execute the following command:

copy NewFileLocation FileNameAndPath

Note: In the command given above, the “NewFileLocation” is the location where you have saved the copy of the file. For instance, if you’ve saved it on your desktop, this is how it should look: “copy C:/Users/<username>/Desktop/wuapi.dll C:/windows/system32/wuapi.dll”

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 Defender, The Threat Service has stopped
There are times when you see a message in Windows Defender saying, “The Threat Services has stopped, Restart it now” when you try to use it. This kind of error is usually fixed by simply clicking on the Restart now button. However, if the error still appears even after you restart your computer and you see another message that says, “Unexpected error, Sorry, we ran into a problem”, then continue reading as this post will guide you in resolving this issue in Windows Defender. Before you proceed with the given fixes below, you have to create a System Restore point first. This way, you can always undo any changes you’ve made in case something goes wrong.

Option 1 – Make sure that the Windows Defender Services are started

The Windows Defender Advanced Threat Protection service is the one that protects your computer from advanced threats by monitoring and reporting security events that happen on your computer. This is why you have to make sure that this, as well as other required services in Windows Defender, are set to their default values and are started. To do so, follow these steps:
  • In the Cortana search box, type “services” and click on the Services icon to open the Services Manager. Alternatively, you can also tap the Win + R keys to launch the Run prompt and then type “services.msc” in the field and hit Enter to open the Services Manager
  • After opening the Services Manager, look for the following services and make sure that their Startup type is set to their default values:
    • Windows Defender Advanced Threat Protection Service – Manual
    • Windows Defender Antivirus Network Inspection Service – Manual
    • Windows Defender Antivirus Service – Manual
    • Windows Defender Firewall Service – Automatic
  • You can right-click on each one of the listed services and then select Start to start them.
  • And if some of the services don’t have their default values, just double-click on the Services to change the Startup types and select the correct option from the drop-down menu of the Startup type under the Properties box.
  • Next, set up the Startup type of these services to Automatic and then click on the Start button if the services are not running yet.
  • Now click on the Apply and OK buttons to save the changes made and then see if it fixed the problem or not.

Option 2 – Try modifying some entries in the Windows Registry

If the first option didn’t work in fixing the problem, you can try to alter some entries in the Windows Registry using the Registry Editor.
  • First, tap Win + R keys to open the Run dialog box.
  • Then type “Regedit” in the field and hit Enter to open the Registry Editor.
  • Next, navigate to this registry path: HKLMSoftwarePoliciesMicrosoftWindows Defender
  • From there, look for the “DisabledAntivirus” and “DisableAntiSpyware” DWORDS from the right pane and change each one of their values to “0”. On the other hand, if you don’t see any of these DWORDS, you can create them instead and give each one of them a 0 value.
  • To create a DWORD, simply right-click on any empty space and select New > DWORD. Then name them both as “DisabledAntivirus” and “DisableAntiSpyware”.
  • Afterward, set the value of the newly-created DWORDS to 0.
  • Now exit the Registry Editor and reboot your PC to apply the changes made and then check if it has fixed the error in Windows Defender or not.
Read More
Potential issues with DRM and Alder Lake
We are all waiting for the release of Intel’s Alder Lake series of processors and real-world results on its performance. Sadly lately it came to our attention that some games might have issues with the processor. alder lake cpuNow before you go on the bandwagon on bashing Intel itself take note that it is not Intel’s fault at all. The issue that arises is mostly due to DRM software and how it works. As you might know or not, Alder Lake has two sets of cores, standard performance cores, and power cores, and with Intel’s Thread Director on-chip right cores will be used for the right tasks, and here lies the issue. DRM software might detect Thread Director as something suspicious and malicious, and then cut access to the game because of this. Intel, of course, has reached DRM manufacturers and places documentation about how software should be developed with this hybrid technology in mind. Of course, newer games will be updated if needed and everything will work fine, also games on GOG will work fine because of GOG’s policy of no DRM store but some older ones might be left in limbo. They could work fine but DRM might be triggered and prevent them from loading, usually, game developer itself removes DRM protection after some time but that is not really always the case and there is a chance that some games might simply just not work on Alder Lake CPU only because of DRM protection.

Conclusion

I will admit that I have not been a great fan of DRM in general, I understand that game developer want to protect themselves from piracy but how it looks they were not really successful with it. Even today single-player games get pirated on the day they are released and legally bought ones always make trouble for people that actually paid for them. I remember times when DRM was awful and you could install a game a limited number of times, luckily this was removed but it seems that many old habits still remain sadly and DRM is present even today in various forms. GOG is proof that people will buy DRM-free games and that they will support this kind of model. Maybe it is time to forget about fighting against piracy, you will not make it go away and people who do not want to buy games will not buy them, on other hand many users that do buy games, if they cannot use them they will rest to pirated version since that one will work. It is sad to see that pirated software can work better than a legal one and offer a more pleasant experience.
Read More
Blue Screen of Death in Windows

Symptoms of Blue Screen of Death Errors

Symptoms of a blue screen of death problem are easy to identify: if you have a blue screen error, then your computer will display a blue screen. Also known as the infamous “Blue Screen of Death”, this screen will pop up when something goes horribly wrong with your computer. The screen displays cryptic information about the problem before automatically restarting the system.

Bluescreen Of Death Errors Solution

Download Available To Completely Repair Blue Screen of Death Errors

Recommended: Download the Automatic Repair Utility to correct this and other PC performance issues.

Restoro box imageBluescreen Error Causes

This one can be a bit more complex: blue screens are caused by hundreds of different things. In fact, any miscommunication between the hardware and software of the computer can lead to the dreaded Blue Screen of Death, blue screens reference a communication problem between the Windows operating system and the hardware in your PC.

Why do computer blue screens of death errors occur?

Most computer users have experienced a blue screen of death at least once in their life. But have you ever stopped to wonder why they occur? Blue screens of death can occur for a number of different reasons, but the most common reason is that your PC’s hardware failed to properly communicate with its software, resulting in a fatal error. If your video card, processor, hard drive, or any other vital system component encountered a serious communication error with your operating system, then your PC may automatically display the blue screen and shut down for its own safety. Blue screens can also occur as a self-protection mechanism if the PC is overheated.

Further Information and Manual Repair

Where do Windows blue screen errors come from?

Blue screen errors come from many different sources on your computer. However, the majority of blue screen errors seem to come from the Windows Registry, which contains important configuration information about the programs, data, and personal files on your PC. Windows constantly rely on the registry in order to operate normally, but since the registry is incredibly complex (it holds hundreds of thousands of files), errors naturally develop over time. Fortunately, registry errors are fixable. They can be repaired using special registry cleaning software. During a scan, registry cleaning software looks for any registry entries that have errors. Once these entries are found, the software automatically repairs each entry. In many cases, this can permanently repair the blue screen error and prevent blue screens from ever appearing again.

Blue screen Windows 7

Windows 7, despite being Microsoft’s most popular operating system to date, is not immune to blue screen errors. It’s more stable than previous versions of Windows, although many users will inevitably encounter blue screen errors in Windows 7. No matter which version of Windows you’re currently using, the error remains the same: the hardware on your computer has trouble communicating with the software, forcing the system to display the blue error message we all love to hate.

“Blue Screen of Death”

There’s a reason this error message is famously called the “blue screen of death.” Immediately after displaying a blue screen, the Windows computer will ‘die’, which means that it restarts itself. Another reason why the error could be called the blue screen of death is that it is often displayed at the end of a PC’s life cycle. As PCs get older and their hardware starts to fail, blue screen errors become more and more common. In real life, death isn’t reversible. In the computer world, blue screens of death certainly are. With the right software support – like Restoro – even the most novice computer technician can fix their blue screen errors and restore their PC to healthy working conditions.

Benefits Of Using Restoro, BSOD Error Codes

Restoro is one of the world’s most popular PC optimization programs. Used by professional PC technicians around the world, Restoro is a feature-rich software suite that has helped many PC users breathe new life into an old PC. Restoro optimizes computer performance in hundreds of different ways. It looks through the registry and repairs any erroneous entries it finds. It also hunts down and eliminates malware and goes to work with the press of a button. And most importantly for you – it’s also amazingly effective at repairing blue screen errors. Ready to experience the Restoro difference? Here are a few more advantages of our favorite software program:
  • Easy for anyone to use: A few years ago, only the most tech-savvy individuals could optimize their computer’s performance.  Everybody else had to pay for expensive tech support or simply buy a new computer. Thankfully, the software development community has come up with innovations like Restoro which are easy for anyone to use. Just click a button and your computer will be clean within minutes. The process could not be easier.
  • Surprisingly fast: There are hundreds of thousands of files in the Windows Registry. In spite of that fact, Restoro goes to work incredibly quickly. It scans the depths of your PC in an effort to uncover whatever is causing your blue screen errors. The entire scan is complete within just a few minutes, making it easy for anyone to scan their computer on a regular basis.
  • Free trial: It’s good to be skeptical. And if you don’t think Restoro will fix any of the errors your computer is experiencing, then that’s okay. However, when you download the free Restoro, you can instantly scan your computer for errors. If any errors are found during this scan, then you can repair these problems with the click of a button.
  • Fixes frustrating errors: Blue screen errors are incredibly frustrating. You can’t get any work done on your computer when experiencing a blue screen problem. For that reason, Restoro helps alleviate some of the most frustrating PC problems in the world today.
  • More than just blue screen repairs: Sure, blue screens are annoying. But they’re only one of many different errors that a PC can develop over time. Fortunately, Restoro does more than just fix blue screen errors. The software also identifies and repairs other problem areas on your PC, making it easy to optimize performance.
Ready to get rid of your blue screen errors – permanently? Restoro today!
Read More
Dune part two is officially green-lighted
Dune, arguably one of the best science fiction novels ever written was brought to a big screen first time by David Linch. Sadly movie itself went through development hell and a lot of troubles and the end result was somewhat strange. The audience was divided on it, some hated it, some loved it but for sure it left a mark in cinema history. Years have passed and just when people forgot about ever receiving another try on a book adaptation Denis Villeneuve has brought his vision of Frank Herbert's novel into its full glory on a big screen. The interesting thing about this new Dune movie was that from the start Denis envisioned it as a two-movie part openly saying that book itself is too complex to be done in a single movie. But, the issue arises when information about Dune part two was hanging on a thread on how well Dune part one will be received and performed in the box office. This naturally brought all kinds of speculation and worry among fans of the franchise, especially because the movie itself was really good and well made. Well for all of you fans and people who wanted to see a continuation of the story can rest at peace now since the Legendary picture has officially announced and green-lighted Dune part two. The budget was given and we can expect part two at the beginning of 2023. dune 2 annoucment
Read More
Error 1753 Demystified & The Quickest Fix Ever!

Error 1753 - What is it?

Error 1753 is an RPC endpoint mapper error code. This code is typically displayed as "EPT_S_NOT_REGISTERED" or sometimes as the hexadecimal value 0x6D9.  Error 1735 indicates that there are no more endpoints available from the endpoint mapper. To understand this better, basically, RPC is an inter-process communication (IPC) method. This is used by clients and servers for communication purposes. RPC is used by programs to execute programs on a server computer. The perfect example of this is Microsoft Outlook. You communicate with Microsoft Exchange Server using RPC. This enables you to send and receive emails. When you use Microsoft Outlook to send emails, your computer sends a message to the server computer in an obscure coding. The server responds to your computer with another message that contains the results of the executed program. This is all being carried at the backend of the running program. Integral to this is the endpoint. The endpoint includes the name, port, or a group of ports on a computer that is monitored by the server for incoming client requests. This is a network-specific address to be precise. The endpoint mapper is the part of the RPC subsystem that is responsible for dynamically assigning endpoints to the server. When this function fails it leads to error 1753 message display. It shows that RPC service is not available.

Solution

Restoro box imageError Causes

The error code 1753 indicating RPC endpoint mapper service failure is triggered due to multiple reasons. These include:
  • Windows registry damage and corruption
  • Malfunctioning of the hardware
  • Spyware intrusion or viral infections
  • Device driver conflicts

Further Information and Manual Repair

This error code may cause a great deal of inconvenience to execute programs that are dependent on the server. It can lower your productivity and performance. To avoid the hassle, it is advisable to repair the error 1753 immediately. The best way to resolve this error 1753 in seconds is to download Restoro. By using this repair tool, you can fix the error right away for free without paying hundreds of dollars to a professional expert. Restoro is a new and innovative PC fixer integrated with an automated algorithm and intuitive technology that enables users to sit back and relax while Restoro runs on the system and detects all PC-related issues in the shortest time. In just a few clicks you can resolve even the mightiest PC issues like the error code 1753 RPC endpoint mapper problem and resume back to the program in no time.

Why Restoro

It is efficient and user-friendly. Restoro can be used by users of all levels so even if this is your first experience using a repair tool, you don’t have to worry. To operate it, you don’t have to be a computer programmer or have sound technical expertise. It is simple and very easy to use. The layout is simple and neat complimented nicely with easy navigation and a sophisticated user interface. Restoro is a high and multi-functional error tool embedded with powerful, performance-driven, and value-adding utilities, all in one. So, whether the error code 1753 is triggered due to a viral infection on your system or registry corruption, you don’t have to look for different tools to resolve the error, simply run Restoro to fix the issue right away. Restoro includes a dynamic registry cleaner that detects all registry issues and wipes out the clutter from the hard disk like junk files, internet history, and invalid entries which is by the way the number cause for registry corruption leading to error 1753. It clears up disk space and RAM and repairs the misconfigured system files and corrupt registry in seconds thus resolving error 1753. Restoro also functions as a system optimizer thus boosting the speed and performance of your PC massively and reducing boot time. In addition to this, it also has a backup feature.  This tool is embedded for safety purposes. This feature enables you to create backup files on your PC before you start system repair. This helps you recover data in the event of data loss during system repair. To get started:
  • Click here to download and install Restoro on your system
  • After installation, run it to scan for errors like 1753
  • Now press the repair tab to resolve
Read More
How To Fix the I/O System Error
The failure of MS Vista or XP to execute an Input or Output Signal activity is that which we refer to as an  I/O device error. This malfunction takes place when MS Vista is not able to execute activities for example reading and duplication different kinds of information from the disk or drive.

Solution

Restoro box imageError Causes

  • A piece of destroyed hardware equipment: You are getting messages informing you about the I/O device Malfunction when your Computer features an equipment apparatus that Windows is not able to utilize.
  • Broken/Faulty hardware Apparatus: If for whatever reason the equipment hardware is broken at all, or includes a flaw, you will also get such messages suggesting the existence of an I/O device error.
  • Incompatible/Broken Hardware Drivers: Such malfunctions are frequently the result of incompatible or broken equipment drivers.
  • Cable Link Problems: Technicians have determined the existence of link trouble, for instance, a cable that's in a bad situation, as another variable that can also cause these error messages.
  • Terrible/Dusty CD or DVD Disc: Yet another variable that's frequently accountable for the I/O device error is a broken CD or DVD disc. If it has not been cleaned by you, and in case the disc is dirty, prepare yourself to receive such messages often.

Further Information and Manual Repair

You should not stress yourself ill over the I/O Device Malfunction when it occurs on your own Computer. You can really fix it. First, before you spend lots of cash on the problem and sprint off to find a technician, reboot the pc. Subsequently, strive to obtain the push or disc, that you were not able to formerly. Second, clean the disc. Locate a great cleansing agent, and execute this. Utilize another pc to access the disc which you're incapable of using on the present pc. If it opens on another pc, then the disk is functional and should work on your computer as well. Let's assume that you lack another pc, search for a distinct disc, and strive to start it with your current pc. If the problem is not with the computer, the fresh disk should open and you can access the contents. If you fail completely, you're totally within your rights to move searching for a tech to repair the situation, if you attempt every one of the preceding choices. You could also do these aI/O device sections to view if you would repair the problem yourself. a) Network Cable Connections: Clearly, this is really something you can do without requiring a tech. Always check to see whether the networking and computer cables are well-connected. If you believe it's broken in case utilizing an exterior push, you could change the cable with yet another one. For inner cabling, unless you've high-level pc abilities, you shouldn't make an effort to change them. b) Attempt a Clean Boot of the PC: You can do this by yourself. Likely, the driver or software is incompatible together with the drive available on the PC. Clean boot up the pc is similar to configuring MS Windows. If the error is fixed following the preceding action, then it indicates your pc features a driver or software which is incompatible with the rest. c) Recognize the IDE Channel Attributes, and Adjust the Transfer Mode: It's feasible that you, or somebody otherwise, changed the Transfer Mode, which makes it challenging/impossible for the transport of information in the disk of your PC. If you understand the I/O Device right transfer mode, and if this occurred, just change it. Don't attempt a change or alter the Main IDE Channel. d) Check the Condition of Device: Confirming the working nature of the hardware device, which you may do under Device Manager, may inform you if it's operating right or not. e) Search the Manufacturing Company: When the rest fails, and you've likely employed a tech that can't solve the problem, you need to contact the producer, or check out their site, and see when there is an upgrade. It's possible to obtain to resolve the I/O Device Error, once for all through a simple upgrade.
Read More
Fix Error 0x8000704ec in Windows 10
Universal Windows Platform (UWP) applications are the modern application in the windows store that can be used in all the Window devices like Xbox, Hololens, Tablet, PC or Phone. Basically, UWP provides a common platform for every device that runs Windows 10. When attempting to login into these applications and receive this error:
Can’t sign in with a Microsoft account This program is blocked by group policy. For more information, contact your system administrator. 0x8000704ec
Then this post is for you. We will guide you on how to easily resolve issues, please follow the steps provided.
  1. Local group policy editor solution

    • Press ⊞ WINDOWS + R to open the Run dialog.
    • In the Run dialog box type gpedit.msc and press ENTER to open Group Policy Editor.
    • Inside the Local Group Policy Editor, navigate to the path below:
    Computer Configuration > Windows Settings > Security Settings > Local Polices > Security Options
    • On the right pane, double-click on Accounts: Block Microsoft accounts to edit its properties.
    • Under Local Security Setting tab, click on the drop-down and select This policy is disabled.
    • Click Apply > OK to save the changes.
    • Exit Group Policy Editor.
  2. Registry editor solution

    As always, it is highly recommended to make a backup of the registry editor just in case that something goes wrong.
    • Press ⊞ WINDOWS + R to open the Run dialog.
    • In the Run dialog box, type regedit and hit ENTER to open Registry Editor.
    • Navigate to the registry key path below:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
    • At the location, on the right pane, identify the NoConnectedUser key. The key value might be set to either 1 or 3.
    • Now, double-click the NoConnectedUser entry to edit its properties.
    • Input 0 in the Value data field and hit Enter to save the change.
Read More
Enable or disable Fast User Switching
When your computer is slow, you don’t have much choice but to wait until it gets done with a task at its own pace, albeit a slow one. So if you want to switch user accounts on your computer a couple of times daily, then a slow computer can get really irritating. What makes system processes slow is that the accounts have some programs or applications running and resources allocated to them. And besides, if your computer is already low on performance, it will kill the natural fluidic flow of the user. But worry not, for this post will guide you in switching user accounts with the help of some minor tweaks in your Windows 10 computer. To disable or enable Fast User Switching, you have two methods to do that using the Registry Editor and the Group Policy Editor. Either way, refer to the instructions laid out below.

Option 1 – Enable or disable Fast User Switching via Registry Editor

  • Tap the Win + R keys to open the Run dialog box.
  • After that, type “Regedit” in the field and tap Enter to open the Registry Editor.
  • Next, go to this registry key: HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem
  • Then right-click on System and select New > DWORD (32-bit) Value and name this newly created DWORD as “HideFastUserSwitching”.
  • Now double click on it. If you want to enable Fast User Switching, input “0” as the value, and if you want to disable it, input “1” as its value.
  • Restart your PC to successfully apply the changes made.

Option 2 – Enable or disable Fast User Switching via Group Policy Editor

Take note that this option will not work if you are using the Windows 10 Home edition since the Group Policy Editor does not come with Windows 10 Home. Refer to the steps below to enable or disable Fast User Switching using Group Policy Editor.
  • Tap the Win + R keys to open the Run dialog box and then type in “gpedit.msc” in the field and hit Enter to open the Group Policy Editor.
  • Next, navigate to this path inside the Group Policy Editor: Computer ConfigurationAdministrative TemplatesSystemLogon
  • Now double click on the configuration listing labeled as “Hide entry points for Fast User Switching” to open the configuration page.
Note: On the configuration page, you will see the following description:
“This policy setting allows you to hide the Switch User interface in the Logon UI, the Start menu, and the Task Manager. If you enable this policy setting, the Switch User interface is hidden from the user who is attempting to log on or is logged on to the computer that has this policy applied. The locations that the Switch User interface appears in the Logon UI, the Start menu, and the Task Manager. If you disable or do not configure this policy setting, the Switch User interface is accessible to the user in the three locations.”
  • From there, you can choose to enable or disable the Fast User Switching depending on your preferences. After you’ve selected, click OK and exit the Group Policy Editor.
  • Now restart your PC to apply the changes made successfully.
Read More
T-Mobile Hack, 40 Million and more Impacted
T-MobileHacker group recently came up with claims that they have stolen data from 100 million T-Mobile customers. T-Mobile has responded with confirmation it has been compromised and that over 40 million records were stolen, among them are not just present customers, but anyone who has applied for T-Mobile service as well as past accounts.

What has been stolen?

Report from T-Mobile states that stolen records included first and last name, date of birth, social security number, driver’s license & ID information. The company said that it has “no indication that the data contained in the stolen files included any customer financial information, credit card information, debit or other payment information.” Not really a reassuring statement meaning that they really do not know, but even if the statement is true, already stolen information is as much if even not more damaging and devastating as payment information.

What T-Mobile is planning to do now?

It is stated that the hole used for the hack has been addressed and closed so no more data can be stolen. Considering people that had their personal information compromised, T-Mobile said it is planning to reach out to them and offer them two years of free identity protection through McAfee’s ID Theft Protection Service. Additionally, T-Mobile recommends postpaid customers change their PIN by going online into their T-Mobile account or calling T-Mobile customer service by dialing 611 on their phone. The company also recommends a feature called Account Takeover Protection that prevents unauthorized individuals from stealing a phone number and porting it out of T-Mobile. Finally, the company will publish a website “for one-stop information and solutions to help customers take steps to further protect themselves.”
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
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