sql-workbench/workbench
12
33
Fork
You've already forked workbench
18

wmic utility is removed in Windows 11 #106

Closed
opened 2026年06月05日 10:52:20 +02:00 by vpinna80 · 1 comment

The startup script in windows uses wmic to determine the memory for SQL Workbench/J.

However wmic has been removed by Microsoft in Windows 11 since 2026.

Would it be possible to avoid it, or use some other utility in its place?

The startup script in windows uses `wmic` to determine the memory for SQL Workbench/J. However wmic [has been removed](https://support.microsoft.com/en-us/topic/windows-management-instrumentation-command-line-wmic-removal-from-windows-e9e83c7f-4992-477f-ba1d-96f694b8665d) by Microsoft in Windows 11 since 2026. Would it be possible to avoid it, or use some other utility in its place?

Thanks for pointing this out.

Obviously the .exe launcher does not need this, so that would be the "natural" replacement to start SQL Workbench/J

I think this can be remove completely and replaced by using a JVM flag to set the memory using a percentage of the available RAM (which is slightly different to the current behaviour which uses a percentage of the free RAM)

Thanks for pointing this out. Obviously the .exe launcher does not need this, so that would be the "natural" replacement to start SQL Workbench/J I think this can be remove completely and replaced by using a JVM flag to set the memory using a percentage of the available RAM (which is _slightly_ different to the current behaviour which uses a percentage of the _free_ RAM)
Sign in to join this conversation.
No Branch/Tag specified
master
build133
build132
build131
build130
build129
build128
build126
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
sql-workbench/workbench#106
Reference in a new issue
sql-workbench/workbench
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?