Wednesday, December 13, 2017

How to fix Windows not starting after resizing partitions (errorcode 0xc0000225)

1. Boot Windows from installation media.
2. Choose Repair PC option and launch Command Line.
3. Enter the follwing command:
bootrec /rebuildbcd

Tuesday, October 17, 2017

How to schedule a task to run when shutting down windows


  1. Launch Local Group Policy Editor by pressing Ctrl+R and enter "gpedit.msc" in the field.
  2. Navigate to Computer Configuration -> Windows settings -> Scripts -> Shutdown
  3. Right click on Shutdown and choose Properties.
  4. In the window appearing click the button "Add...".

Saturday, September 2, 2017

How to switch Windows 10 between IDE/AHCI/RAID modes without reinstalling

1. Right click on Start Menu and select "Command Prompt (Admin)".
2. Enter the following command:
bcdedit /set safeboot minimal
3. Restart the computer, enter BIOS setup and change the SATA operation mode how you like.
4. Save changes and let the Windows start. It will boot to Safe Mode.
5. Right click on Start Menu and select "Command Prompt (Admin)".
6. Enter the following command:
bcdedit /deletevalue safeboot
7. Restart the computer. Windows 10 will boot normally.

How to export passwords from Google Chrome

1. Open Google Chrome.
2. Type "chrome://flags/" in the address bar.
3. Press Ctrl+F to get the search field and find "Password export and import".
4. Enable it.
5. "RELAUNCH NOW" button will appear, press it to apply the change you made.
6. Type "chrome://settings-frame/" in the address bar.
7. Click the link "Show advanced settings" on the bottom of the page.
8. Click the link "Manage passwords".

And Export and Import button will appear in middle.

Monday, March 20, 2017

How to change Remote Desktop port number


  1. Launch regedit by pressing Win+R and enter "regedit" in the field.
  2. Go to the following folder:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp
  3. Open the entry named "PortNumber".
  4. On the right side of the window, under Base part, set the radio button from hexadecimal to decimal and then enter the desired port number in the left side.
  5. Launch Windows Defender Firewall with Advanced Security by pressing Ctrl+R and enter "wf.msc" in the field.
  6. In the left column, select "Inbound Rules".
  7. In the right column, select "New Rule..."
  8. In the appearing window, select "Port" radio button and click Next.
  9. Leave the top radio button on TCP and enter the number given previously in regedit and click Next.
  10. Leave the radio button on the top option and click Next.
  11. Select the network types you want to enable RDP on (default is all of them) and click Next.
  12. Enter a name (up to you, it has no effect on functioning) and click Finish.