Sunday, October 17, 2021

Manual Routing Metric Setting on Windows

https://serverfault.com/questions/238695/how-can-i-set-the-metric-of-a-manually-added-route-on-windows

I know this is late but I just ran into this today - I wanted to connect to gmail but it was blocked from the Domain LAN Web Filter. I brought in a wifi usb to get to the non-domain network and was able to get to gmail by changing the priority of the traffic. This still allowed me to access the domain network as well. To find out the interface #'s
Route Print
Use Netsh to set the lower value on the usb wifi device interface. The lower value means higher priority. This will remove the automatic setting as well.
netsh interface ipv4 set interface 25 metric=2
Use Route Print to verify If you make a mistake you can turn the interface back to automatic
netsh interface ipv4 set interface 25 metric=automatic
For more about netsh see http://www.colorconsole.de/cmd/en/Windows_Vista/netsh/interface/ipv4/set/interface.htm

Tuesday, May 11, 2021

Mapped Network Drive Failed

 Map Network drive with below error notification :

You can't access this shared folder because your organization's security policies block unauthenticated guest access.

as shown below :


Here is a simple remedy for it.
  • Open Registry Editor (Regedit)
  • Go to :  Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters
    • Modify "AllowInsecureGuestAuth" value to "1"

    Close Registry Editor, and try again mapping your drive. 

    It should be working properly now.




    Friday, March 26, 2021

    How to delete the Recovery Partition in Windows 10

     Source : https://superuser.com/questions/1023765/how-to-delete-the-recovery-partition-in-windows-10

    https://www.diskinternals.com/partition-recovery/recovery-partition-and-how-to-delete-it/

    A recovery partition is a partition on the disk that helps to restore the factory settings of the OS (operating system) if there is some kind of system failure. This partition has no drive letter, and you can use only Help in Disk Management.

    As mentioned above, when a system is updated, a new recovery partition is created. This means the old recovery partition will be outdated. That means, that you better keep the current one and delete the old recovery partition.

    But which one is old and which one is current, you may ask?

    recovery partition in cmd

    For that, you will need to use the command line: right-click Start and select "Command Prompt (administrator)". In the window titled "cmd.exe", type the following command: "reagentc / info" and press Enter. In the Windows RE location line, you will get something like: "...\device\harddisk1\partition2\..." Now you need to recheck it with Diskpart; and with that tool, you can also delete it.

    To erase the disk recovery partition, you can use the built-in utility Diskpart.

    So, in the same Command Prompt window enter "diskpart". Then type "list disk":


    DISKPART> list disk DISKPART> select disk 4 Disk 4 is now the selected disk. DISKPART> list partition Partition ### Type Size Offset ------------- ---------------- ------- ------- Partition 1 Primary 223 GB 1024 KB Partition 3 Recovery 450 MB 223 GB DISKPART> select partition 3 Partition 3 is now the selected partition. DISKPART> delete partition override DiskPart successfully deleted the selected partition. DISKPART> list partition Partition ### Type Size Offset ------------- ---------------- ------- ------- Partition 1 Primary 223 GB 1024 KB