Moving the boot partition of Windows 7 to another drive

Sometimes when you install Windows 7 with more than 1 drive connected,
the System partition and System Reserved partition that contains boot files are put into different drives
this makes you unable to boot without both your drive connected.

To fix it :

  1. Mark the system partition as active in disk management
  2. Insert installation disc (to be used later)
  3. Power down system
  4. Disconnect any other drive except the one that contains system partition
  5. Turn power on
  6. Boot to the installation disc
  7. Use startup repair (it may take up to 3 times with a restart for each until it’s fixed)
  8. After doing this procedure, the System Reserved partition that’s in another drive can be safely deleted.

Notes : System reserved partition is not needed for Windows at all.
As long as you have the Windows installation disc and the boot files in your system partition, you should be fine.
For some laptops, using the usb 3 port for the installation flashdrive/dvd makes the MBR/boot loader fixing process to fails,
so make sure to use the standard usb port whenever possible.

Block any websites except the specified ones in Mikrotik

For this example we’re blocking everyhing except gmail and google, gstatic is for the images and icons in gmail

Make these two L7 Protocols :

  1. Name : allow
    Regexp : ^.+(gmail|google|gstatic).*$
  2. Name : block
    Regexp : ^.*$

Make these four firewall filters, make sure they’re in this order :

  1. Chain : forward
    Src Address :
    Protocol : 6 (tcp)
    Any Port : 80,443
    L7 Protocol : allow
    Action : accept
  2. Chain : forward
    Dst Address :
    Protocol : 6 (tcp)
    Any Port : 80,443
    L7 Protocol : allow
    Action : accept
  3. Chain : forward
    Src Address :
    Protocol : 6 (tcp)
    Any Port : 80,443
    L7 Protocol : block
    Action : drop
  4. Chain : forward
    Dst Address :
    Protocol : 6 (tcp)
    Any Port : 80,443
    L7 Protocol : block
    Action : drop

*Notes :
You can use src and dst address list to target more than one IP
For this example we’re blocking everyhing except gmail and google, gstatic is for the images and icons in gmail

How to set the permission of all files and folders quickly in Windows

Sometimes when moving or copying files using an administrator account, the permissions change so the files may not be accessible by any standard users.
To change all the files and folders’ permissions back :

  1. Change the standard account to admimistrator
  2. Log in using that account
  3. Right click the main folder that has all the files and folders inside
  4. Go to Properties > Security tab > Advanced > Change Permissions
  5. Add or edit the permissions to your liking and then tick the “Replace all child …” option
  6. Click OK then YES to apply the new permissions
  7. Change the account back to standard account