Saturday, December 28, 2024

We can't Activate windows on this device as we can't connect to your organization Error 0xc004f074

We can't Activate windows on this device as we can't connect to your organization Error 0xc004f074

 

Method # 1 Commands

sfc/scannow

DISM /Online /CLeanup-Image /RestoreHealth


Method # 2 Commands

slmgr.vbs /dlv

slmgr.vbs -ipk (product key)

*To find your Windows Product Key command

wmic path softwarelicensingservice get OA3xOriginalProductKey

slmgr.vbs -ato


Method # 3 Commands

slmgr /skms kms8.msguides.com

slmgr /ato

Tuesday, December 24, 2024

How to Enable Missing High Performance Plan in Power Option Plan Windows 10

How to Enable Missing High Performance Plan in Power Option Plan Windows 10

Windows offers you a variety of power plans. Depending on your situation, they let you customize the way your machine uses power to either extend the battery life or squeeze more performance out of your computer.

A power plan is a collection of hardware and system settings that manages how your computer uses power.

Power plans can help you save energy, maximize system performance, or achieve a balance between the two.

All users (standard and administrator) will be able to make changes to any power plan settings.

Changes made to a power plan will affect all users that have chosen the same power plan as their default active power scheme.

If you only see balanced plan in the power settings then it means you are missing high performance and ultimate power plan.

To get high performance and ultimate power plan you need to execute respective commands which are given below to get that power plan in the command prompt or windows powershell.


Ultimate Performance:

powercfg -duplicatescheme e9a42b02-d5df-448d-aa00-03f14749eb61

High Performance:

powercfg -duplicatescheme 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c

Balanced:

powercfg -duplicatescheme 381b4222-f694-41f0-9685-ff5bb260df2e

Power saver:

powercfg -duplicatescheme a1841308-3541-4fab-bc81-f71556f20b4a


For more information watch video tutorial

Monday, September 23, 2024

How to Fix "There were some problems installing updates, but we'll try again later" (0x80070643) Error

How to Fix "There were some problems installing updates, but we'll try again later" (0x80070643) Error



Code down below:

@echo off


:: Created by: Shawn Brink

:: Created on: October 1, 2015

:: Updated on: March 8, 2021

:: Tutorial: https://www.tenforums.com/tutorials/24742-reset-windows-update-windows-10-a.html



:: Prompt to Run as administrator

Set "Variable=0" & if exist "%temp%\getadmin.vbs" del "%temp%\getadmin.vbs"

fsutil dirty query %systemdrive%  >nul 2>&1 && goto :(Privileges_got)

If "%1"=="%Variable%" (echo. &echo. Please right-click on the file and select &echo. "Run as administrator". &echo. Press any key to exit. &pause>nul 2>&1& exit)

cmd /u /c echo Set UAC = CreateObject^("Shell.Application"^) : UAC.ShellExecute "%~0", "%Variable%", "", "runas", 1 > "%temp%\getadmin.vbs"&cscript //nologo "%temp%\getadmin.vbs" & exit

:(Privileges_got)


:: Checking and Stopping the Windows Update services

set b=0


:bits

set /a b=%b%+1

if %b% equ 3 (

   goto end1

net stop bits

echo Checking the bits service status.

sc query bits | findstr /I /C:"STOPPED" 

if not %errorlevel%==0 ( 

    goto bits 

goto loop2


:end1

cls

echo.

echo Cannot reset Windows Update since "Background Intelligent Transfer Service" (bits) service failed to stop. Please restart the computer, and try again.

echo.

pause

goto Start



:loop2

set w=0


:wuauserv

set /a w=%w%+1

if %w% equ 3 (

   goto end2

net stop wuauserv

echo Checking the wuauserv service status.

sc query wuauserv | findstr /I /C:"STOPPED" 

if not %errorlevel%==0 ( 

    goto wuauserv 

goto loop3


:end2

cls

echo.

echo Cannot reset Windows Update since "Windows Update" (wuauserv) service failed to stop. Please restart the computer, and try again.

echo.

pause

goto Start




:loop3

set app=0


:appidsvc

set /a app=%app%+1

if %app% equ 3 (

   goto end3

net stop appidsvc

echo Checking the appidsvc service status.

sc query appidsvc | findstr /I /C:"STOPPED" 

if not %errorlevel%==0 ( 

    goto appidsvc 

goto loop4


:end3

cls

echo.

echo Cannot reset Windows Update since "Application Identity" (appidsvc) service failed to stop. Please restart the computer, and try again.v

echo.

pause

goto Start



:loop4

set c=0


:cryptsvc

set /a c=%c%+1

if %c% equ 3 (

   goto end4

net stop cryptsvc

echo Checking the cryptsvc service status.

sc query cryptsvc | findstr /I /C:"STOPPED" 

if not %errorlevel%==0 ( 

    goto cryptsvc 

goto Reset


:end4

cls

echo.

echo Cannot reset Windows Update since "Cryptographic Services" (cryptsvc) service failed to stop. Please restart the computer, and try again.

echo.

pause

goto Start



:Reset

Ipconfig /flushdns

del /s /q /f "%ALLUSERSPROFILE%\Application Data\Microsoft\Network\Downloader\qmgr*.dat" 

del /s /q /f "%ALLUSERSPROFILE%\Microsoft\Network\Downloader\qmgr*.dat"

del /s /q /f "%SYSTEMROOT%\Logs\WindowsUpdate\*"



if exist "%SYSTEMROOT%\winsxs\pending.xml.bak" del /s /q /f "%SYSTEMROOT%\winsxs\pending.xml.bak" 

if exist "%SYSTEMROOT%\winsxs\pending.xml" ( 

    takeown /f "%SYSTEMROOT%\winsxs\pending.xml" 

    attrib -r -s -h /s /d "%SYSTEMROOT%\winsxs\pending.xml" 

    ren "%SYSTEMROOT%\winsxs\pending.xml" pending.xml.bak 

  

if exist "%SYSTEMROOT%\SoftwareDistribution.bak" rmdir /s /q "%SYSTEMROOT%\SoftwareDistribution.bak"

if exist "%SYSTEMROOT%\SoftwareDistribution" ( 

    attrib -r -s -h /s /d "%SYSTEMROOT%\SoftwareDistribution" 

    ren "%SYSTEMROOT%\SoftwareDistribution" SoftwareDistribution.bak 

 

if exist "%SYSTEMROOT%\system32\Catroot2.bak" rmdir /s /q "%SYSTEMROOT%\system32\Catroot2.bak" 

if exist "%SYSTEMROOT%\system32\Catroot2" ( 

    attrib -r -s -h /s /d "%SYSTEMROOT%\system32\Catroot2" 

    ren "%SYSTEMROOT%\system32\Catroot2" Catroot2.bak 

  


:: Reset Windows Update policies

reg delete "HKCU\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /f

reg delete "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\WindowsUpdate" /f

reg delete "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /f

reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\WindowsUpdate" /f

gpupdate /force



:: Reset the BITS service and the Windows Update service to the default security descriptor

sc.exe sdset bits D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)


sc.exe sdset wuauserv D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)


:: Reregister the BITS files and the Windows Update files

cd /d %windir%\system32

regsvr32.exe /s atl.dll 

regsvr32.exe /s urlmon.dll 

regsvr32.exe /s mshtml.dll 

regsvr32.exe /s shdocvw.dll 

regsvr32.exe /s browseui.dll 

regsvr32.exe /s jscript.dll 

regsvr32.exe /s vbscript.dll 

regsvr32.exe /s scrrun.dll 

regsvr32.exe /s msxml.dll 

regsvr32.exe /s msxml3.dll 

regsvr32.exe /s msxml6.dll 

regsvr32.exe /s actxprxy.dll 

regsvr32.exe /s softpub.dll 

regsvr32.exe /s wintrust.dll 

regsvr32.exe /s dssenh.dll 

regsvr32.exe /s rsaenh.dll 

regsvr32.exe /s gpkcsp.dll 

regsvr32.exe /s sccbase.dll 

regsvr32.exe /s slbcsp.dll 

regsvr32.exe /s cryptdlg.dll 

regsvr32.exe /s oleaut32.dll 

regsvr32.exe /s ole32.dll 

regsvr32.exe /s shell32.dll 

regsvr32.exe /s initpki.dll 

regsvr32.exe /s wuapi.dll 

regsvr32.exe /s wuaueng.dll 

regsvr32.exe /s wuaueng1.dll 

regsvr32.exe /s wucltui.dll 

regsvr32.exe /s wups.dll 

regsvr32.exe /s wups2.dll 

regsvr32.exe /s wuweb.dll 

regsvr32.exe /s qmgr.dll 

regsvr32.exe /s qmgrprxy.dll 

regsvr32.exe /s wucltux.dll 

regsvr32.exe /s muweb.dll 

regsvr32.exe /s wuwebv.dll

regsvr32.exe /s wudriver.dll

netsh winsock reset

netsh winsock reset proxy


:: Set the startup type as automatic

sc config wuauserv start= auto

sc config bits start= auto 

sc config DcomLaunch start= auto 


:Start

net start bits

net start wuauserv

net start appidsvc

net start cryptsvc


:: Restart computer

cls

echo It is required to restart the computer to finish resetting Windows Update.

echo.

echo Please save and close anything open now, before the computer is restarted.

echo.

pause

echo.

echo.

echo.

echo *** Restart computer now. ***

echo.

pause

shutdown /r /f /t 0

Friday, September 6, 2024

Fix This site can't provide a secure connection || Try running Windows Network Diagnostics in Chrome

Hi friends, This video tutorial is about "How to Fix This site can't provide a secure connection || Try running Windows Network Diagnostics in Chrome".

If you are facing problem like "This site can't provide a secure connection Try running Windows Network Diagnostics" in google chrome then do watch my this simple tutorial in which I will share easy way to Fix This site can't provide a secure connection || Try running Windows Network Diagnostics in Chrome.

Watch Video Tutorial

#googlechrome #thissitecantprovideasecureconnection #fixed #chrome #tutorial

Thursday, August 29, 2024

How to Lock Unlock Keyboard in Windows 10 PC or Laptop | Unlock Laptop Keyboard (Easy Way)

How to Lock Unlock Keyboard in Windows 10 PC or Laptop | Unlock Laptop Keyboard (Easy Way)

Hi friends, This video tutorial is about "How to Lock Unlock Keyboard in Windows 10 PC or Laptop | Unlock Laptop Keyboard (Easy Way)".

If you want to lock or unlock your laptop or pc keyboard while typing or playing games then do watch my this simple tutorial in which I will share easy way to Lock Unlock Keyboard in Windows 10 PC or Laptop | Unlock Laptop Keyboard.

Watch Video Tutorial :


#keyboard #lock #unlock #laptop #pc #unlocklaptopkeyboard

Wednesday, August 21, 2024

Your Device Is Missing Important Security and Quality Fixes Windows 10

 Your Device Is Missing Important Security and Quality Fixes Windows 10



Commands Used:

1: net stop cryptsvc
2: net stop bits
3: net stop msiserver
4: ren %systemroot%\softwaredistribution softwaredistribution.bak
5: ren %systemroot%\system32\catroot2 catroot2.bak
6: net start wuauserv
7: net start cryptSvc
8: net start bits
9: net start msiserver 
10: DISM /Online /Cleanup-Image /RestoreHealth
11: Sfc /scannow