Window - Other

How to fix "The default gateway is not available" ?

Uninstall Network Adapter And Restart PC.

How to fix "The User Profile Service failed the logon" ?

Example of error

The User Profile Service service failed the logon.

User profile cannot be loaded.


Solution

Method 1 :

  1. Turn on Window in Safe Mode.
  2. Run dialog : regedit.
  3. Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList.
  4. You will see 2 same folder with same name. (1 with .bak, 1 without .bak)
  5. Rename folder without .bak, add .ba at the end.
  6. Rename folder with .bak, remove .bak.
  7. Rename folder with .ba, rename .ba to .bak.
  8. Click on folder without .bak.
  9. Modify RefCount to 0 and State to 0.
  10. Restart the computer.


Method 2 :

  1. Run dialog : services.msc.
  2. Find the System Event Notification Service Properties.
  3. Turn the service to manual and turn it back to automatic.
  4. Click Apply then OK.
  5. Find the COM+ Event System Properties.
  6. Turn the service to manual and turn it back to automatic.
  7. Click Apply then OK.


Method 3 :

C:\Users\USER-PC>netsh winsock reset


Method 4 :

  1. Run dialog : regedit.
  2. Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SVCHOST.
  3. In this key, create new Multi-String Value named GPSvcGroup and valued GPSvc.
  4. Create new key named GPSvcGroup.
  5. In this key, create 2 DWORD.
  6. First DWORD named AuthenticationCapabilities and valued 3020 in hexadecimal or 12320 in decimal.
  7. Second DWORD named CoInitializeSecurityParam and valued 1 in hexadecimal.
  8. Restart the computer.

How to fix "This app has been blocked for your protection" ?

  1. Open cmd in administrator.
  2. Run command 1.
  3. Sign out and sign in administrator account.
  4. Find that app installer and install it.
  5. Sign out and sign in back to the user account.
  6. Open cmd in administrator.
  7. Run command 2.


Command 1

net user administrator /active:yes


Command 2

net user administrator /active:no

How to Fix "This copy of Windows is not genuine" ?

Method 1 :

C:\Users\USER-PC>slmgr -rearm


Method 2 :

C:\Users\USER-PC>takeown /f "% windir %\System32\slui.exe"
C:\Users\USER-PC>icacls "%windir%\System32\slui.exe" /deny *S-1-1-0:(X)

How to fix "Windows Photo Viewer can’t open this picture" ?

  1. Click on folder that stored the photo with (Right Mouse Button)RMB.
  2. Open Properties, then click on Security tab.
  3. Click on Advanced button.
  4. Check Replace all child object permission entries with inheritable permission entries from this object option.
  5. Select the permission entries and click on disable inheritance button.
  6. The Block inheritance pop up will show, click on Convert inherited permissions into exploit permissions on this object.
  7. If Windows Security pop up shown, click on Yes.
  8. Repeat step 5, 6, 7 if there is more than one of permission entries.
  9. After done, click on OK and OK again.

How to fix "Winload.efi" error ?

Method 1 :

C:\Users\USER-PC>bcdedit
C:\Users\USER-PC>bcdedit -set {current} nointegritychecks 1


Method 2 :

C:\Users\USER-PC>sfc /scannow


Method 3 :

C:\Users\USER-PC>chkdsk /f /r

How to fix "Your interactive logon privilege has disabled" ?

  1. In the AD Server, Right-Click the user to open the user's properties.
  2. Go to Terminal Services logon.
  3. Make sure Deny this user permissions to log on to any Terminal Server option is unchecked.

How to Fix “Publisher Could Not Be Verified” Error on Windows 11

Installing Verified Certificates

  1. Right-click on the MSIX/MSIXBUNDLE package and click on Properties in the context menu.
  2. Move to the Digital Signatures tab and click on Details. If Digital Signatures does not appear here, move to the next section for a working solution.
  3. Click on View Certificate.
  4. Click on Install Certificate.
  5. A new Certificate Import Wizard will open up. Here, select Local Machine and click on Next.
  6. Choose Place all certificates in the following store and then click on Browse.
  7. In the tiny pop-up window, scroll down and choose “Trusted People” and click on “OK”.
  8. Click on Next and Finish to import the certificate.
  9. As you can see here, the signed certificate has been installed.
  10. You can install the app without any errors now.


PowerShell

  1. Right-click on the APPX/APPXBUNDLE package and click on Properties in the context menu.
  2. Under the General tab in the Properties window, you will find a Security option at the bottom. Here, check the box against Unblock and then click on OK. This is a preliminary action meant to allow the application to install.
  3. Double-click on the app and try installing it. If it’s still showing the error, move to the next step.
  4. Right-click on the MSIX/ MSIXBUNDLE package and click on Show more options.
  5. Click on Extract to “folder\”. This will extract the package and will create a folder in the same directory.
  6. Open the extracted folder, and you will find an AppxManifest.xml file.
  7. Right-click on the XML file and choose Copy as path. This will copy the file path to the clipboard, which we will need later on.
  8. Before we install the app using PowerShell, we need to change an important setting on Windows 11.
  9. Open Developer settings.
  10. Enable the toggle next to Developer Mode. This will allow you to sideload MSIX/MSIXBUNDLE packages from any source, even without a certificate.
  11. Open PowerShell as Administrator.
  12. Enter the command: Add-AppxPackage -Register filepath. Replace filepath with the path of the XML file you copied.
  13. As you can see here, the app has been installed on my Windows 11 PC. Bear in mind, you can’t delete the extracted folder as that’s the source from where the application is running.






How to fix a Pendrive that can not be opened ?

Example of error

  1. The disk is write-protected. Remove the write-protection or use another disk.
  2. E:/ is not accessible. The file or directory is corrupted and unreadable.


Solution

  1. Click Start to search CMD.
  2. Open CMD and enter command 1.
  3. After entering command 1, click enter and the computer will automatically start repair your pendrive.
  4. The chkdsk command checks a disk for structure corruption. The E: tells it what drive letter to use and the /r tells it to repair the issues it finds.
  5. When it is almost complete, it will ask you if you want to save lost chains into files. You may choose yes if you plan to use it.
  6. After the process is completed, you can open your pendrive !


Command 1

chkdsk E: /r


Note : There are many reasons leading to pendrive can not be opened or damaged, some are software problems and some are hardware problems. The above is only one of the solution, not applicable to all situations.

How to Fix All .DLL file Missing Error ?

  1. Go to Microsoft.
  2. Search for DirectX End-User Runtime Web Installer.
  3. Download the installer and install.

How to Fix All Windows Update Error ?

  1. Run dialog : services.msc.
  2. Find the Background Intelligent Transfer Service.
  3. Turn the service to stop.
  4. Find the Windows Update.
  5. Turn the service to stop.
  6. Go to C:\Windows\SoftwareDistribution.
  7. Delete all the content of DataStore and Download folder.
  8. Start the stopped services.
  9. Restart the computer.
  10. Go to this link.
  11. Search for window update. (Please specifics your window version)
  12. Select the important updates and install.

How to fix Android device not showing in Windows Explorer ?

  1. Run dialog : devmgmt.msc.
  2. Look for the phone driver that can't be installed.
  3. Right-Click and click Update Driver Software....
  4. Click Browse my computer for driver software.
  5. Change the location to C:\Windows\INF.
  6. Click Let me pick from a list of device drivers on my computer.
  7. Select Android Phone and click Next.
  8. Select MTP USB Device and click Next.
  9. Click Close after Windows finished install the driver.