Windows Technical



To lock your workstation run a batch file containing:

C:\Windows\System32\rundll32.exe user32.dll,LockWorkStation

Windows 10
To change the colors of
create a shortcut to:
C:\Windows\System32\rundll32.exe shell32.dll,Control_RunDLL desk.cpl,Advanced,@Advanced
To change the font sizes:
To fix start menu problem:
Type the following commands at the CMD prompt and hit on Enter Key:
powershell sfc /scannow dism /online /cleanup-image /restorehealth
7. If the above didn’t resolve the issues. Then perform the below methods.
8. If the above commands both completed and show no remaining issues, run these commands: powershell Get-AppXPackage -AllUsers |Where-Object {$_.InstallLocation -like “*SystemApps*”} | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”} R
  1. Press Windows Key + R on your keyboard.
  2. Key in PowerShell and hit Enter.
  3. Right click on the PowerShell icon on the taskbar and select Run as Administrator.
  4. Now paste the following command in the Administrator: Windows PowerShell window and press Enter key: Get-AppXPackage -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”}
  5. Wait for PowerShell to execute and complete the command. Ignore the few errors (in red color) that may pop up.
  6. When it finishes, try hitting Start and hopefully it’ll start working.

Change the width of scroll bars

: HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics
Change to -500 to double the size
Change to -500 to double the size
To speedup:
Disable these:
WIN+R keys together to launch RUN dialog box and type services.msc
Following are some services which can be safely set to MANUAL:

  • Connected User Experiences and Telemetry (To turn off Telemetry and Data Collection)
  • Diagnostic Policy Service
  • Diagnostic Tracking Service (To turn off Telemetry and Data Collection)
  • dmwappushsvc (To turn off Telemetry and Data Collection)
  • Downloaded Maps Manager (If you don’t use Maps app)
  • IP Helper (If you don’t use IPv6 connection)
  • Program Compatibility Assistant Service
  • Remote Registry (You can set it to DISABLED for Security purposes)
  • Secondary Logon
  • Security Center
  • Touch Keyboard and Handwriting Panel Service (If you don’t want to use touch keyboard and handwriting features)
  • Windows Defender Service (If you don’t use Windows Defender program)
  • Windows Error Reporting Service
  • Windows Image Acquisition (WIA) (If you don’t have a scanner)
  • Windows Search (If you don’t use Windows Search feature frequently)
To get rid of unwanted new services like Cortana
Create and run a     k.bat file with this content:
taskkill /f /im SearchUI.exe
taskkill /f /im RuntimeBroker.exe
mkdir %windir%\SystemApps\NoCortana
move %windir%\SystemApps\Microsoft.Windows.Cortana_cw5n1h2txyewy %windir%\SystemApps\NoCortana
right click on the in task manager.
open their location.
prepare your rename action.
kill the service task manager and immediately rename.
Open Task Manager and have it show More details. Right click on Cortana and select Open file location.
Task Manager
Now find the Cortana folder, right click it, and select Rename. I would recommend just adding “.bak” to the end of the folder name so you can find it easily if you want to restore it back to it’s original status. Rename
If you attempt to rename, it will tell you that the folder is in use. Folder In Use
This is when you want to go back to Task Manager, right click on Cortana, and select End task. End task
Right after the task ends, switch back to the Folder In Use window and click Try Again. The folder should be renamed and the Cortana task will not start again.
no bootable device can be found after disk cloning

 Create EFI System Partition (ESP) to Make a GPT bootable disk

UEFI boots from an EFI system partition. 
– Boot the computer using the Windows  installation media.
– bring up the command prompt.
– Run the following commands at the command prompt.

list disk
select disk # Note: Select the disk where you want to add the EFI System partition.
list partition
select partition # Note: Select the Windows OS partition (# number) or your data partition.
shrink desired=100
create partition efi size=100
format quick fs=fat32
assign letter=k

list partition
list volume Note: Note the volume letter where the Windows OS is installed.

bcdboot D:\windows /s k:
Note: Replace “D” with the volume letter of the Windows OS partition, k: is your efi partition

BCDBoot copies the boot files from the Windows partition to the EFI System partition and creates the BCD store in the same partition.