Logo

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

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

Guide to Easily Fixing Error 1713

What Is Error 1713?

Error 1713 is essentially a programming error. It has specifically been designed in Microsoft applications. This is intended to allow customers to continue using the appropriate setup tool. The error can be quite annoying and is used by manufacturers to determine what caused the error so that counteractive methods can be employed. The number 1713 is simply the hexadecimal code that informs where the instruction was loaded when the error occurred.

Solution

Restoro box imageError Causes

As far as the causes of Error 1713 are in question, the primary cause is damaged, misconfigured, or corrupt windows system files. There are several other factors that lead to the occurrence of Error 1713. For instance, if the applications or hardware on your system has been improperly deleted, installed, or uninstalled, Error 1713 will occur. Similarly, Error 1713 is triggered when the computer has recovered from an attack by some virus, spyware, malware, or adware only recently. This attack corrupts the file and so the error appears. Incorrect system shutdown can also be blamed for this error. All the scenarios listed above actually damages the registry entries in Windows system files. The corrupt or damaged files will then lead to improperly linked or missing information. It goes without saying that such problems will keep the applications from performing in the desired manner and this makes it even more crucial to fix this error as soon as it appears.

Further Information and Manual Repair

Two of the most useful workarounds for Error 1713 are listed below.
  • This solution is for advanced users. Restart your computer. Log on to it as the admin in the safe mode. Now go to the Start button and follow this path All Programs-> Accessories-> System Tools->System Restore. Now an option will appear asking you to ‘Restore your computer to an earlier time’. Select it. This option will actually appear in a new window. Click Next. A list of restore points will be displayed to you. Select the most recent restore point before the occurrence of the error and press Next. Now click on the Next button that appears in the confirmation window. Restart your computer as soon as the restoration is finished.
  • This solution is for novice users. Download a 1713 repair utility available online. Install this program and use it to scan your system. After the scan is complete, click on repair to fix the error.
Read More
Should you use the Faraday bag

Faraday bag is a new take on security and privacy for people using a lot of electronic devices and credit cards. So what is exactly a Faraday bag?

faraday bag

Faraday bag explained

Faraday bag is designed in the same manner as the Faraday cage which was invented by Michael Faraday, who was an English scientist who contributed to the study of electromagnetism and electrochemistry. His main discoveries include the principles underlying electromagnetic induction, diamagnetism, and electrolysis.

The idea of the Faraday cage is that anything inside a cage that is made of specific grid size is completely isolated from outside current and magnetic fields since the cage itself will pick up everything upon itself. This means that for example, a human could be inside a cage that is struck by lightning and be perfectly safe and fine.

This idea led to the Faraday bag design, which takes this concept and places a wiring pattern inside clothing in order to isolate all magnetic fields from the outside so your devices and cards are completely cut off from any kind of influence and electromagnetic waves. If the pattern and quality of material for the bag are good, you have a fully safe placeholder for your stuff.

Advantages of Faraday bag

The main advantages, of course, are the privacy and safety of mobile phones and credit cards from outside influences and this is why this bag has been designed in the first place. If the bag is designed properly your phone would not be able to be hacked nor accessed from any outside source, GPS tracking will also be disabled and your phone location will not be visible. Credit cards will also be completely safe from any malicious attack via wi-fi signals.

Disadvantages of bag

Well, the disadvantage of using this bag is a very simple one, since your phone is isolated from outside influence that will also mean that you will not be able to take messages or calls on it while it is in the bag. Notifications from the internet would also be disabled so it is security vs usability deal.

Read More
Fix Page Fault in Non-Paged Area in Windows 10
Page Fault in Non-Paged Area is a blue screen error usually happening with faulty drivers but it can come from different issues like faulty RAM. In this short article, we will cover usual ways on how to approach and solve this error.

Solving Page fault in Non-Paged Area

Page Fault in Non-Paged AreaRollback using system restore

Simple and easy solution, roll back to the previous system restore point where Windows was stable and working.

Fix Page Fault in Non-Paged Area using device manager

  1. Press ⊞ WINDOWS + X to open the hidden menu
  2. Click on device manager
  3. Find a device with a question mark and right-click on it
  4. Click on the rollback driver button

Fix via command prompt

  1. Press ⊞ WINDOWS + X to open the hidden menu
  2. Click on command prompt (admin)
  3. Inside command prompt type in SFC / scannow and press ENTER
  4. Wait for the process to be finished and then reboot the PC

Fix via DISM tool

  1. Press ⊞ WINDOWS + X to open the hidden menu
  2. Click on command prompt (admin)
  3. Inside command prompt type in DISM /Online /Cleanup-image /Restorehealth and press ENTER
  4. Wait for the process to be finished and then reboot the PC

Page fault in Non-Paged Area via a dedicated tool

Sometimes manual and provided solutions just simply cannot cut it because the issue is triggered also with something else and not just a single issue. Use DRIVERFIX to fix this specific issue with a single click.
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
Sandbox failed to start with error 0xc030106
If you suddenly encountered an error when you try to run the Windows Sandbox that says, “Windows Sandbox failed to start, Error 0xc030106, The virtual machine or container exited unexpectedly”, read on as this post will guide you on what you can do to resolve the problem. According to security experts, this kind of error in Windows Sandbox is due to some issues with the supporting virtualization component. It could also be caused by other factors and to fix it, there are several potential fixes you need to check out. You can try running the Windows Sandbox as an administrator. You should also make sure that all the supporting processes are running properly, as well as try to install any pending Windows Updates.

Option 1– Try to run Windows Sandbox as an admin

  • In the Start Menu, scroll down until you see the entry for the Windows Sandbox.
  • Then right-click on it and select More and then select the “Run as administrator” option to open it with admin privileges.
  • Next, if a User Account Control or UAC prompt pops up, just click on Yes to proceed.
  • You should now be able to open the Windows Sandbox without the error. However, if the error persists, proceed to the next given options below.

Option 2 – Ensure that all the supporting processes and services are running properly

If running Windows Sandbox as an administrator didn’t fix the error, you have to ensure that all related processes for Windows Sandbox are running properly. To do that, follow these steps:
  • Tap the Win + R keys to launch the Run utility and type “services.msc” in the field and hit Enter to open the Windows Services Manager.
  • Next, from the list of services, look for the following services in the given order:
    • Network Virtualization Service
    • Virtual Disk
    • Hyper – V Virtual Machine
    • Hyper – V Host Compute Service
    • Container Manager Services
  • After you find the aforementioned services, restart each one of them.
  • Once done, try to open the Windows Sandbox again and see if the error is fixed or not.

Option 3 – Try to install any pending Windows Updates

If the second option still didn’t work, then you might want to check Windows Updates on your computer and see if there are any pending Windows Updates you have to install. All you have to do is go to the Windows 10 Settings app and then go to the Windows Updates section and click on the “Check for updates” button to check if there are any pending updates that are needed to be installed. This could fix the Windows Sandbox error.
Read More
Fix Operating System Loader has no signature
Booting up your Windows 10 computer does not always go smoothly as it is a complex process and you may encounter some issues along the way. There are various files that get loaded and executed while the Windows 10 operating system is loaded. You might encounter a page that displays the following error message:
“Operating System Loader has no signature. Incompatible with SecureBoot. All bootable devices failed Secure Boot verification.”
There are two main causes for this error – it could be that your computer is using a bad unauthentic Boot Image File or the Windows operating system is installed in the BIOS Mode. To fix this error, you can try performing a “cold” boot or reset the BIOS or reset your Windows 10 computer.

Option 1 – Try to perform a Cold Boot

To perform a cold boot, all you have to do is press and hold the power button of your CPU until it goes off. Once it’s off, boot your computer normally and then check if the problem is now fixed.

Option 2 – Try resetting the BIOS

If performing a cold boot did nothing to fix the problem, you can try to reset the BIOS instead.
  • Start your computer and tap the F10 key during the booting process to enter the BIOS. If it does not work, you can try tapping the F1 or F2 key as well as the Del key.
  • Once you’re already in the BIOS, tap the F9 key to get the prompt to RestoreLoad default configuration now for the BIOS.
  • Next, click on Yes and then follow the next on-screen instructions that appear to set the BIOS back to its default settings.
  • Once you’re done restoring the default settings of the BIOS, restart your computer and then check if it now boots properly.

Option 3 – Try to change the Boot Sequence

You could also try to change the Boot Sequence to fix the error. To change the Boot Sequence, follow these steps:
  • Open Windows Settings and then go to Update & Security > Recovery Advanced Startup and then click on Restart Now.
  • Once your computer has restarted, you should see the Advanced Options.
  • Next, select Troubleshoot > Advanced Options. This will offer another set of options and from there, select the UEFI Firmware Settings and it will let your restart your computer.
  • After the restart, it will take you to the Firmware settings and from there, switch to the Boot tab where you’ll see the “Boot Priority” which contains the list of the connected hard drive, CD/DVD, ROM, and USB drive.
  • Use the arrow keys on your keyboard to change the boot sequence.
  • Once you’re done, save and exit.

Option 4 – Reset your computer

  • Tap the Win key or click on the Start button located in the Taskbar.
  • Then click on the Power button at the bottom right portion of the screen.
  • Next, press and hold the Shift key on your keyboard and then click on Restart. This will restart your Pc into the Advanced Startup options.
Note: Once you have access to the Advanced Startup options, you have to go to the setting which allows you to Reset your Windows 10 PC. All you have to do is select Troubleshoot > Reset this PC to reach the following screen
  • Afterward, select either the “Keep my files” option and then proceed to the next on-screen instructions that follow to reset your Windows 10 computer without losing your files.
Read More
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.
Read More
Fix The backup application could not start
Windows comes with a built-in backup solution. However, if it failed because of an internal error, you will encounter an error message saying, “The backup application could not start due to an internal error, Server execution failed (0x80080005)”. When you get this kind of error, it means that it did not start and the process failed with a Server execution error. If you got this kind of error worries not for this post will guide you in fixing the problem in your Windows 10 computer. The Windows Backup service is an excellent feature in Windows that only works on the NTFS file system and if you want to use this make sure that you have formatted your files system to NTFS. It is performed by the Volume Shadow Copy, all you have to do is right-click on any folder and if you see the “Previous versions” option, this means that a backup process runs from time to time and can bring back old files when needed. To resolve the “The backup application could not start due to an internal error”, here are two suggestions you can check out.

Option 1 – Check if the Volume Shadow Copy service is running and restart it

The first thing you need to do is check if the Volume Shadow Copy service. To do that, refer to the following steps:
  • Click on Start and type “cmd” and right-click on Command Prompt from the search results.
  • Then select the “Run as administrator” option to open Command Prompt with admin privileges.
  • After that, type “net stop sdrsvc” and hit Enter to execute the command in stopping the Volume Shadow Copy service.
  • Next, type the “net start sdrsvc” command and hit Enter to start the service again.
Note: You can also restart the service using the Windows Services Manager.
  • 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.
  • From there, look for the Volume Shadow Service (sdrsv) from the list of services. Its Startup type should be set to Manual by default.
  • Restart the service and if you don’t encounter any error while you turn it on, re-run the backup service and see if the backup process runs successfully.

Option 2 – Try to run the Volume Shadow Copy Service in a Clean Boot State

If the first option didn’t work and the service still keeps on failing even though the service is running, you can try putting your computer in a Clean Boot State and then try to run Windows Backup again.
  • 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.)
  • Now try to run the Volume Shadow Copy service again and see if the process goes smoothly.
Note: You might also want to delete all the files in the backup solution if you want to start fresh with the backup solution. Just go to C:/System/Volume/Information/Windows Backup and take ownership of the folder. After that, make sure to stop the Volume Shadow Copy service and then delete all the files inside it.
Read More
Unhandled Exception occurred in Application
If you encountered an error message that says, “Unhandled exception has occurred in your application”, when you start your Windows 10 computer, read on as this post will guide you on how you can fix it. This kind of error usually appears in a Microsoft .NET Framework window and it mostly pops up as soon as you turn on your computer. Here’s the complete context of the error message:
“Unhandled exception has occurred in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately.”
When this error occurs, your computer may freeze or display other suspicious behavior at times. Either way, there are several options you can check out in this post to resolve this issue, so read on. This kind of error could be caused by several factors. It could be due to your antivirus program or other third-party programs installed on your computer. It is also possible that the installation of the Microsoft .NET framework id corrupted or some of its installation files are corrupted. Thus, to fix the error, there are a few suggestions you need to follow such as:

Option 1 – Try to temporarily disable your anti-virus program

As mentioned, the error could be due to the antivirus program or the Windows Defender Firewall installed on your computer. Thus, disabling them or any security software installed in your computer is always a good idea you can try when you’re not able to access the shared drive in your computer. There are times when you encounter problems like the “Unhandled exception has occurred in your application” error due to interference of antivirus or security programs. Thus, you have to disable both your antivirus program in the meantime and check if it fixes the error or not.

Option 2 – Put your computer in a Clean Boot State

As pointed out, it is possible that some third-party program or service is the one that’s behind the problem. To isolate this possibility and to identify the culprit, you have to put your computer into a Clean Boot State. To do so, follow the steps below.
  • Log onto your PC as an administrator.
  • Type in MSConfig in the Start Search to open the System Configuration utility.
  • From there, go to the General tab and click “Selective startup”.
  • Clear the “Load Startup items” check box and make sure that the “Load System Services” and “Use Original boot configuration” options are checked.
  • Next, click the Services tab and select the “Hide All Microsoft Services” check box.
  • Click Disable all.
  • Click on Apply/OK and restart your PC. (This will put your PC into a Clean Boot State. And configure Windows to use the usual startup, just simply undo the changes.)
  • Once your computer has restarted, check if the error is now gone. If it is, then the culprit is some third-party program. Thus, you have to enable the third-party programs one by one to find out which one of them is causing the the “Unhandled exception has occurred in your application” error.

Option 3 – Try to run a System File Checker scan

System File Checker or SFC is a built-in command utility that helps in restoring corrupted files as well as missing files. It replaces bad and corrupted system files with good system files that might be the cause why you’re getting the “Unhandled exception has occurred in your application” error. To run the SFC command, follow the steps given below.
  • Type “cmd” in the Start search and then right-click on the appropriate search result.
  • Next, select “Run as administrator” to open Command Prompt with admin privileges.
  • After opening Command Prompt, type in sfc /scannow
The command will start a system scan which will take a few whiles before it finishes. Once it’s done, you could get the following results:
  1. Windows Resource Protection did not find any integrity violations.
  2. Windows Resource Protection found corrupt files and successfully repaired them.
  3. Windows Resource Protection found corrupt files but was unable to fix some of them.
  • Now restart your computer and see if the problem is fixed or not.

Option 4 – Install and update Dependencies

There are times when programs and applications need to have drivers and supporting software installed for them to properly work. Although the installation usually takes care of it, it’s time for you to do some manual check especially if you are getting this issue of abnormal program termination.
  • Install some qualified drivers – A number of high-end games and applications need to have correct and valid drivers for them to work. They just don’t work with general drivers though. Microsoft has this Windows Hardware Quality Labs testing also known as WHQL testing which makes sure that drivers meet the correct experience and pass through the proper testing before certification. Thus, when installing drivers, you need to ensure that they are qualified drivers for your Windows 10 PC.
  • Download and install or Update DirectX – As you know, Microsoft DirectX is a suite of technologies developed by Microsoft to provide hardware acceleration for heavy multimedia applications like HD videos and 3D games. Since you are using Windows 10, you have the DirectX 12 version while the earlier Windows versions use the DirectX 11 version.
  • Install the Microsoft DirectX End-user runtime – The Microsoft DirectX end-user runtime gives updates to version 9.0c as well as previous versions of DirectX. To install it, click on this link and download it.
  • Update or install the .NET framework – The .NET framework is used by games and applications during development which means that without the runtime files that are installed in your computer, it definitely won’t work. Thus, you need to install or update this framework. You can also use the .NET setup verification tool to verify it.
Read More
Stop the Hotspot from Turning off
As you know, Windows 10 is equipped with a Mobile Hotspot feature that allows users to share the existing internet connections to other devices over Wi-Fi. However, one of the downsides to this feature is that it does not stay on if there are no devices connected to it for over five minutes. In other words, if there are no devices connected to the mobile hotspot for five minutes, it will turn off automatically. Thus, if you want the mobile hotspot to stay turned on, then you’ve come to the right place as this post will walk you through how to stop the Mobile Hotspot from turning off in Windows 10. There are two scenarios tackled in this post wherein the Mobile Hotspot feature turns off automatically and where the hotspot disables when there is no internet connection. To remedy these scenarios, you can try turning off the power saving feature or use a PowerShell command to change the “PeerlessTimeoutEnabled” settings or increase the Mobile Hotspot idle timeout settings. You could also increase the timeout period when a cellular connection is not available or disable the Wi-Fi and network adapter power management options. For detailed instructions, refer to each one of the given options below.

Option 1 – Try turning off the power saving feature

The first solution you can check out is to turn off the power-saving feature. To do so, follow these steps:
  • Open the Settings app and go to Network & Internet and from there, click on the Mobile Hotspot option.
  • Next, toggle the “Share my Internet connection with other devices” option.
  • After that, toggle the “When no devices are connected, automatically turn off mobile hotspot” option.

Option 2 – Execute a command in PowerShell

The next option you can try to keep the mobile hotspot turned on is through a command in PowerShell. To get started, follow these steps:
  • Tap the Win + X keys and select the “Windows PowerShell (Admin)” option.
  • Next, execute the following command to make sure that the Mobile Hotspot stays on even when no devices are connected to it:
powershell -windowstyle hidden -command "Start-Process cmd -ArgumentList '/s,/c,net stop "icssvc" & REG ADD "HKLMSYSTEMCurrentControlSetServicesicssvcSettings" /V PeerlessTimeoutEnabled /T REG_DWORD /D 0 /F & net start "icssvc"' -Verb runAs"
  • After the command is executed, here is what the script is doing in the background:
    • It stops the Mobile Hotspot service (icssvc).
    • It navigates to this registry path (HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesicssvcSettings) and creates a DWORD key named “PeerlessTimeoutEnabled” which has a value of 0.
  • It then restarts the Mobile Hotspot Service (icssvc).

Option 3 – Try increasing the Mobile Hotspot idle timeout settings

Another option you can try is to increase the idle timeout settings of the mobile hotspot. In case you don’t know, the default timeout when there’s no active connection is about five minutes. So if you don’t want to keep it on always but want to keep it on longer than five minutes, then this option is for you. All you have to do is change the same key (PeerlessTimeout) as mentioned above, at a different location. In fact, you can change it to a maximum of 120 minutes. To give this a try, follow these steps:
  • Tap the Win + R keys to open the Run dialog box and type “Regedit” in the field and then tap Enter to open the Registry Editor.
  • Next, navigate to this registry path: HKLMSystemControlSet001ServicesICSSVCSettingsPeerlessTimeout
  • From there, change its value to anywhere between 1 up to 120.
  • Once done, exit the Registry Editor and restart your computer.

Option 4 – Try increasing the timeout period when a cellular connection is not available

There are many times when you want to connect devices so it becomes part of the network. And as pointed out, the Mobile Hotspot turns off automatically when there is no internet or mobile data but when you use a registry setting, you can change any value between 1 and 60 inclusive.
  • Tap the Win + R keys to open the Run dialog box and type “Regedit” in the field and then tap Enter to open the Registry Editor.
  • Next, navigate to this registry path: HKLMSystemControlSet001ServicesICSSVCSettingsPublicConnectionTimeout
  • From there, set the value of the “Timeout” key between 1 and 60.
  • After that, close the Registry Editor and restart your PC.

Option 5 – Try to disable the Wi-Fi and Network adapter in Power Management options

As you know, the Wi-Fi adapter and the network devices have properties that will turn off when on battery and when it’s not used for a long time so you can try to disable these options.
  • Tap the Win + X + M keys to open the Device Manager.
  • Next, expand the list of Network devices and select the Wi-Fi adapter.
  • After that, go to the Power Management tab and make sure that anything related to power saving should be turned off. This will ensure that none of the network devices will turn off the Mobile Hotspot or trigger anything that will do that.
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