Adding NextCloud as a Windows Drive using Rclone

Pretty Straightforward-

rclone config
choose "n" for "New remote"
choose name for Nextcloud --> rshare (or any name you want to keep as rclone config name)
choose "Type of Storage" --> Webdav
provide Nextcloud URL for webdav access --> https://<nextclouddomain>/remote.php/dav/uploads/<user>/
choose Vendor --> Nextcloud
specify "user" --> (see `<user>` in "Configuring rclone" above).
password --> y (Yes type in my own password)
specify "password" --> (see `<password>` in "Configuring rclone" above).
bearer token --> ""
Edit advanced config? --> n (No)
Remote config --> y (Yes this is OK)
Current remotes --> q (Quit config)

Check the connectivty by apply the command in the command prompt-

Read more


Mapping drives with Windows for Nextcloud

To map a drive using the Microsoft Windows Explorer:

  • Open Windows Explorer on your MS Windows computer.
  • Right-click on Computer entry and select Map network drive… from the drop-down menu.
  • Choose a local network drive to which you want to map Nextcloud.
  • Specify the address to your Nextcloud instance, followed by /remote.php/dav/files/USERNAME/. For example:
  • Click the Finish button.

Windows Explorer maps the network drive, making your Nextcloud instance available


For SSL protected servers, check Reconnect at sign-in to ensure that the mapping is persistent upon subsequent reboots. If you want to connect to the Nextcloud server as a different user, check Connect using different credentials.


Reset Administrator’s password in Windows Server 2008 / R2

Step by step to reset Windows 2008 or Windows 2008 R2 edition from console:

  1. Insert DVD to server and restart Boot to DVD
  2. Select Repair your computer – Choose ‘Use recovery tools that …’ : Choose ‘Windows Server 2008 R2’
  3. Command Prompt, type : + X:\Sources; type C: + C:\Dir # Check folders
  4. C:\cd Windows + C:\Windows\cd System32
  5. C:\Windows\System32\ ren utilman.exe utilman.exe.old
  6. C:\Windows\System32\ copy cmd.exe utilman.exe
  7. C:\Windows\System32\ Shutdown -r -t 0
  8. Click ‘Ease of access’ after the GUI boot is completed
  9. C:\Windows\System32\ net user Administrator abc@123 # Set new password is abc@123
  10. Logon using new password

You’re done.



Windows IP settings from old Windows network adapters after card replacement

After replacing an old motherboard with a new one, the NIC is different, has a new MAC address and generally needs a new TCP/IP configuration. However the old NIC is still somewhere there with its designated IP address and the rest.

Question: is it possible to retrieve those settings (most important is the static IP address) for an old network card that is no longer present in the system?


  1. Open run and type regedit
  2. Browse- [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces]

You’ll find your card and their configuration settings.


Reboot Windows 10 using RDP

This article is for sysadmins who know better, wanting to Shut down or Restart (or even enter Sleep) over RDP anyway.

At left, user clicked on Start, Power, then has three choices. Using RDP at right, choices are rather limited.

Using Command Prompt

Open a Command Prompt

a. To initiate a Shut down, type:

shutdown /s /t 0

then press Enter

Read more


Add SNMP to Windows Server- 2012

This step-by-step article describes how to configure the Simple Network Management Protocol (SNMP) Service in Windows Server 2012/2012R2. We will install SNMP service and configure SNMP security.

SNMP Service Installation

  1. Open Server Manager and then click Add Roles and Features.
  2. In Select Features, check the box next to SNMP Service.
  3. A dialog box appear to add all others required features, click Add Features.
  4. Click Next and then Install.
  5. SNMP Security Configuration
  6. Open Windows Services and locate service called SNMP Service then open service properties.
  7. Click on Security tab.In Accepted community names, click add to add the required community name and rights.
  8. Select Accept SNMP packets from these hosts option and then click Add to add Hostname, IP Address of the Monitoring Server.
  9. Click OK and then restart SNMP service.

You’re done.


Solving A remote code execution vulnerability exists in the Credential Security Support Provider protocol (CredSSP) on Windows RDP


Use the group policy settings changes described below to rollback the changes to ‘Vulnerable’ state to allow RDP access.

1. Open Group Policy Editor, by executing gpedit.msc

2. Policy path: Computer Configuration -> Administrative Templates -> System -> Credentials Delegation

Run gpedit.msc and expand Administrative Templates

Read more


Using multiple gateways on Windows system

If Windows has multiple interfaces connected to several networks that use DHCP, it installs default gateways for all those interfaces.

By default, Windows sets the metric of the default gateways to the same, effectively leading to random selection of default gateway.

If you want to make Windows to select certain gateway always, you can change interface metrics for the interfaces’ configuration you don’t want to use:

  1. Go to your Network adapter properties.
  2. Select Internet Protocol v4.
  3. Click the Advanced button on General tab.
  4. Uncheck Automatic metric.
  5. Enter a number higher than 10 to the Interface metric field.
  6. The default automatic metric for interfaces is 10. The lower the metric, the higher the preference to use it.
  7. So, you have to enter metric higher than 10 for the interfaces you don’t want to use.

EDIT: These instructions are for Windows 7, XP might be different. You shouldn’t be using XP anyway.