Skip to content

mr0developer/PCTipsandInfo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 

Repository files navigation

PCTipsandInfo

Interesting and helpful info on various topics. This list will be updated from time to time.

Restore old Right-click Context menu in Windows 11

Copy and paste this into an command prompt.

No need to reboot. Note- it will restart windows explorer though.

:: Set "Old" Explorer Context Menu as Default
reg add "HKEY_CURRENT_USER\SOFTWARE\CLASSES\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" /ve /f

:: Remove Explorer "Command Bar"
reg add "HKCU\Software\Classes\CLSID\{d93ed569-3b3e-4bff-8355-3c44f6a52bb5}\InprocServer32" /f /ve

:: Restart Windows Explorer. (Applies the above settings without needing a reboot)
taskkill /f /im explorer.exe
start explorer.exe

:: Empty Comment (Prevents you from having to press "enter" to execute the line to restart explorer.exe)

If, you want the windows 11 style back....

:: Restore Win 11 Explorer Context Menu
reg.exe delete "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}" /f

:: Restore Win 11 Explorer Command Bar
reg.exe delete "HKCU\Software\Classes\CLSID\{d93ed569-3b3e-4bff-8355-3c44f6a52bb5}" /f

:: Restart Windows Explorer. (Applies the above settings without needing a reboot)
taskkill /f /im explorer.exe
start explorer.exe

:: Empty Comment (Prevents you from having to press "enter" to execute the line to restart explorer.exe)

Steps to fix unarc.dll error and error code - 11

Finally found a fix for Unarc Error Codes Tried "every" bullshit advice on Youtube. Probably "25 different suggestions" and NONE work. Everyone always comments right away "VCredist, bad ram stick, disable antivirus, page file size, clear temp folder, sfc scan checks" lolol the list goes on and on. That's not the fix for a lot of people. Try this if you have the latest Intel gen processors and run into these Unarc error codes:

Set Power Plan in Windows to "Balanced"

Edit Power Plan --> Advanced Power Plan Options --> Processor Power Management --> maximum processor state at "99%

Open Msconfig --> boot --> Advanced Options --> Set cores to 6 - 8. (Depending on what processor you have) I found the reason for Unarc error codes to pop up or BSOD when installing DODI/Fitgirl repack was because "the way these massive 50-100gb files have to be decompressed causing the processor to overheat at 95C Degrees" when monitoring HWInfo and therefore causing windows to throttle with error codes or BSODs. By Setting these 2 things, my CPU Temps stayed stable 60C Degrees thus not prompting any errors

Is it possible to spoof user-agent and OS with Chrome?

You can change the User Agent string in Dev Tools:

Open Developer Tools (F12) image

Show the Console Drawer at the bottom by hitting Esc image

Add the Network Conditions tab to the drawer image

Under User Agent, uncheck "Select automatically", and pick a browser you wish to emulate or customize the string however you'd like image

How can I permanently disable Windows Update service and better control when Update is run?

By modifying the group policy

Open "Start" Or open the Run app (win + R)

Search for gpedit.msc, then click on the top result to launch the local Group Policy Editor.

Navigation to the following path: Computer Configuration>Administrative Templates>Windows Components>Windows Update>Manage end user experience

Double click on the "Configure Automatic Update" policy on the right side.

Select the disable option to permanently turn off automatic updates on Windows 11.

Click the "Apply" button.

Click the "OK" button.

After completing these steps, Windows 11 will automatically stop downloading and installing updates.

OR

By modifying the registry

Press Win+R to open the "Run" dialog box, enter regedit, and then press Enter to open the Windows Registry Editor.

Enter the following path in the address bar and press enter

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows image Right-click on the Windows folder and select New > Key. image Rename the newly created key as WindowsUpdate and press enter to save. image Now, right-click on the new WindowsUpdate folder and select New > Key again. image Name the key AU. image Move your cursor to the adjacent panel, right-click anywhere, and select New followed by DWORD (32-bit) Value. image Rename the new DWORD Value as NoAutoUpdate. image Right-click on the NoAutoUpdate value and choose Modify (or double-click on it to bring up the Modify dialogue box). image The default value data will be 0, i.e., disabled; change the value data to 1 and enable the NoAutoUpdate. image

If you need to update the system, you must manually perform this operation from "Settings">"Windows Update", and then click the "Check for Updates" button.

How can I prevent VS Code from replacing a newly opened, unmodified (preview) tab with a subsequently opened one?

When you [single-]click a file in the left sidebar's file browser or open it from the quick open menu (Ctrl-P, type the file name, Enter), Visual Studio Code opens it in what's called "Preview Mode", which allows you to quickly view files.

Preview Mode tabs are not kept open. As soon as you go to open another file from the sidebar, the existing Preview Mode tab (if one exists) is used. You can determine if a tab is in Preview Mode, by looking at its title in the tab bar. If the title is italic, the tab is in preview mode.

To open a file for editing (i.e. don't open in Preview Mode), double-click on the file in the sidebar, or single-click it in the sidebar then double click the title of its Preview Mode tab.

If you want to disable Preview Mode all together, you can do so by setting "workbench.editor.enablePreview": false in your settings file. You can also use the "workbench.editor.enablePreviewFromQuickOpen" option to disable it only from the quick open menu.

Before you can disable Preview Mode, you'll need to open your Settings File.

Pro Tip: You can use the Command Palette(shortcut Ctrl+Shift+P) to open your settings file, just enter "Preferences: Open User Settings"!

Once you've opened your settings file (your settings file should be located on the right), add the "workbench.editor.enablePreview" property, and set its value to false.

GPedit.msc missing

If you can’t find gpedit.msc (gpedit.msc not found error) on Windows 10. You need to make a gpedit_enabler.bat file:

1 Create a new text file -> copy & paste the following content into it -> give it a name (like gpedit_enabler) and save it as a bat file.

@echo off

pushd "%~dp0"

 

dir /b %SystemRoot%\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientExtensions-Package~3*.mum >List.txt

dir /b %SystemRoot%\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientTools-Package~3*.mum >>List.txt

 

for /f %%i in ('findstr /i . List.txt 2^>nul') do dism /online /norestart /add-package:"%SystemRoot%\servicing\Packages\%%i"

pause

2.save file GPedit.bat

File type to all

  1. then run this file as administrator

My windows 11 WiFi isn't showing up at all fixed

It appears the DNS Client service is set to "Disabled". To set the startup type of the service to Manual, follow these steps:

Open RegEdit.exe and go to:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dnscache

Double-click "Start" and set its data to "3".

Close RegEdit.

Restart Windows.

Windows 11 basic shortcuts

About

Interesting and helpful info on various topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published