Windows Administration

Some tools, tips, and tricks fr administering Smallworld under a Windows Client or Server

Users and Permissions

  • whoami /groups to display groups
  • net group <grp_name> /domain to display the users belonging to a domain group.
  • net user <usr_name> /domain to display information about user including group membership

File Permissions

  • To make all magik files under a directory read-only try: attrib +R c:\Smallworld\*.magik /S

System Information

  • wmic qfe list brief /format:csv > c:/temp/patches.csv This will list all the patches on your system and save it to a CSV file that can be viewed in a spread sheet program.
  • where <executable> to display the location of the executable.

Windows Ports

"netstat -a -b" will report all ports being used and which processes are using them

Java Information

Smallworld versions before 5.0 typically require 32 bit version of Java installed. At this time Java 8 is rolling out to more people and if you had Java 7 installed prior to installing Java 8, you may run into some problems.

Java Version mismatch

Do you are getting the following error message on the magik prompt and your application freezes upon starting?

Error: Registry key 'Software\JavaSoft\Java Runtime Environment'\CurrentVersion'
has value '1.8', but '1.7' is required.
Error: could not find java.dll
Error: Could not find Java SE Runtime Environment.

Copy the 32 bit java, javaw, and javws EXE files from the java 8 install directory to C:\Windows\SysWOW64


Renaming '.' or 'Dot' files on Windows

In Explorer, select the file or directory and rename it to whatever you want like ".newfilename." and include the ending '.' Windows will take this as the new name without the last dot.

Windows Processes

system and compressed memory

I had a laptop with windows 8 and upgraded to windows 10. I kept hearing the fan go rev up when the system was idle. When I look at the task manager, I noticed that the process "system and compressed memory" was running at 20%. Looking on the web, I saw one spot where they suggested changing the Virtual Memory Settings from Automatic to a fixed size. That seemed to work a little, but I found another posting that said it was the Memory Diagnostics. I disabled this in the Task Scheduler, and it seemed to quiet the system down.

Windows Briefcase?

Do you miss the Windows Briefcase functionality to keep data synced between 2 folders, like thumb drive and desktop? You can restore that function by using the windows registry settings as seen below. This can be copied/pasted into a .REG file that you can import. It is supoosed to work on Windows 8 & 10. Source:

Shortcut Suffix

If you hate the "- Shorrtcut" suffix on all the shortcuts you create in Windows as much as I do, you will love this hack… Changing the registry value of HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Link to 00 00 00 00 and logging off immediately will stop the suffix from appearing. Below is the REG file contents to update your registry and the default user registry. [1] Don't forget you need to log/sign out. Restarting didn't seem to save the setting…

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License