If your Windows 10 computer or laptop keeps on going to sleep randomly even when you’re using it, read on as this post will walk you through the process of resolving the problem.
There are a number of users who reported about how their Windows 10 computers would automatically go into Sleep Mode. One particular user claimed that when he installed a fresh Windows 10 version he began experiencing the same problem.
It turns out that the screen goes to sleep but what’s odd is that the power lights and the keyboard are still working. The computer is also warm to touch which shouldn’t be the case when it is in sleep mode. And when some users tried checking the event log, it showed them that the computer didn’t actually go into sleep mode but it shut down instead. To fix this issue, here are some possible fixes that could hopefully work.
Option 1 – Edit the Power Plan settings using Control Panel
Click the Cortana button and type “control panel” in the field and select the appropriate result to open Control Panel.
After opening Control Panel, click on the Power Options.
From there, select the “Edit Plan Settings” option and make sure that the option to “Put the computer to sleep” is set to Never.
Option 2 – Edit the Power Options using Settings
Tap the Windows key + I to open the Settings app.
After that, select Settings and go to the Power & sleep section.
Next, set the system to “Never” when the device is running on battery power or plugged in.
Now restart your computer to make sure that everything is working properly.
Option 3 – Try running the Power Troubleshooter
Another option that could help resolve the problem is the Power Troubleshooter. This built-in troubleshooter in Windows can help you get things up and running again.
Option 4 – Troubleshoot Sleep Mode issue in a Clean Boot State
The issue with Sleep Mode might be caused by some third-party programs installed on your computer. This program might be the one that puts your computer to sleep and so to isolate this possibility, you have to put your PC in a Clean Boot State using 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.)
After that, try to install the Windows Updates or upgrade again.
Option 5 – Try checking the Sleep Advanced Settings
Click on the Windows key and type “control panel” in the field and select the related search result.
Next, select the Security and Maintenance option and click on the Power Options.
After that, you have to select the Change Plan Settings but keep in mind that this option is barely readable so you need to read each option carefully.
Now click on the Change advanced power settings button and a new window will appear.
Then look for the “Sleep” option and expand it to select the Allow hybrid sleep” option. Turn this option off and close all the opened windows.
Reboot your computer and check if your computer now functions properly. If it still didn’t work, you may have to reverse the changes you’ve made.
Option 6 – Try installing v9 or 10 of the MEI or Intel Management Engine Interface
Note that this option only applies to users who are using an HP laptop. And if your motherboard does not support Hybrid Sleep, you might have to downgrade the Intel MEI to version 9 or 10. To install v9 or v10, you need to go to the HP Drivers & Downloads page and look for the MEI driver version 9 from the website’s Driver Chipset section. Once you’ve downloaded the driver, install it and if a dialog box warning pops up, simply ignore it and proceed.
Option 7 – Update the device drivers
Reboot your computer into Safe Mode with networking support.
Tap the Win + R keys on your keyboard to open the Run dialog box.
After that, type “devmgmt.msc” in the field and hit Enter or click OK to open the Device Manager.
After opening the Device Manager, update all the outdated Device drivers on your computer.
Next, right-click on all the driver entries that are appropriately labeled, and then click the Update driver option.
Now restart your PC and check if your computer is now back to normal.
In this post, you will be guided on how to import and export the WSL distros in your Windows 10 computer. WSL, also known as Windows Subsystem for Linux, is a compatibility layer needed to run Linux binary executable in Windows 10, as well as the Windows Server 2019.
In case you don’t know, when you reinstall or reset Windows 10, all of its configuration data stored with the WSL distros gets deleted. Going back or restoring the configuration can be quite challenging but worry not for Microsoft has already got this covered as you can now import and export the WSL or Windows Subsystem for Linux distros.
There are three aspects that you have to deal with when you import or export WSL distros in your Windows 10 computer, such as importing WSL distro, exporting WSL distro, and uninstalling the imported WSL distros.
Before you proceed to the instructions provided below, make sure that all your installed distros are updated via Microsoft Store. Once you have this covered, follow the options below.
Option 1 – Import the WSL distro
Type “command prompt” in the Start Search and from the search results, right-click on Command Prompt and then select the “Run as administrator” option.
After opening Command Prompt as admin, execute this command: wsl --list –all
The command you entered will list all the installed WSL distros on your computer. And now it’s time for you to import a WSL distro by executing this command: wsl --import <Name of the distro> <Fill path to save the backup .tar file>
Note: In the given command above, replace “<Name of the distro>” with the name of the distro you want to import and replace “<Fill the path to save the backup .tar file>” with the location where you want to save the .tar file.
Option 2 – Export the WSL distro
Type “command prompt” in the Start Search and from the search results, right-click on Command Prompt and then select the “Run as administrator” option.
After opening Command Prompt as admin, execute this command to see the list of all the installed WSL distros in your computer: wsl --list –all
After that, execute this command to export a WSL distro: wsl --export <Name of the distro> <Fill path to save the backup .tar file>
Option 3 – Uninstall the imported WSL distro
Open Command Prompt with admin privileges.
Next, execute this command to view the list of all the installed WSL distros: wsl --list –all
After that, execute this command to uninstall an imported WSL distro: wsl --unregister <Name of the distro>
Once it’s done, close Command Prompt and restart your computer.
When you encounter an error message that says, Chassis Intruded…Fatal Error…System Halted on your monitor then it indicates that the Chassis or the cabinet that holds the CPU, GPU, motherboard, and many more is open. It is a security feature offered by OEMs wherein a connector that is found in the motherboard can detect if the chassis component has been replaced or removed. There are a few OEMs that offer onboard speaker or PC chassis speaker which goes off in this kind of situation.
Obviously, the problem has something to do with the hardware and in most cases, you have to put the jumper back on the motherboard with the pin-labeled chassis signal and ground. There are times when some OEMs offer a simple switch that is armed automatically when you properly close the chassis. Thus, you need to check if this switch has something to do with the error. If there is no switch or if it doesn’t resolve the issue, although you may be able to get into Windows with a warm boot, the normal Windows boot won’t really work unless you fix the problem. It is rather false positive and has something to do with the RTC RAM state or the BIOS. You might need to completely disable the Chassis intrusion feature to fix the error.
Refer to the suggestions given below to try and fix the “Chassis Intruded, Fatal Error … System Halted” error.
Option 1 – Try to clear CMOS
You can easily clear CMOS by shorting two pins which can be found side by side on the motherboard. Keep in mind that it may vary from OEM to OEM although the basics are still the same to clear CMOS. In addition, you might also have to download the manual from the OEM’s website so that you’ll know its exact location.
Option 2 – Try booting into the BIOS
You can also try booting into the BIOS. All you have to do is tap either the DEL or F2 keys to get there. Note that everything will be set back to their default setting after you reset the CMOS.
Option 3 – Try disabling Chassis intrusion
In this option, you have to look for the Chassis intrusion feature in your BIOS. It might be located under security. From there, disable it and check if the problem’s fixed.
Option 4 – Try to reconfigure the BIOS
Once you have disabled the Chassis feature, you need to reconfigure the BIOS the way you expect it to be or to what it was before the reset.
Mapi32.dll is a Windows Messaging Application Programming Interface that enables Windows to perform various email functions and launch messaging programs like Microsoft Outlook and Microsoft Office. The inability of the interface to execute email functions properly results in the Mapi32.dll Outlook Error.
This error occurs mostly when you are attempting to upgrade the operating system to a new version.
Solution
Error Causes
The common causes of the Mapi32.dll Outlook Error during the OS upgrade are:
Damaged or Corrupt Outlook user profile
The software is overwritten by some other program
Outlook PST file corruption
The Mapi32.dll Outlook Error message is displayed in either of the following forms:
Mapi32.dll is missing
Cannot start Microsoft Office Outlook. Mapi32.dll is corrupt or the wrong version.
Mapi32.dll was not found
Mail is not installed
Further Information and Manual Repair
So, what if you experience this issue and how do you fix it? Well, first there is no need to panic as Microsoft has recognized this issue and provided adequate solutions to fix this problem in no time.
However, to ensure the Mapi32.dll Outlook error is a quick fix, you must first understand the cause of the issue and the message displayed on the screen.
Let’s say the errors occur because your Outlook profile is corrupt. In this scenario, the best solution is to create a new Outlook profile. Regardless of whether you have Windows Vista or XP, to create your new Outlook profile, first, you will have to click on the Control Panel, then User Account, and then Mail. Once you click on the Mail tab, the mail set up dialog box will open. In this dialog box there will be a ‘Show Profiles’ tab, click and then click the Add tab that appears next. Now type the name for your new Outlook profile and then click ‘OK’. After that, add an email account to go with the profile.
If Mapi32.dll is missing or corrupt, you will have to run ‘Fixmapi.exe’ to resolve the problem. It is located in the System32 folder inside the Windows directory in Windows Explorer.
Therefore, first start Windows Explorer and then locate the following folder on your computer: C: /Program Files/Common Files/System/Msmapi1033
Now find Fixmapi.exe and double click it
After that locate the Mapi32.dll file and rename it to MSmapi32.old and press enter.
Restart your computer when finished.
A word of advice for computer users is to scan for viruses with an antivirus program or a registry cleaner regularly to prevent the Mapi32.dll Outlook error from occurring in the first place. Viruses often latch onto .dll files and corrupt them.
It’s always best to have a forward-looking approach.
There are cases when you encounter some issues while updating your Windows 10 computer. One of these issues is the error 0x80240034. This particular error is a Windows Update Error that appears on the Windows Update pane every time an update fails to install. When this happens, your Windows Update will only get stuck at 1% and nothing happens afterward and eventually fails.
If you click on the View Installed Update History, you will see the error code 0x80240034 for the failed updates. You will see this error each time you try to update your Windows PC. Take note that this issue doesn’t only happen to a specific version of the Windows Update but on various different Windows builds based on many users. What’s more, is that some users are also seeing a different error code when their Windows Update fails but they still end up seeing the error code 0x80240034 when they check the Windows Update history.
At the time of writing, it isn’t determined yet what really causes this error but it’s most likely due to some corrupted files in the computer which is why the most common solution you can try is resetting the Windows Update cache. On the other hand, other users also resolved the issue by using the ISO and selecting the “Do not keep previous settings” option during the Windows Update so it might be something to do with transferring the previous settings through the update client. For clear instructions in fixing this issue, refer to the two options provided below.
Option 1 – Try to clear the Windows Update Cache/Distribution Folder
As mentioned earlier, a lot of users tried clearing the Windows Update cache to fix the problem and so far it has worked. Like them, you can try clearing the Windows Update cache by simply deleting the contents of the folder named “SoftwareDistribution” since Windows apparently can’t clear and re-download the update contents once they are corrupted. Thus, deleting the contents of this folder will make Windows download the contents again which will fix the problem. To do that, follow the steps below.
Step 1: Tap the Windows key once.
Step 2: Next, type in “command prompt” in the Windows Start Search, and from the search results that appear, right-click on Command Prompt and select the “Run as administrator” option from the context menu.
Step 3: After opening Command Prompt, type in “net start wuauserv” and hit Enter.
Step 4: Then type in “rmdir %windir%SoftwareDistribution /S /Q” and hit Enter.
Step 5: Now type in “net start wuauserv” and hit Enter. Once it’s done, try updating your Windows PC again, it should now work just fine.
Option 2 – Update Windows via ISO file
If option 1 didn’t work for you, you can try this second option of updating your Windows 10 computer using an ISO file which means that you will have to create a Windows 10 bootable media and use it to install the latest Windows 10 version. The most user reported that this option works and the reason why it does have something to do with the Windows Update client since the Windows Updates downloaded from the regular Windows Update client seems to create issues such as the error 0x80240034. However, issues like this one don’t occur when the very same Windows Updates are downloaded and installed via an ISO file.
Take note that when using a Windows ISO file, you will be asked to choose what you want to do with the previous settings and apps. A lot of users opted for the “Not to keep the old Windows settings” option which has resolved the issue. So if you want to keep the previous settings then you must try to update Windows first while keeping the old settings. However, if it doesn’t work, you have to try installing the latest version of Windows without keeping the previous settings.
Step 1: Click this link and then click the Download Tool Now button.
Step 2: Next, click the “Use the tool to create installation media (USB flash drive, DVD, or ISO file)…” option and follow the next given instructions on the screen.
Step 3: Now select the ISO file option in step 5.
Step 4: After that, you should now have an ISO file.
Step 5: Next, go to the location where you’ve downloaded the ISO file.
Step 6: Then right-click on the Windows 10 ISO file and select the Open with an option and then select File Explorer.
Step 7: Now click on “setup.exe” and follow the next instructions that appear on the screen. When asked, you have to select either: Nothing (clean install) or Keep personal files only option. Take note that you must not select the “Keep personal files, apps, and Windows settings since it doesn’t really work.
Socket error 10013 is an error code that often pops on the screen when you try to access the server. This error code restricts your permission to access. It shows that your permission request was denied.
The error message is displayed in the following format:
“Socket.error: [Errno 10013] an attempt was made to access a socket in a way forbidden by its access permissions”
Solution
Error Causes
Narrowing down a particular reason for the cause of socket error 10013 is difficult, typically because this error code can be generated due to several reasons. Here are some of the common reasons for its occurrence on your PC:
High-security set up- Firewall or an antivirus program
Too many functions tied to the same driver confuses the socket
Outdated drivers
Malware
The good news is that the socket error 10013 is not fatal. However, it is advisable to fix and resolve the issue to avoid inconvenience.
Further Information and Manual Repair
Here are some of the best, quickest and easiest methods to work around the problem and resolve socket error 10013 without any hassle or delay.
Method 1 - Turn off Firewall
Believe it or not, a high level of internet security measures like Firewalls and anti-virus programs are a common cause of socket error 10013.
Firewalls are made to protect a computer from harmful connections but sometimes it may also restrict server connections, considering them as a threat to your system security.
Due to this, permission access is adamantly denied. To resolve this issue on your PC, the best way to go about is to turn off your Firewall or any other anti-virus programs installed on your system.
Once you turn off these programs, try accessing the server again. The majority of the time the issue is resolved by carrying this step. Nonetheless, if the error still persists, try the methods given below.
Method 2 - Check the Permissions section of the Firewall Program
Another way to resolve this is to check the permission section of the Firewall program and check for the server. If the server is not listed, contact the Internet Service Provider (ISP) and ask for help in adding the server to the list.
Method 3 - Update Drivers
The outdated driver may sometimes be the reason for the socket error 10013. The socket may no longer use the drivers installed on your PC which is why permission to access the server is not granted.
When this is the reason, try updating the drivers to resolve. For new drivers, visit the software manufacturers’ website, download, and install.
Method 4 - Scan for Viruses and Malware
Another alternative is to scan for viruses and malware. Sometimes the cause for the error is a viral infection. Therefore, remove them to resolve.
The best way is to download Restoro. This is a user-friendly and next-generation PC Fixer embedded with 6 scanners including a powerful anti-virus. It scans your entire PC and removes all types of viruses including malware, adware, spyware, and Trojans in seconds.
Click here to download Restoro.
The quickest and easiest way to log into your computer is when you use the PIN feature in Windows 10. Even though it is a bit slower compared to biometric logins such as Fingerprint and Iris scanning that comes under Windows Hello, the PIN feature is definitely less complicated. However, just like any other module of the software, it is also prone to some errors. In this post, you will be guided in fixing several PIN errors such as 0xd00000e5, 0x8007139f, and 0x8009003. These errors could be caused at different points in time like when you change or create a PIN or when you log into your computer.
To fix the 0xd00000e5, 0x8007139f and 0x8009003 PIN errors, there are various solutions you can try. You may empty the contents of the NGC folder or remove and change the PIN or the password. You could also use the Group Policy Editor or reset the ACLs in the NGC folder as well as run built-in tools like System File Checker and the DISM tool.
Option 1 – Take ownership of the NGC folder and delete its contents
Boot your computer first into Safe Mode.
Next, you need to take ownership of the Ngc folder first and you can do that using Command Prompt.
Type “command prompt” in the Windows Search bar and then right-click on the relevant search result and select “Run as administrator”.
After that, if a User Account Control or UAC prompt appears, just click on Yes to proceed.
Next, type and enter this command: TAKEOWN /F C:WindowsServiceProfilesLocalServiceAppDataLocalMicrosoftNgc
Note that the <path> is the location of the folder or file in File Explorer.
Now type and enter this second command: ICACLS C:WindowsServiceProfilesLocalServiceAppDataLocalMicrosoftNgc /grant administrators:F
Finally, once the command has been executed, restart your computer.
Once your computer has restarted, delete all the contents in the Ngc folder and check if the error is now fixed.
Option 2 – Try to remove and change the PIN or password
The 0xd00000e5, 0x8007139f, and 0x8009003 PIN errors could be caused by some conflicting issues with the PIN or password you have set for the User Account of your computer. Thus, you have to remove or change the PIN or password to fix these PIN errors.
Remove the PIN by going to Settings > Accounts > Sign-in options.
From there, go to the PIN section and click on the Remove button.
You will be asked to verify your account to proceed in removing the PIN, enter your credentials.
Restart your computer and then set up a new PIN.
Once you’re done, restart your computer and check if the error is gone now.
Option 3 – Try to use the Group Policy Editor
Tap the Win + R keys to open the Run utility and type “gpedit.msc” in the field and tap Enter to open the Group Policy Editor.
Next, navigate to this policy setting: Computer Configuration > Administrative Templates > System > Logon
After that, double click on the “Turn on convenience PIN Sign-in” option located on the right-side panel.
Then set its radio button to Enabled. You will see the following description when you do so:
“This policy setting allows you to control whether a domain user can sign in using a convenience PIN. If you enable this policy setting, a domain user can set up and sign in with a convenience PIN. If you disable or don’t configure this policy setting, a domain user can’t set up and use a convenience PIN. Note: The user’s domain password will be cached in the system vault when using this feature. To configure Windows Hello for Business, use the Administrative Template policies under Windows Hello for Business.”
After setting the radio button to Enabled, it will turn on the Logins in your computer using the PIN.
Close the Group Policy Editor and restart your computer for the changes to take effect.
Option 4 – Try to reset the ACLs in the Ngc folder
Type “command prompt” in the Windows Search bar and then right-click on the relevant search result and select “Run as administrator”.
After opening Command Prompt with admin privileges, execute this command: C:/Windows/Service/Profiles/Local/Service/AppData/Local/MicrosoftNgc /T /Q /C /RESET
The command you entered will start checking for errors and fix them automatically.
Option 5 – Run the System File Checker scan and the DISM tool
System File Checker:
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:
Windows Resource Protection did not find any integrity violations.
Windows Resource Protection found corrupt files and successfully repaired them.
Windows Resource Protection found corrupt files but was unable to fix some of them.
Now restart your computer.
DISM tool:
Open Command Prompt.
Then type in the following commands and make sure to hit Enter right after you type each one of them:
Dism /Online /Cleanup-Image /CheckHealth
Dism /Online /Cleanup-Image /ScanHealth
Dism /Online /Cleanup-image /Restorehealth
After that, wait until the process is finished and do not close the window as the process will probably take a couple of minutes.
One of the most useful and efficient command-line disk management tools is the DISKPART utility. It can be used to manage, delete or create new hard drive partitions. However, despite its efficiency, there are still times it could face some errors like the “No usable free extent could be found”. You can encounter this error when you create a partition. This error could be due to insufficient disk space which is why it is not able to carry out the operation. It is also possible that the disk is not recognized by the system. And since there are only four recognized primary partitions, when you try creating a fifth one, you will get this error. In addition, this error could also occur if the disk has been partitioned using the MBR disk partitioning format.
To fix the “No usable free extent could be found” error, here are some suggestions you can follow.
Option 1 – Free up disk space using Storage Sense
The error could be caused by insufficient disk space in your computer and so you need to free up disk space using Storage Sense to fix the problem.
Open Setting > System > Storage from the WinX Menu.
From there, you will see a list of all the local and connected storage devices along with the details on the free space. Make sure that Storage Sense is on.
Next, find a link that says “Free Up Space” and click it to open.
After that, a screen which is the built-in program in Windows 10 will appear and will scan your computer for the following junk files so you can free up disk space:
Windows Upgrade Log Files
The system created Windows Error Reporting Files
Thumbnails
Temporary Internet Files
Previous Windows Installation Files
Delivery Optimisation Files
DirectX Shader Cache
Choose the files you want to get rid of and then click on the remove files option. Note that you’ll have an idea of the total size as you select any of the junk files listed above.
Now go to the “Free Up Space Now” section and click the Clear Now button. This will get rid of all the temporary or junk files in your computer and should hopefully fix Error 1310.
Note: You can also run the Disk Cleanup tool to free up disk space.
Option 2 – Try to run DISKPART in Command Prompt with administrator permissions
The next thing you can do to resolve the error is to run the DISKPART utility with admin privileges.
In the Start Search, type “command prompt” and from the search results that appear, look for Command Prompt.
Once you found it, right-click on it and select the “Run as administrator” option.
After that, try to execute the Diskpart operation once again. Note that you also have to specify different size & offset values for the partitioning and then see if you still encounter the same error.
Option 3 – Try to execute the DISKPART clean command
The next thing you can try is to execute the clean command in DISKPART to fix any issues in the disk.
Open Command Prompt with admin privileges.
Then execute this command: diskpart
The command you entered will initiate the DISKPART utility. Now execute this second command to view all the disk connects or all the partitions on those disks formed: list disk
After that, you need to select one command depending on the list command you executed and then execute this third command: select disk #
The third command you just executed will select the disk or partition you want to select. Now execute this fourth command: clean
The command you entered will remove all the volumes or partitions formatting the disk in focus.
Once it’s done, try to carry out the DISKPART operation you were trying to execute.
Option 4 – Try to update the USB drivers
Outdated USB drivers can also be the reason why you’re getting the error. Thus, you must update them from time to time. You can install the latest version of the USB driver for your system. But you need to check the manufacturer’s website or guidelines to update the driver according to your system. If it happens that the drivers might not be compatible with the version of the system your laptop is using which is unlikely, you can run the driver software in Compatibility Mode in that kind of situation. To update your USB drivers, follow these steps:
Tap the Win + R keys to launch Run.
Type in devmgmt.msc into the box and tap Enter or click OK to open the Device Manager.
After that, look for the USB Serial Bus controllers from the list of device drivers displayed. If you see a red or yellow sign that shows up against the driver, right-click on the driver’s name and select “Update Driver Software”. And if you find any “Unknown device”, you need to update it as well.
Select the “Search automatically for updated driver software” option and then follow the instructions to complete the process.
Option 5 – Run the Hardware and Devices troubleshooter or the USB troubleshooter
You can find the Hardware and Devices troubleshooter under the Troubleshooters section of the Windows Settings panel on your Windows 10 PC. You can use this troubleshooter to fix common hardware and external device-related issues without exerting too much effort. If you don’t know where to find it, follow these steps:
Tap the Win + I keys to open the Windows Settings.
Next, navigate to Update & Security > Troubleshoot.
You should see the option for Hardware and Devices on your right-hand side where you can also find the “Rub the troubleshooter” button – click on it to get started.
Follow the next on-screen instructions to fix the basic issues of common hardware and external device.
Note: If you want to, you can also use the USB Troubleshooter to fix the problem just go back to the Troubleshoot page where you can find it.
As you know, the Windows 10 operating system, as well as other Windows versions, comes with the Windows Firewall. In Windows 10, the firewall allows users to install and run a third-party firewall. This kind of firewall works independently to block any suspicious activity on your computer. However, recently, some users reported that they are getting a notification on the Startup saying,
“Windows Firewall and <Third party firewall name> Firewall are both turned off; tap or click to see available options”.
This particular error could be caused by a lot of factors but when you manually check the firewall, you’ll find that there really is nothing wrong with both the Windows Firewall and the third party firewall. So if both the Windows Firewall and third-party firewalls like McAfee, Comodo, and many others are both turned off in Windows 10, then you need to do several things to resolve the problem – you need to check the supporting services that are required and uninstall and then reinstall the third party firewall on your computer. For more instructions, refer to the options provided below.
Option 1 – Try enabling all the supporting services for the firewall
The first thing you can do to resolve the error with the firewall is to check all of its supporting services by following these steps:
Tap the Win + R keys to open the Run utility and type “services.msc” in the field and then hit Enter to open the Windows Services Manager.
Next, look for the Windows Defender Firewall service among the given list of services.
Once you found it, make sure that its Startup Type is set to Automatic and that the status of the service is Running. So if it’s not running, just click on the Start button.
In addition, you also have to make sure that the following services’ status is set as follows:
Xbox Live Networking Service: Manual
Base Filtering Engine: Automatic
Once done, start the firewall again and check if the error is now fixed or not.
Option 2 – Try to uninstall and reinstall the third-party firewall
It is possible that the firewall error might be due to an error with the compatibility of the installation in Windows 10 and the third-party firewall. Thus, the next thing you can do is to uninstall the third-party firewall and then reinstall it again. Once you have uninstalled the third-party firewall, you can download its latest version from its official website and install it again. This should fix the error with the firewall.
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".
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.
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:
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
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.