Enabling Disk UUID’s in VMWare Workstation

When you are trying use VMWare Workstation as host for ex. TrueNAS the disk has no serial number (UUID) as default.

Then you can’t create a disk pool in TrueNAS without enable support for using disk without serial number (UUID).

To solve this you edit the “.VMX” for the virtual machine.

1. Shutdown the virtual machine in VMWare workstation.

2. In the directory where the virtual machine is located, find the file “VMX” file.

3. If your virtual machine is call “TrueNAS” the file will be named “TrueNAS.vmx”

4. Open the VMX file with and editor and add:

disk.EnableUUID = "TRUE"

5. At the buttom of the file and save the file.

6. Start the virtual machine and verify your disk now have serial numbers assigned.

Insert an external block with the same name in AutoCAD

If you have a DWG template with a block inside with the same name as the DWG file, and you try to insert it into another DWG file, then you often get the error:

"Block references itself"

To fix this you can on the command line run this command by adding an asterix (*) before the filename with the extension “.dwg”:

Example inserting MyBlock.dwg with a block inside called MyBlock should be specified as below.

-INSERT Enter block name or [?]: *C:\MyFolder\MyBlock

Thereafter, is just specify insertion point, scale etc.

If there already is a block specified inside the current called MyBlock then you will have to purge this block before the above.

Restore old Right-click menu in Windows 11

Restore the old Context Menu in Windows 11

  1. Right-click the Start button and choose Windows Terminal.
  2. Copy the command from below, paste it into the Windows Terminal Window, and press Enter.

    C:\> reg.exe add "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" /f /ve
  3. Restart File Explorer or your computer for the changes to take effect.

Restore Modern Context menus in Windows 11

To undo this change, in a Terminal Window, execute this command:

  1. Copy the command from below, paste it into the Windows Terminal Window, and press Enter.

    C:\> reg.exe delete "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}" /f
  2. Restart the File Explorer or Computer for the changes to take effect.

These steps can help you to enable the old context menu in Windows 11.

Source: https://learn.microsoft.com/en-gb/answers/questions/2287432/(article)-restore-old-right-click-context-menu-in

The user did not accept the license agreement passing EULAS_AGGRED=1 on the command line when installing VMware Workstation

When I tried to install VMware Workstation 25H2 on Windows 11, I got the above error.

To fix it, I ran the below command from an administrator command line:

C:\>VMware-Workstation-Full-25H2-24995812.exe /s /v "/qn EULAS_AGREED=1"

The /s and /v "/qn" flags are for silent installation; adjust as needed.

Then VMware Workstation installed without problems.

How to setup your own router on Yousee fiber network

If you get a D6 router from Yousee then you can’t do port forward and other stuff on the Yousee router, and you therefore can’t host your own services as a private user.

To setup your own router, you will need to change your own routers mac address to the mac address of the Yousee router.

And you will have to enable IPTV/VLAN and set the VLAN ID to: 101

You might have to connect the Yousee router before you do above, but I haven’t tested it.

If you do port forward, I recommend you add a firewall between the router and your network to make your internal network more secure (well, you should do that anyway).

Lombok Getters and Setters are not evaluated in Eclipse

When you install a new version Eclipse, you get the problem that getters and setters are not evaluated and there is failure during compilation.

To fix the issue, go to ~/.m2/repository/org/projectlombok/lombok/<lombok version>/<lombok version>.jar

And run java -jar <lombok version>.jar.

In the installer, select the Eclipse version you want to update and click the Install/Update button.

Restart Eclipse if already open and update your Update Mvn Project in the Project menu.

Find user membership in groups in Documentum

How to find group membership for a specific user using DQL.
This can help is you change the service user running Documentum Content server:

Run below DQL in Administrator or dqMan :

select r_object_id,group_name as object_name,owner_name,group_class,description,’0000000000000000′ as i_folder_id,0 as r_runtime_state
FROM dm_group
where any users_names = ‘dmadmin’
  OR owner_name = ‘dmadmin’
  order by group_name

Documentum DB password encryption

For encrypting the database password use this command:

dm_encrypt_password -location C:\Documentum\dba\secure\aek.key -docbase test -rdbms -encrypt ****

For encrypting other passwords like the dm_bof_registry password use this command:

java -cp dfc.jar com.documentum.fc.tools.RegistryPasswordUtils ****

In above java is in the path and you are located in the DFC Shared folder.