Windows Storage

System Restore Point

A system restore point is a backup of important Windows files and the registry. This backup can be restored at any time in case these are issues with the system. [3]

Create a system restore point:

System Properties (sysdm.cpl) > System Protection > Create...

Restore the backup:

System Properties (sysdm.cpl) > System Protection > System Restore...

[4]

BitLocker

BitLocker is a drive encryption tool for Windows. It requires UEFI and TPM >= 1.2 to work. It will not work with legacy BIOS boot. [5] Secure Boot is not a requirement but strongly recommended as an additional layer of security. BitLocker will detect if Secure Boot was turned on or off. In either case, it will ask for a recovery key. [6]

As of Windows 8, if a Windows account is made using a Microsoft account, Windows will automatically upload BitLocker recovery keys online. They can be accessed here. [7]

Enable BitLocker encryption [8]:

  • Windows 11:

    • Settings > Privacy & security > Device encryption: On

  • Windows 10:

    • Settings > Update & Security > Device encryption: On

NFS

Windows Vista Professional or better is required for the NFS client and server features. For older versions of Windows, the Windows Services for UNIX (SFU) software package provides many client utilities including a NFS client.

Installation:

  • Install the NFS client services:

    • GUI: Control Panel > Programs > Programs and Features > Turn Windows features on or off > Services for NFS > OK

    • CLI:

      • Check if the NFS client feature is available. If so, install it.

        C:\> Get-WindowsFeature -Name NFS*
        C:\> Install-WindowsFeature -Name NFS-Client
        
  • Stop the NFS client.

    C:\> nfsadmin client stop
    
  • Configure the anonymous UID and GID to be 0 (root) from the Windows NFS client side. Open the “Registry Editor” and navigate to: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ClientForNFS\CurrentVersion\Default.

    • Edit > New > DWORD (32-bit Value) > Name: AnonymousUID

      • (right-click on the AnonymousUID) > Modify… > Value data: 0 > Base: Decimal > OK

    • Edit > New > DWORD (32-bit Value) > Name: AnonymousGID

      • (right-click on the AnonymousGID) > Modify… > Value data: 0 > Base: Decimal > OK

  • Start the NFS client to load the new changes.

    C:\> nfsadmin client start
    
  • Configure the NFS client to allow files to be executable, readable, and writable.

    C:\> nfsadmin client localhost config fileaccess=755 SecFlavors=+sys -krb5 -krb5i
    
  • As a non-Administrator account, mount a NFS share. This way, it will show up in File Explorer as a normal unprivileged user. [2]

  • Syntax:

    C:\Users\<USER>> mount -o anon \\<NFS_SERVER_ADDRESS>\<NFS_PATH> <DRIVE_LETTER>:
    
  • Example:

    C:\Users\winuser> mount -o anon \\192.168.1.123\exports\foobar N:
    
  • Verify that the mount was created.

    C:\Users\winuser> mount
    
    Local    Remote                         Properties
    --------------------------------------------------------------------
    N:       \\192.168.1.123\exports\foobar UID=0, GID=0
                                            rsize=1048576, wsize=1048576
                                            mount=soft, timeout=0.8
                                            retry=1, locking=yes
                                            fileaccess=755, lang=ANSI
                                            casesensitive=no
                                            sec=sys
    
  • Optionally remove the mount when done using it.

    C:\Users\winuser> umount N:
    
    Disconnecting           N:      \\192.168.1.123\exports\foobar
    
  • For configuring a Linux NFS server for a Windows NFS client to connect to, refer to here.

[1]

Bibliography

  1. “Mounting NFS share from Linux to Windows server.” techbeatly. June 12, 2019. Accessed December 20, 2021. https://www.techbeatly.com/mounting-nfs-share-from-linux-to-windows-server/

  2. “NFS Mount not showing in Windows Explorer.” Super User. September 10, 2021. Accessed December 20, 2021. https://superuser.com/questions/599641/nfs-mount-not-showing-in-windows-explorer/696913

  3. “What is System Restore?” Microsoft Support. Accessed June 15, 2022. https://support.microsoft.com/en-us/topic/what-is-system-restore-a9d1b33f-1df9-e0f2-8aa3-d904cd940ee4

  4. “Create a system restore point.” Microsoft Support. Accessed June 15, 2022. https://support.microsoft.com/en-us/windows/create-a-system-restore-point-77e02e2a-3298-c869-9974-ef5658ea3be9

  5. “BitLocker Overview and Requirements FAQ.” Microsoft Learn. Accessed June 21, 2023. https://learn.microsoft.com/en-us/windows/security/operating-system-security/data-protection/bitlocker/bitlocker-overview-and-requirements-faq

  6. “Secure Boot and Bitlocker.” Windows 10 Forums. August 11, 2017. Accessed June 21, 2023. https://www.tenforums.com/antivirus-firewalls-system-security/90970-secure-boot-bitlocker.html

  7. “BitLocker Recovery - Unlock a Drive in Windows 8.” Windows 8 Help Forums. July 27, 2016. Accessed June 21, 2023. https://www.eightforums.com/threads/bitlocker-recovery-unlock-a-drive-in-windows-8.21433/

  8. “Turn on device encryption.” Microsoft Support. Accessed June 21, 2023. https://support.microsoft.com/en-us/windows/turn-on-device-encryption-0c453637-bc88-5f74-5105-741561aae838