Category: Software Howtos

Rustdesk

What is Rustdesk?

RustDesk is an open-source remote desktop software that allows you to access another PC’s desktop, for example to help friends and family when they have problems, or let them help you.

It is a free alternative to TeamViewer, AnyDesk, and similar programs.

A client application is needed on both PCs. A remote desktop access is only possible when the client is started, access is impossible without the Client being started, so the user is always in control.

How to install:

Download the latest Rustdesk client from here: https://rustdesk.com
Once downloaded, start the file:

In the lower left corner, click on “Install”.

Adapt to your needs and click on “Accept and install”.

Afterwards, you should have an Icon for Rustdesk on your desktop, and Rustdesk should be running:

Click on the “three dots” (as marked in the picture), select “Network” and click on “Unlock network settings”, the select “ID/Relay server”:

Fill the fields with the following data:

rustdesk.landrocks.world
rustdesk.landrocks.world
https://rustdesk.landrocks.world
C4LDY6WziONSwEzlIiBz1x3ZFn3iR8L4kjd6ZFJZPTE=

It should look like this:

Press OK, and click on “Home” in the upper left corner.

Congratulations, you have successfully installed a Rustdesk client on your system.

How to use Rustdesk:

On the left side you see your ID and your password. If you give this to somebody else, he or she can access your desktop.

If somebody else gives you his/her ID from their left side of the window, you can access his/her desktop by entering that ID in the “Control Remote Desktop” field and clicking “connect”.

Right-click Context menu in Windows 11

The behaviour of the Context menu on Windows 11 has changed compared to Windows 10.

This is how it used to be on Windows 10 (in this example, after a Right click on the recycle bin):

And this is how it looks now:

Especially the Show more options in the last line is annoying.

Thankfully one can revert to the old behaviour of Windows 10. All you have to do is to add a key to the registry.

To do so, Right click on the four blue tiles and select Terminal (Admin):

Then, run the command

reg.exe add "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" /f /ve

After rebooting the Computer or restarting Explorer via Task Manager, you will have the “old” behaviour back.

That’s lovely. However, you sometimes have junk in the right-click context menu that is unwanted.

For example, I use the Image Viewer “IrfanView” but I do not like the fact that it added an entry to the context menu:

Here is how to edit/remove unwanted items from the context menu:

Right click on the four blue tiles and select Terminal (Admin), then type regedit and press <Enter>:

Select “Edit/Find” and look for “IrfanView”:

Now keep pressing <F3> until this…

and this…

… showed up. I deleted them both and the annoying entries were gone (after a Restart of Explorer).

Visual Sudio Code, the YAML extension and Home Assistant’s “!secret” option

I use Visual Studio Code to edit the YAML files of my Home Assistant installation. Works great. However, there is one annoying thing: The YAML extension treats the “!secret” option of Home Assistant as “Syntax error” and underlines it in red.

To solve this problem, open your settings.json at

C:\Users\<yourusername>\AppData\Roaming\Code\User\settings.json

On my installation it looks like this:

After I added the code…

,
    "yaml.customTags": [
        "!secret scalar"
     ]

… it looked like this…

… and the problem is gone:

How to Disable Caps Lock in Windows 11

Press Windows + R, type regedit in the run box that opens, and press enter.
If you get the following box,…

… press YES.

Go to the key:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout

Right-click on the available space, click New and then select Binary Value.

Name it “Scancode Map” and enter the following binary value in the value data:

00 00 00 00 00 00 00 00
02 00 00 00 00 00 3A 00
00 00 00 00

Recheck that it looks like the following screen shot:

Restart the computer to disable the Capslock key.


Clean/Format a USB stick that windows cannot handle anymore

OK, you need a Linux based system to do so.

Without the Memory stick being plugged into the Linux system,use the following command:

lsblk

Now plug in the usb Memory stick and use that command (again):

lsblk

The “new” device name should be easy to spot


Now, flaten the content of the Memory stick by using

mkfs.ext2 /dev/sdX

where sdX is the device name you found with lsblk.

Check which program hinders windows going to sleep

Todo: Fix last two broken screenshots…

Sometimes, windows doesn’t go to sleep when expected. Here is a little hint on how to find out which program is the reason.

Open a command window by right clicking on the 4 blue tiles and select “Terminal (Admin)”.

If the following window pops up, select “Yes”.

Enter the following command:

powercfg /requests

Now, the processes which hinder windows from going to sleep are shown. In this case there was a youtube video running in a browser window.

After closing that browser window, the problem was gone and all sub systems had the status “None.”