Skip to content

Instantly share code, notes, and snippets.

View vivekwebm2020's full-sized avatar

VWEBM vivekwebm2020

View GitHub Profile
@vivekwebm2020
vivekwebm2020 / rarreg.key
Created January 21, 2022 11:38 — forked from MuhammadSaim/rarreg.key
Step 1: Create a file called rarreg.key Step 2: Paste into the file the raw content of this gist Step 3: Go to Winrar install directory (by default => c:\ProgramFiles\WinRAR\ ) Step 4: Paste the rarreg.key into WinRAR directory Step 5: Enjoy
RAR registration data
WinRAR
Unlimited Company License
UID=4b914fb772c8376bf571
6412212250f5711ad072cf351cfa39e2851192daf8a362681bbb1d
cd48da1d14d995f0bbf960fce6cb5ffde62890079861be57638717
7131ced835ed65cc743d9777f2ea71a8e32c7e593cf66794343565
b41bcf56929486b8bcdac33d50ecf773996052598f1f556defffbd
982fbe71e93df6b6346c37a3890f3c7edc65d7f5455470d13d1190
6e6fb824bcf25f155547b5fc41901ad58c0992f570be1cf5608ba9
@vivekwebm2020
vivekwebm2020 / index.html
Created January 22, 2022 21:57 — forked from MidnightLightning/index.html
A local file to generate complex passwords based on a more user-friendly seed
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Password-generating sidebar</title>
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<meta http-equiv="content-style-type" content="text/css" />
<style type="text/css">
body { font-size:10pt; }
@vivekwebm2020
vivekwebm2020 / Personal Windows 10 customization script.bat
Created January 23, 2022 12:42 — forked from ScribbleGhost/Personal Windows 10 customization script.bat
A personal collection of Windows 10 customizations. Run as admin. Has to be run as a batch file, not in CMD.
REM ----------------------------------------------------------------------------------------------------------
REM ### Apps and app suggestions
REM ----------------------------------------------------------------------------------------------------------
REM TITLE: Turn Off Automatic Installation of Suggested Apps in Windows 10
REM LINK: https://www.tenforums.com/tutorials/68217-turn-off-automatic-installation-suggested-apps-windows-10-a.html
REM OPTIONS: 0x00000001=On, 0x00000000=Off
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /V "SilentInstalledAppsEnabled" /T "REG_DWORD" /D "0x00000000" /F 1>NUL 2>&1
@vivekwebm2020
vivekwebm2020 / restore-wallpaper-rights.ps1
Created January 26, 2022 23:11 — forked from fernandoacorreia/restore-wallpaper-rights.ps1
Windows PowerShell script to restore the right to set your desktop wallpaper when a group policy blocked it.
# Windows PowerShell script to restore the right to set your desktop wallpaper when a group policy blocked it.
# Must be executed as administrator.
# Automates the steps described at http://neuralfibre.com/paul/it/how-to-block-your-corporate-wallpaper-in-windows
Set-StrictMode -Version 2.0
function enable-privilege {
param(
## The privilege to adjust. This set is taken from
@vivekwebm2020
vivekwebm2020 / Windows10RegistryHacks.md
Created January 26, 2022 23:20 — forked from JohannesMP/Windows10RegistryHacks.md
A small collection of Registry hacks for Windows 10 installations

Note: for any folder not found, navigate as far as possible, then create as a new Key

Disable Downloads like Candy Crush, etc.

  • HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\CloudContent
  • Dword DisableWindowsConsumerFeatures set to 1

Disable Lock screen, just show login form

# Source: https://superuser.com/a/1201549
function force-mkdir($path) {
if (!(Test-Path $path)) {
#Write-Host "-- Creating full path to: " $path -ForegroundColor White -BackgroundColor DarkGreen
New-Item -ItemType Directory -Force -Path $path
}}
function Takeown-Registry($key) {
@vivekwebm2020
vivekwebm2020 / command-prompt.reg
Created February 4, 2022 23:35 — forked from ebicoglu/command-prompt.reg
Useful developer Windows right click items (context menu)
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\background\shell\Command Prompt *]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\background\shell\Command Prompt *\command]
@="cmd.exe /s /k pushd \"%V\""
@vivekwebm2020
vivekwebm2020 / amelioration_20H2.bat
Created February 6, 2022 22:22 — forked from mrzcn/amelioration_20H2.bat
Windows 10 AME BATCH Script
:: Windows 10 AME BATCH Script
:: v2004.2021.04.01
@echo off
pushd "%~dp0"
echo.
echo :: Checking For Administrator Elevation...
echo.
timeout /t 1 /nobreak > NUL
@vivekwebm2020
vivekwebm2020 / @ batch scripts for power users.md
Created February 6, 2022 22:23 — forked from AveYo/@ batch scripts for power users.md
Windows batch scripts for power users

windows_update_toggle.bat v10.1 final
~ one script to rule them all!
~ block build upgrades and/or automatic updates without breawking Store downloads and Defender protection updates
~ there is a lot of focus on Defender updates working independently, unlike any other updates "management" solution
~ ifeo safe blocking with no destructive changes of ownership, deleting files, removing tasks, or over-blocking
~ toggle everything from the Desktop right-click context menu!
but wait, there is more:
~ hide/unhide/install update lists with counter at the Desktop right-click context menu!

Previous update toggle batch suite scripts have been overwritten on pastebin, but will still be available here:

@vivekwebm2020
vivekwebm2020 / EncryptAndDecrypt.vbs
Created February 6, 2022 22:39 — forked from albert1205/EncryptAndDecrypt.vbs
Encrypt And Decrypt String by VBScript
Call EncryptTool
Call DecryptTool
'------------------------
'【 加密字符串 】
'------------------------
Private Function Encrypt(Plaintext)
Const offset = 10
Const minAsc = 33