Logo
en English

Problem running preinstall.cmd scripts

Setting up the Windows operating system in a computer can be quite a complicated task since there are a couple of things that take place in the background to ensure a full and protected setup of the operating system which includes a number of programs, scripts, and so on. They work together in the background to guarantee the integrity of the Windows operating system. However, there are times when this piece of code could also go wrong. As a result, you might encounter errors like the “There was a problem running preinstall.cmd scripts” error. “Preinstall.cmd” is a type of CMD file associated with Applications & Drivers developed by Gateway for the Windows OS.

To fix the “There was a problem running preinstall.cmd scripts” error, there are several things you can try. You can try to download a new Windows installation image or create a new bootable drive as well as uninstall conflicting or incompatible programs. In addition, you can also run the Windows Update troubleshooter or reset Windows 10.

Option 1 – Try to download a new Windows installation image

Your first option to fix the “There was a problem running preinstall.cmd scripts” error is to download a new Windows installation image. You can get the official ISO files for the latest release of Windows 10. After you’ve downloaded the ISO files, you can use them to upgrade to the latest Windows 10 version.

Option 2 – Try creating a new bootable drive

  • Insert your USB drive into your PC.
  • Tap the Win + R keys to open the Run dialog box and type in “cmd” and tap Enter to open the Command Prompt. Alternatively, you can also search for “cmd” in the Cortana search box to open Command Prompt.
  • Once you’ve opened CMD, type in this command to open the DISPART utility – diskpart
  • After that, you should see a new black and white window that would say, “DISKPART>”.
  • Next, type in “list disk” in the command line and tap Enter to see the list of all the Storage devices as well as your hard disk connected to your PC. Here, you have to identify your disk’s number.
  • Type in this command where “X” is the disk number you have identified and then tap Enter – disk X
  • Type in this command and hit Enter to clear the table records and all the visible data on the drive – clean
  • Now you have to recreate a new primary partition of the drive so you’ll have to type in this command and tap Enter right after – create part pri
  • A new primary partition has been created so you have to select it by typing this command and tapping Enter – select part 1
  • Now you have to format it to make it visible to normal users by typing – format fs=ntfs quick

Note: If your platform supports the Unified Extensible Firmware Interface or UEFI, replace the “NTFS” with “FAT32” in the command on Step 10.

  • After that, type in this command and tap Enter after – active
  • Finally, type this command and hit Enter to exit the utility – exit
  • After you prepare the image for the operating system, save it to the root of your USB Storage device.

Option 3 – Try to uninstall conflicting programs

If you are using a computer made by Dell and got Windows 10 preinstalled in it, then you can try to uninstall the programs listed below and see if it fixes the problem.

  • Dell Encryption Management service
  • Dell Digital Library service

Option 4 – Run the Windows Update Troubleshooter

You might also want to run the built-in Windows Update Troubleshooter in Windows that could help you in resolving the “There was a problem running preinstall.cmd scripts” error. All you have to do is go to Settings > Update& security > Troubleshoot > Windows Update. From there, click on the Run the troubleshooter button and follow the next one-screen instructions that appear. After that, restart your computer and check if the error is now fixed or not by trying to install the update once again.

Option 5 – Run Microsoft’s online troubleshooter

Running Microsoft’s online troubleshooter might also help you fix the error. This online troubleshooter is known to help in fixing Windows Update errors, it scans your computer for issues that might be causing the problem and then fixes them automatically.

Option 6 – Try to reset Windows 10

  • 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.

Advanced System Repair Pro

One-click automated PC repair solution
With Advanced System Repair Pro you can easily
Replace damaged files
Restore performance
Free disk space
Remove Malware
Protects WEB browser
Remove Viruses
Stop PC freezing
DOWNLOAD
Advanced System Repair Pro is compatible with all versions of Microsoft Windows including Windows 11

Share this article:

You might also like

Fix fatal device hardware error on Windows
This post will help you fix the request that failed due to a fatal device hardware error on your Windows 10 PC. You can encounter this error when that hard drive/SSD on your computer is damaged physically and the system is either unable to access or perform read/write operations in it. Aside from hard drive/SSD, this error can also happen to removable drives. This kind of error is not uncommon and in most cases, the hardware is physically damaged due to which you are not able to perform operations. However, there are a couple of fixes that you can try to resolve the problem before you go ahead and back up your data and move them to a different drive. What exactly causes this error? It’s actually self-explanatory and it gives you an idea that the drive is either corrupted or in a bad state. To resolve the error, follow the given options below carefully and see which one worked best for you.

Option 1 – Verify the hard drive using SMART attributes

In case you don’t know, Windows has a built-in feature of SMART analysis which analyzes the hard drive/SSD and checks all the parameters by performing some minor operations. To use it, follow these steps:
  • Tap the Win + S keys and type “command prompt” in the field then right-click on the related search result and select the “Run as administrator” option.
  • After opening Command Prompt as admin, type the “wmic diskdrive get status” command and hit Enter.
  • You should get a result after that, and if you see that it’s “normal”, proceed to the next option below.

Option 2 – Use the CHKDSK utility

When it comes to some issues concerning the hard drive or removable devices, there is a utility in Windows that might help which is called “chkdsk”. This error check utility can help with several issues in the system.
  • Tap the Win + S keys to open the Search box.
  • Then type “command prompt” in the field and from the search results that appear, right-click on Command Prompt and select “Run as administrator”.
  • After opening an elevated command prompt, copy and paste the following command and hit Enter:
CHKDSK [volume [[path] filename]] [/F] [/V] [/R] [/X] [/C] [: size]]
Note: In the command given above, “[/F]” will try to fix the system errors while “[/R]” will be the one to fix the bad sectors.
  • Now if you are prompted to run CHKDSK after your reboot your PC, just tap Y and reboot your PC.
  • If CHKDSK is not able to find any errors, tap the Win + E keys and navigate the access window. From there, right-click on the concerned drive and click on Properties.
  • After opening Properties, click on the tab Tools and then click on the “Check” button under the Error-checking section.
  • Wait until the process is completed and then restart your computer.

Option 3 – Format your drive

You can try formatting your drive since this problem also occurs on removable hard drives. In addition, if your drive is not properly initialized, this error will really pop up. Thus, you need to make sure that the hard drive is initialized and that the correct partition style is selected.
  • To get started formatting your drive, tap the Win + E keys and then go to the access page of the drive.
  • Next, right-click on the drive and select Format.
  • After that, uncheck the “Quick Format” option and then format your drive properly.
  • Now once the formatting process is finished, unplug the drive and plug it back in afterward.
  • Check if the error is already fixed. If the drive is not initialized, tap the Win + R keys and hit Enter.
  • After opening the Run dialog box, type “diskmgmt.msc” and hit Enter to open Disk Management.
  • From there, right-click on the drive volume and select Initialize Disk.
  • Next, select the correct partition type and proceed.
That should fix the problem, if not, follow the next advanced option below.
Read More
How to Fix the Error Code 28

Error Code 28- What is it?

The error code 28 is a driver error. This is one of the many device manager error codes. When this error occurs on your computer, the following message is displayed:

“The drivers for this device are not installed. (Code 28)”

Another driver device error message you might encounter is error code 41. 

Error Causes

Error 28 occurs because of unsuccessful device driver installation. This usually happens when you try to update new drive versions on your system. It is advisable to repair this error right away as it can hamper your ability to use certain hardware. For example, if error 28 occurs due to the unsuccessful installation of the USB driver, then it if not fixed and resolved it may prevent you from using hardware devices. Unsuccessful driver installation means you either didn’t install it properly or your computer has registry issues. If it’s the registry then you must fix it without any delay because it can expose your PC to serious threats like system crash and failure. To avoid such inconvenience, repair it.

Further Information and Manual Repair

When it comes to repairing the error code 28, here’s what you can do: Simply go to the control panel and click on the Device Manager option:
  • In the details pane with the list of devices, locate the device for which you want to reinstall the driver software.
  • Double click on it to open the properties dialog box.
  • Now click on the driver tab and then click update driver.
After updating, try using that device again if it doesn’t work and shows the error code 28 on your computer screen then this means the underlying cause is the registry.
Read More
Fix user account is not authorized
If you encounter an error message saying, “The connection was denied because the user account is not authorized for remote login” when you try to establish a remote connection, read on as this post will help you resolve the problem. This kind of error occurs when the targeted host does not allow you to access that system remotely. Based on the error, you are not authorized to log in remotely which means that you need to obtain the correct permission. There are several potential fixes you can try for this error. You can try to check the Remote Desktop Users group or add users to the Security group or check the Remote Desktop Service itself. Refer to the options provided below for more detailed instructions to fix the “The connection was denied because the user account is not authorized for remote login” error.

Option 1 – Try checking the Remote Desktop Users group

You can encounter this error when the Remote Desktop Users group does not have any permission for your user account that you are using to establish a remote connection. Thus, you need to make sure that your user account is a member of the Remote Desktop Users group. How? Refer to these steps:
  • Tap the Win + R keys on your keyboard and then type “cmd” in the field and tap Enter or click OK to open Command Prompt.
  • After opening Command Prompt, type the “lusrmgr.msc” command and tap Enter to execute it.
  • Alternatively, you can also search for “lusrmgr.msc” in the Start Search and once you’ve opened it, select Users and then double click on your user name to open its Properties.
  • From there, switch from the “General” tab to the “Member Of” tab.
  • Next, if you can’t see any Remote Desktop Users group under the Administrator, you have to add it. To do that, just click on the Add button.
  • After that, on the newly opened window, click on the Advanced and Find Now buttons, respectively.
  • And in the Search results box, double click on Remote Desktop Users.
  • Now click on the OK button to save the changes made and check if you can now connect to a remote host or not.

Option 2 – Try to add a user to the Security group

You can actually block or allow a user from logging on through the Remote Desktop Services. However, if you do not have the right setting, you won’t be able to use this functionality. Thus, you need to confirm this setting. To do that, follow the steps below.
  • In the Start Search, type “secpol.msc” in the field and tap Enter to open the Local Security Policy panel.
  • From there, go to User Rights Assignment.
  • Next, look for a policy named “Allow log on through Remote Desktop Services” located on your right-hand side and then double click on it to open its Properties.
  • If you were not able to find the Remote Desktop Users under Administrator, then you have to add it by simply clicking on the Add User or Group button.
  • After that, enter “Remote Desktop Users” in the blank field and click the OK button to save the changes made.
  • Now restart your computer and try connecting again to the remote host.

Option 3 – Try checking the Remote Desktop Users group

There is a service that’s supposed to be running and needs to be set up correctly for you to connect to the remote host. And so you need to ensure that this service is up and running. To do so, follow these steps:
  • Tap the Win + R keys to launch the Run utility.
  • Then type “services.msc” in the field and hit Enter or click OK to open the Services Manager.
  • Next, look for the Remote Desktop Services and double click on it to open its Properties.
  • After that, go to the “Log On” tab and select the “This account” option and then click on the Browse button.
  • On the next screen that appears, look for the Advanced button and click on it and use the Find Now button to search.
  • You will see “NETWORK SERVICE”. Double click on it and then save the changes you’ve made to the settings.
  • Finally, restart your PC and see if the problem is now fixed.
Read More
100sOfRecepies Removal Tutorial

100sOfRecepies is a Browser Extension developed by MindSpark Inc. that provides users with hundreds of recopies for breakfast, lunch, dinner, and dessert. This extension may appear very handy at the start, however, it may monitor your browser activity, and send it back to the developer to better serve ads. This extension injects itself into the System Registry allowing it to run each time your computer is restarted.

While browsing the internet with this extension installed you may see additional ads, sponsored links, and pop-up ads displayed in your browser. Many anti-virus scanners have detected this extension as a Browser Hijacker and are therefore not recommended to keep on your computer.

About Browser Hijackers

Browser hijacking is actually a form of an unwanted program, often a web browser add-on or extension, which causes modifications in browser settings. They are made to disrupt web browser programs for various reasons. Usually, it’ll force users to predetermined sites which are aiming to increase their advertisement income. Nevertheless, it’s not that harmless. Your internet safety is compromised and it is also very annoying. In a much worst case, your browser could be hi-jacked to download malware that may do a great deal of damage to your laptop or computer.

Major symptoms that your web browser has been highjacked

The typical symptoms that indicate having this malware on your computer are: 1. the browser’s home page is changed 2. bookmark and the new tab are also modified 3. the default search engine is changed and the browser security settings have been lowered without your knowledge 4. find new toolbars which you did not add 5. unstoppable flurries of pop-up ads show up on your personal computer screen 6. your web browser gets slow, buggy crashes often 7. Inability to navigate to certain websites, particularly anti-malware and also other security software webpages.

How does a browser hijacker infect a computer?

There are several ways your computer can become infected with a browser hijacker. They generally arrive by way of spam e-mail, via file sharing websites, or by a drive-by-download. They could also come from add-on software, also known as browser helper objects (BHO), web browser plug-ins, or toolbars. Some browser hijackers spread in user’s computer systems using a deceptive software distribution technique known as “bundling” (generally through freeware and shareware). An example of some well-known browser hijacker includes Babylon, Anyprotect, Conduit, DefaultTab, SweetPage, RocketTab, and Delta Search, but the names are continually changing. Browser hijackers could record user keystrokes to gather potentially valuable information that leads to privacy issues, cause instability on computers, drastically disrupt the user experience, and eventually slow down the PC to a point where it will become unusable.

Browser Hijacker Malware – Removal

Some browser hijacking could be quite easily stopped by discovering and eliminating the corresponding malware program from your control panel. But, most hijackers are hard to get rid of manually. No matter how much you try to remove it, it can come back over and over. Moreover, browser hijackers could modify the Computer registry so that it could be very tough to restore all of the values manually, particularly when you are not a very tech-savvy person.

Can't Install Safebytes Anti-malware due to the presence of Malware? Try This!

All malware is bad, but certain kinds of malicious software do a lot more damage to your PC than others. Some malware sits in between your computer and the internet connection and blocks some or all sites which you want to check out. It would also block you from adding anything to your machine, especially anti-virus programs. So what to do when malicious software keeps you from downloading or installing Anti-Malware? Do as instructed below to eliminate malware through alternate ways.

Eliminate malware in Safe Mode

In the event the malware is set to load at Windows start-up, then booting in safe mode should avoid it. Just the minimum required applications and services are loaded when you boot your computer in Safe Mode. Listed below are the steps you need to follow to start your computer into the Safe Mode of your Windows XP, Vista, or 7 computers (go to Microsoft website for instructions on Windows 8 and 10 computers). 1) At power-on/startup, press the F8 key in 1-second intervals. This will invoke the “Advanced Boot Options” menu. 2) Choose Safe Mode with Networking with arrow keys and hit Enter. 3) When this mode loads, you should have an internet connection. Now, use your internet browser to download and install Safebytes. 4) As soon as the software program is installed, allow the scan run to remove viruses and other threats automatically.

Switch over to an alternate web browser

Malicious program code could exploit vulnerabilities on a particular web browser and block access to all anti-virus software sites. The best way to overcome this problem is to choose a browser that is known for its security measures. Firefox contains built-in Malware and Phishing Protection to keep you secure online.

Install and run anti-malware from the Thumb drive

To effectively get rid of the malware, you might want to approach the issue of running an anti-virus program on the affected PC from a different perspective. Do these simple measures to clear up your infected computer by using a portable antivirus. 1) On a virus-free PC, download and install Safebytes Anti-Malware. 2) Insert the pen drive on the same PC. 3) Run the setup program by double-clicking the executable file of the downloaded software, with a .exe file format. 4) When asked, select the location of the USB drive as the place where you want to put the software files. Follow the instructions on the screen to finish off the installation process. 5) Now, transfer the USB drive to the infected computer system. 6) Double-click the EXE file to open the Safebytes program right from the thumb drive. 7) Simply click “Scan Now” to run a scan on the affected computer for viruses.

Protect Your Computer and Privacy With SafeBytes Anti-Malware

To help protect your computer or laptop from a variety of internet-based threats, it’s important to install an anti-malware application on your personal computer. However, with countless numbers of antimalware companies in the marketplace, nowadays it’s tough to decide which one you should buy for your laptop. Some of them are excellent, some are ok types, while some will affect your PC themselves! You need to be careful not to pick the wrong product, particularly if you purchase a premium application. Amongst few good applications, SafeBytes Anti-Malware is the strongly recommended software for security-conscious people. Safebytes is one of the well-established computer solutions firms, which provide this complete anti-malware software program. Through its cutting-edge technology, this software protects your personal computer against infections caused by different types of malware and similar internet threats, including adware, spyware, trojans horses, worms, computer viruses, keyloggers, potentially unwanted programs (PUPs), and ransomware. SafeBytes carries a plethora of wonderful features which can help you protect your computer from malware attack and damage. Here are some of the good ones: Robust Anti-malware Protection: By using a critically acclaimed anti-malware engine, SafeBytes provides multi-layered protection which is made to catch and remove threats that are concealed deep in your PC. Active Protection: SafeBytes offers complete and real-time security for your PC. It’ll check your PC for suspicious activity at all times and shields your PC from unauthorized access. Website Filtering: Through its unique safety rating, SafeBytes informs you whether a website is safe or not to visit it. This will assure that you’re always certain of your safety when browsing the online world. Lightweight Utility: SafeBytes is really a lightweight application. It consumes an extremely small amount of processing power as it runs in the background therefore you will not observe any computer performance issues. 24/7 Premium Support: Skilled technicians are at your disposal 24/7! They will immediately fix any technical issues you may be experiencing with your security software.

Technical Details and Manual Removal (Advanced Users)

If you’d like to carry out the removal of 100sOfRecepies manually rather than using an automated software tool, you may follow these simple steps: Navigate to the Windows Control Panel, click on the “Add or Remove Programs” and there, select the offending program to uninstall. In cases of suspicious versions of web browser extensions, you can easily remove them through your browser’s extension manager. You may also want to reset your web browser settings, as well as delete browsing history, temporary files, and internet cookies. To ensure the complete removal, find the following Windows registry entries on your system and delete them or reset the values appropriately. Please keep in mind that only advanced users should try to manually edit the registry because incorrect file removal leads to a major problem or even a PC crash. In addition, certain malware is capable of replicating itself or preventing deletion. It is recommended that you carry out the removal procedure in Safe Mode.
Files: %Documents and Settings%\All Users\Application Data0sOfRecipes Toolbar virus %program files %\internet explorer\ 100sOfRecipes Toolbar\[random].mof %program files (x86)%0sOfRecipes Toolbar \ %programData%\suspicious folders\ %windows%\system32\driver0sOfRecipes Toolbar %app data%\ 100sOfRecipes Toolbar virus\ Registry: [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MATS\WindowsInstaller\EAF386F0-7205-40F2-8DA6-1BABEEFCBE8914.07.30.07.52.18]ProductName=100sOfRecipes Toolbar [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Tracing\Muvic_RASAPI32] [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Tracing\Muvic_RASMANCS] [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\EAF386F0-7205-40F2-8DA6-1BABEEFCBE89] DisplayName=100sOfRecipes Toolbar [HKEY_USERS\S-1-5-21-3825580999-3780825030-779906692-1001\Software\Microsoft\Windows\CurrentVersion\Uninstall\50f25211-852e-4d10-b6f5-50b1338a9271] DisplayName=100sOfRecipes Toolbar
Read More
New Chrome update brings surveillance debate
Google Chrome 94 is here and it has introduced a controversial idle detection API. For those people that do not know what idle detection API is, well basically Chrome can be asked by a website to report when a user of the site has a site open and is idle on the device. The issue that people have with this is that this particular feature can be used to report when the user is not using a computer at all. chrome idle detection featureGood thing is that website or web application will prompt you to allow it to use this feature like when a site/application wants to use your microphone or web camera. Developers are on board with this feature since it can provide them with more telemetric data on how users are interacting with their website/application but there are some that are strongly voicing against this. Tantek Çelik, Mozilla Standards Lead, commented on GitHub, saying:
As it is currently specified, I consider the Idle Detection API too tempting of an opportunity for surveillance capitalism motivated websites to invade an aspect of the user’s physical privacy, keep long-term records of physical user behaviors, discerning daily rhythms (e.g. lunchtime), and using that for proactive psychological manipulation (e.g. hunger, emotion, choice)… Thus I propose labeling this API harmful and encourage further incubation, perhaps reconsidering simpler, less-invasive alternative approaches to solve the motivating use-cases.
Others who have spoken against this feature are people from the WebKit development team inside Apple. Ryosuke Niwa, an Apple software engineer who works on WebKit said:
That doesn’t seem like a strong enough use case for this API. For starters, there is no guarantee that the user won’t immediately come back to the device. Also, who is such a service supposed to know what another device user might be using at any given point? We’re definitely not going to let a website know all the devices a given user might be using at any given point. That’s a very serious breach of the said user’s privacy. It seems to me that such a suppression/distribution mechanism is best left for the underlying operating systems/web browsers to handle.
Of course, technology itself as always can be used for good or for bad and time will tell if this feature has brought good stuff or it has paved another brick in surveillance and privacy manipulation. As said for now option will prompt for agreement and let's hope that it will be used for good causes from this day into the future.
Read More
Fix BUGCODE_USB_DRIVER Error in Windows
This post will guide you in fixing yet another annoying Blue Screen of Death error, “BUGCODE_USB_DRIVER”. This particular BSOD error occurs due to some issue with usbhub.sys, winusb.sys, or usbport.sys system driver file. When you encounter this kind of Stop error on your Windows 10 PC, it indicates that an error has occurred in the Universal Serial Bus or USB driver. The USB driver is issued by Microsoft themselves and it comes along with the Windows 10 system which is why it is difficult to download its latest version using a web browser. Thus, you need to take some basic steps to resolve the problem. Carefully follow the given fixes below to fix the BUGCODE_USB_DRIVER Blue Screen error and before you proceed, you need to create a System Restore Point, this way you have some backup in case something goes out of hand.

Option 1 – Update the USB Controller Drivers

  • First, click the Start button and type “device manager”.
  • Then click on the “Device Manager” from the search results to open it.
  • From there, look for the “Universal Serial Bus controllers” option and then right-click on each one of the USB drivers and select the Update Driver from the menu.
  • Restart your PC and then click the “Search automatically for updated driver software” option.
You also have the option to update the motherboard and the USB driver from the manufacturer’s official website.

Option 2 – Check for any available Windows Updates

Another you can try is to check if there are any Windows Updates available to make sure that your Windows 10 PC has all the latest updates installed. All you have to do is go to Settings > Update &security. From there, just click on the Check for updates button.

Option 3 – Uninstall conflicting programs and services

There are certain programs like VMWare, Virtual Box, Hyper-V Virtualization services that might be in conflict with the USB port drivers on the parent operating system. Thus, you can try uninstalling the aforementioned programs and other similar ones to see if it fixes the BSOD error.
  • In the search box, type in “control” and then click on Control Panel (desktop app) among the search results.
  • After that, select Programs and Features from the list which will give you a list of all the programs installed on your computer.
  • From there, look for the concerned program and select it and then uninstall it.
Note: If you have downloaded the app from the Windows Store, you can simply right-click on it from the application list and then uninstall it. If uninstalling the programs mentioned above didn’t help, you might want to try putting your PC in a Clean Boot State to help you find the faulty program.
  • 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.)

Option 4 – Modify the Power Settings

  • In the Cortana Search box, type “power options” and then select Power Options from the search results.
  • After opening Power Options, click on Change plan settings for your selected power plan.
  • Next, click on Change advanced power settings.
  • Then look for USB Settings and click on it to expand it.
  • Now expand the USB selective suspend setting and then disable it.
  • After that, click on the Apply and then OK buttons to save the changes made.

Option 5 – Check for any hard disk errors

  • On your desktop, right-click on the “This PC” or computer icon and then select Manage to open the Disk Management. Here you get to check your drive’s health.
  • Next, click on Disk Management on the left side panel.
  • From there, check the state of your drives. If it shows that all your partitions are healthy then it means all is good and that the problem may have something to do with some physical issues with your hard drive.
You might also want to run the CHKDSK utility to help you fix any issues with your hard disk. If your hard drive has issues with integrity, the update will really fail as the system will think that it’s not healthy and that’s where the CHKDSK utility comes in. The CHKDSK utility repairs hard drive errors that might be causing the problem.
  • Open Command Prompt with admin privileges.
  • After opening Command Prompt, execute the following command and hit Enter:
chkdsk /f /r
  • Wait for the process to be completed and then restart your computer.
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
Cannot save media from Microsoft Photos
The Microsoft Photos app is a useful tool that allows users to view, edit, as well as create videos on their Windows 10 computers. Although it works just fine most of the time, there are some instances when you might encounter some issues when using it. One of these issues is when you cannot save media from the Photos app after you’ve edited an image. This is most likely related to a permission issue. However, according to some users, they got the error where the edited media file can’t be saved. When you encounter this kind of error, you will see the following error in your Photos app:
“It looks like you don’t have permission to save changes to this file. Try saving a copy instead.”
There are several options you can explore to resolve this error. You can try updating the Microsoft Photos app or verify the ownership of the destination folder. You can also re-register and reinstall the app. For more detailed instructions, make use of the options provided below.

Option 1 – Try to update the Microsoft Photos app

The first thing you can do to fix the problem is to update the Microsoft Photos app.
  • Open the Microsoft Store and click on the three horizontal dots for the menu located on the top right portion of the window to see the options.
  • Next, select Downloads and updates and then click the Get updates button in the top right. This will install any pending updates for all the apps including the Microsoft Photos app using the Microsoft Store.

Option 2 – Try to verify the ownership of the destination folder

The next thing you can do to fix the error is to verify the ownership of the folder because chances are, the location where you’re trying to save the file might not have enough permissions to read and write the file to the disk. Thus, you need to take ownership of the folder by following these steps:
  • 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 <path>
  • Note that the <path> is the location of the folder or file in File Explorer.
  • Now type and enter this second command: ICACLS <path> /grant administrators:F
  • Finally, once the command has been executed, restart your computer and then see if you can now access the folder or file.

Option 3 – Try resetting the Photos app

If the first option of restarting the background process of the Photos app didn’t work for you, you can try to reset the Photos app so that it will use the default factory settings. Note that this option works when you are experiencing this issue after making a couple of changes in the Photos app.
  • To get started in resetting the Photos app, open the Windows 10 Settings.
  • Then go to Apps > Apps & features.
  • After that, scroll down until you see the Photos app option – click on it and open its Advanced options.
  • From there, you will see the Reset button, click on it and click and then click on it once more to confirm.
Note: The process may take a couple of minutes to complete. Once it’s done, open the pictures again using the Photos app.

Option 4 – Try reinstalling the Photos app

If none of the first two options given above worked, then you might want to consider reinstalling the Photos app. Unlike what most users think, it isn’t really that hard reinstalling preinstalled apps as you have the Windows PowerShell for that. To use this program in reinstalling the Photos app, follow these steps:
  • Open the Windows PowerShell program with admin privileges and key in the following command:
Set-ExecutionPolicy Unrestricted
  • After that, execute this second command to re-register and reinstall the Microsoft Photos app.
Get-AppXPackage -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)AppXManifest.xml"}
Note: In the command given, do not forget to replace the “PackageFullName” with the actual package name for the Photos app. After executing the command, it will uninstall the Photos app from your computer so you need to install it again from the Windows Store by simply looking for it. Once you found it, just click on install to start the installation process.
Read More
PDF text disappears when editing or saving
If you are trying to save a file in a PDF format on your Windows 10 computer but then the PDF text content in an Adobe file suddenly disappears, then read on. This post will give you more insight into this issue. This kind of issue is rare and mostly occurs in forms that you can fill upon. In such a case, the text you enter in the form vanishes right after you click the Save button. One of the benefits of working with PDF files is that it has the ability to compress high-quality files to relatively small file sizes. This is really useful especially when you are saving hard drive space and you’re working with limited storage resources. However, these files can contain layered content if they are created from layered documents using applications like Adobe InDesign. Consequently, a single page of the PDF file can contain different layers with different content. So if you try to save or print a PDF file that contains layered content, the elements will disappear from the PDF. To resolve this issue, you can try to merge or flatten the file since it will help keep the changes in the PDF file. On the other hand, you can no longer make any alterations or form data once you flatten the file. Another thing to keep in mind is that merging or flattening the file can’t be undone so you might want to save another copy of the file before you proceed.

Option 1 – Print to PDF

  • First, you have to open the desired PDF file and tap the Ctrl + P keys to open the Print dialog box.
  • After that, select the “Microsoft Print to PDF” option as the printer.
  • Once the action is confirmed, it will regenerate another version of the PDF file with the default settings and merge all the existing layers into a single layer.
  • On the other hand, you can also click on the “File” menu of the PDF file and select Print.
  • From there, click on the Print button and select “PostScript (*.ps)” as the “Save as” type to save a PostScript copy of the original PDF file.
  • Once you’re done, double click on the .ps file to open the file in the Adobe Distiller which will flatten the file automatically and convert it to a PDF file with only one visible layer.

Option 2 – Save the PDF file as an Optimized PDF file

If you are using the Acrobat Reader Pro version such as the Acrobat Pro, Foxit, and so on, you can try to flatten the layers by saving the PDF file as an Optimized PDF file. Refer to these steps to do so:
  • Select File > Save as > Optimized PDF.
  • Next, select the Transparency checkbox from the Settings window that opens.
  • Then click on the Save button to apply and save the changes made. After that, the PDF text content should not disappear when you try to save a file on your Windows 10 computer.
Read More
a New browser from DuckDuckGo is coming
DuckGoGo a popular private search engine is releasing its first browser soon that is focused on privacy like its search engine. duckduckgo browserFrom the recent blog, Gabriel Weinberg, CEO of DuckDuckGo, has stated:
“Like we’ve done on mobile, DuckDuckGo for desktop will redefine user expectations of everyday online privacy,”
From everything that we have learned so far, the browser will be focused on making privacy super easy and simple, eliminating tons of different settings about privacy, and making the whole environment robust privacy protection all set by default. Settings will be applied in all fields, across search, browsing, email, and more. Gabriel also said that aim of the browser is not just a privacy browser, it is meant to be built and used as your everyday browser, for everyday use that protects your privacy as a bonus. One interesting thing that was stated is that browser itself is built upon OS-provided rendering engines instead of typical Chromium. DuckDuckGo says this approach will strip away a lot of the unnecessary cruft and clutter that's accumulated over the years in major browsers. Also, the company stated that when compared to Chrome, the DuckDuckGo app desktop is cleaner, way more private and that early tests have found out that it is significantly faster as well. Is this just corporate advertising or reality? We will see once the browser is released, or once it is released for public testing. Until then take care and happy holidays.
Read More
1 2 3 170
Logo
Copyright © 2022, ErrorTools. All Rights Reserved
Trademarks: Microsoft Windows logos are registered trademarks of Microsoft. Disclaimer: ErrorTools.com is not affiliated with Microsoft, nor claim direct affiliation.
The information on this page is provided for information purposes only.
DMCA.com Protection Status