Advertisement
ddan9

VMWare Workstation addition config/settings/params/fixes/patches/hacks/tweaks for performance/gaming

Jan 17th, 2024 (edited)
311
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # See updates on: https://gist.github.com/ddan9/daa3c1d3bce0eb879cd711d144712206
  2.  
  3. # "n.s." - is for "not sure"
  4.  
  5. # Some of presented parameters are already included in config files by default. If you want just copypaste them you may cause file corruption. Therefore, proceed it with caution
  6.  
  7. # If you know/have found other solutions or found a mistake you can notify me and I will review and add them
  8.  
  9. # You can enter the required parameters to .ini config instead of .vmx to make them global for all VMs
  10.  
  11. # If you are not sure whether you need a specific parameter or want to reset the value to the default, just comment it out in the config file
  12.  
  13. # Note that if you set "*.allowUnsupportedDrivers.*" = TRUE and "mks.vk.forceDevice" parameters with "mks.gamingMouse.policy" = "gaming" it may cause LOWER in-guest picture/image/screen quality (with resolution downscaling) but RIGHT mouse processing WITHOUT performance dropping (on mouse moving, for example). BUT if you set vise-versa "*.allowUnsupportedDrivers.*" and "mks.vk.forceDevice" parameters with "mks.gamingMouse.policy" = "gaming" it may cause HIGHER in-guest picture/image/screen quality (with resolution downscaling) but WRONG mouse processing WITH performance dropping (on mouse moving, for example). BUT if you set "mks.maxCompositingFPS" it will fix performance dropping and picture/image/screen quality (with resolution downscaling) with "*.allowUnsupportedDrivers.*" = FALSE + "mks.gamingMouse.policy" = "gaming" parameters but cause screen flickering/blinking. You need to manually test all these parameters with all possible values ​​and choose the maximum compromise for you (for each game). I recommend to use TRUE + "gaming" values for FPS or online games and vise-versa for offline/racing/others
  14.  
  15. # Need to find a way to add custom screen resolution (for example 1600x900 bcs it's missing)
  16.  
  17. # REFERENCES:
  18. # https://www.vmware.com
  19. # https://communities.vmware.com
  20. # https://kb.vmware.com
  21. # https://docs.vmware.com
  22. # https://blogs.vmware.com
  23. # https://wiki.vi-toolkit.com/index.php?title=Vmx_hacks
  24. # http://www.sanbarrow.com/vmx/vmx-advanced.html
  25. # https://www.basvanbeek.nl/linux/undocumented-vmware-vmx-parameters
  26. # https://www.teimouri.net/review-undocumented-vmware-vmx-configuration-parameters
  27. # https://gist.github.com/ddan9/starred
  28. # https://github.com/kernkraft235/vmw17-arch-guest
  29. # https://habr.com/ru/articles/61666
  30. # https://learn.microsoft.com/en-us/troubleshoot/windows-client/deployment/disable-and-re-enable-hibernation
  31. # https://stackoverflow.com/questions/1672338/how-to-sleep-for-five-seconds-in-a-batch-file-cmd
  32. # https://stackoverflow.com/questions/14626178/how-to-close-the-command-line-window-after-running-a-batch-file
  33. # https://www.reddit.com/r/ptcgo/comments/kqpe6k/how_to_force_borderless_windowed_mode_on_windows
  34.  
  35. ###########################################################
  36. # ALL ADDITIONAL RECOMMENDED .vmx CONFIG WITH DESCRIPTION #
  37. ###########################################################
  38.  
  39. ### INSTALLER ###
  40.  
  41. # Enables automatic software update
  42. # Possible values: TRUE, FALSE (FALSE is recommended)
  43. installerDefaults.autoSoftwareUpdateEnabled = "FALSE"
  44.  
  45. # Enables component downloading
  46. # Possible values: TRUE, FALSE (FALSE is recommended)
  47. installerDefaults.componentDownloadEnabled = "FALSE"
  48.  
  49. # Enables data collection
  50. # Possible values: TRUE, FALSE (FALSE is recommended)
  51. installerDefaults.dataCollectionEnabled = "FALSE"
  52.  
  53. ### GUI ###
  54.  
  55. # Applies host-to-guest DPI scaling (only in fullscreen mode, n.s.) (set it in VMWare global .ini config if it has no effects)
  56. # Possible values: TRUE, FALSE (TRUE is recommended)
  57. gui.applyHostDisplayScalingToGuest = "TRUE"
  58.  
  59. # Applies enabling fullscreen mode on poweron
  60. # Possible values: TRUE, FALSE (TRUE is recommended)
  61. gui.fullscreenatpoweron = "TRUE"
  62.  
  63. # Choses window mode on poweron. Same as above
  64. # Possible values: "fullscreen", "windowed" ("fullscreen" is recommended)
  65. gui.viewModeAtPowerOn = "fullscreen"
  66.  
  67. ### PREF ###
  68.  
  69. # Applies auto fitting guest screen to host size window (with changing guest's resolution, n.s.) (set it in VMWare global .ini config if it has no effects)
  70. # Possible values: TRUE, FALSE (FALSE is recommended)
  71. pref.autoFit = "FALSE"
  72.  
  73. # Applies auto fitting guest-to-host screen, like above (with changing guest's resolution, n.s.) (set it in VMWare global .ini config if it has no effects)
  74. # Possible values: TRUE, FALSE (FALSE is recommended)
  75. pref.autoFitGuestToWindow = "FALSE"
  76.  
  77. # Applies auto fitting guest screen in fullscreen mode (without changing guest's resolution, n.s.) (set it in VMWare global .ini config if it has no effects)
  78. # Possible values: "fitGuestToHost", "stretchGuestToHost", "fitHostToGuest", "none", "FALSE" ("stretchGuestToHost" is recommended)
  79. pref.autoFitFullScreen = "stretchGuestToHost"
  80.  
  81. # Applies mouse grab motion
  82. # Possible values: TRUE, FALSE (FALSE is recommended)
  83. pref.motionGrab = "FALSE"
  84.  
  85. # Applies mouse ungrab motion
  86. # Possible values: TRUE, FALSE (FALSE is recommended)
  87. pref.motionUngrab = "FALSE"
  88.  
  89. # Sets automatic software update permission
  90. # Possible values: "allow", "deny" ("deny" is recommended)
  91. pref.autoSoftwareUpdatePermission = "deny"
  92.  
  93. # Enables data collection
  94. # Possible values: TRUE, FALSE (FALSE is recommended)
  95. pref.vmplayer.dataCollectionEnabled = "FALSE"
  96.  
  97. # Enables autohide toolbar in fullscreen mode
  98. # Possible values: TRUE, FALSE (TRUE is recommended)
  99. pref.vmplayer.fullscreen.autohide = "TRUE"
  100.  
  101. # Sets showed toolbar pixels. To shrink the size of the hidden toolbar, specify zero pixels. This will still keep a couple of pixels on top, so it's hardly noticeable
  102. # Possible values: INTEGER (0 is recommended)
  103. pref.fullscreen.toolbarpixels = "0"
  104.  
  105. # Allow to fully/completely hide toolbar in fullscreen mode
  106. # Possible values: TRUE, FALSE (TRUE is recommended)
  107. pref.vmplayer.fullscreen.nobar = "TRUE"
  108.  
  109. # Sets common action on VM exit
  110. # Possible values: "poweroff", UNKNOWN ("poweroff is recommended")
  111. pref.vmplayer.exit.vmAction = "poweroff"
  112.  
  113. # Sets toolbar device location (top/bottom)
  114. # Possible values: TRUE, FALSE (TRUE is recommended)
  115. pref.vmplayer.deviceBarToplevel = "TRUE"
  116.  
  117. ### TOOLS ###
  118.  
  119. # Applies VMWare tools installation reminding if not installed
  120. # Possible values: TRUE, FALSE (FALSE is recommended)
  121. tools.remindInstall = "FALSE"
  122.  
  123. # Applies VMWare tools upgrading policy
  124. # Possible values: "auto", "useglobal", "manual" ("manual" is recommended)
  125. tools.upgrade.policy = "manual"
  126.  
  127. # Applies auto in-guest time synchronization
  128. # Possible values: TRUE, FALSE (FALSE is recommended)
  129. tools.syncTime = "FALSE"
  130.  
  131. # Disables VMWare shared host folders/files to guest
  132. # Possible: TRUE, FALSE (TRUE is recommended)
  133. isolation.tools.hgfs.disable = "TRUE"
  134.  
  135. # Enables VMWare shared host folders/files to guest event notifications (n.s.)
  136. # Possible values: TRUE, FALSE (FALSE is recommended)
  137. isolation.tools.hgfs.notify.enable = "FALSE"
  138.  
  139. # Applies access to direction above shared folder
  140. # Possible values: TRUE, FALSE (FALSE is recommended)
  141. hgfs.mapRootShare = "FALSE"
  142.  
  143. # Disables VMWare tools "OS not found" notification
  144. # Possible values: TRUE, FALSE (TRUE is recommended)
  145. isolation.tools.osNotFound.disable = "TRUE"
  146.  
  147. # Disables VMWare tools logging
  148. # Possible values: TRUE, FALSE (TRUE is recommended)
  149. isolation.tools.log.disable = "TRUE"
  150.  
  151. # Disables VMWare tools updating
  152. # Possible values: TRUE, FALSE (TRUE is recommended)
  153. isolation.tools.updateTools.disable = "TRUE"
  154.  
  155. # Disables VMWare tools message
  156. # Possible values: TRUE, FALSE (TRUE is recommended)
  157. isolation.tools.message.disable = "TRUE"
  158.  
  159. ### USB MOUSE/KEYBOARD ###
  160.  
  161. # Enables USB in-guest
  162. # Possible values: TRUE, FALSE (TRUE is recommended)
  163. usb.present = "TRUE"
  164.  
  165. # Enables host-to-guest USB devices passthrough
  166. # Possible values: TRUE, FALSE (TRUE is recommended)
  167. usb.generic.allowHID = "TRUE"
  168.  
  169. # Enables host-to-guest USB devices passthrough, like above (n.s.)
  170. # Possible values: TRUE, FALSE (TRUE is recommended)
  171. usb.generic.allowLastHID = "TRUE"
  172.  
  173. # Enables USB logger
  174. # Possible values: TRUE, FALSE (FALSE is recommended)
  175. usb.analyzer.enable = "FALSE"
  176.  
  177. # Allows bidirected (both) keyboard IRQs. May be useful for avoiding disfunction after a while, but may cause your Linux VM's input to hang if the guest tries to Sleep/Hibernate. May be useful for avoiding keyboard driver problems
  178. # Possible values: TRUE, FALSE (FALSE is recommended)
  179. keyboard.allowBothIRQs = "FALSE"
  180.  
  181. # Switches to the virtual USB keyboard from PS/2, but may make your key-repeat get stuck more often
  182. # Possible values: TRUE, FALSE (TRUE is recommended)
  183. keyboard.vusb.enable = "TRUE"
  184.  
  185. # Changes in-guest software keys autorepeat. May fix "buffering effect" by disabling
  186. # Possible values: TRUE, FALSE (FALSE is recommended)
  187. keyboard.softAutorepeat = "FALSE"
  188.  
  189. # May help in situations when typing into a remote console, you see unintended repeated keystrokes, and also normalize keyboard typing responsiveness. Opinions vary regarding the unit of measurement. Some people think it's in seconds (keyboard.typematicMinDelay = "10"), some people think it's in microseconds (keyboard.typematicMinDelay = "1000000"). I couldn't confirm any of them
  190. # Possible values: INTEGER (5, 10, 20, 5000000, 10000000, 20000000)
  191. keyboard.typematicMinDelay = "5"
  192.  
  193. # Making the host mouse pointer to follow the guest mouse pointer
  194. # Possible values: TRUE, FALSE (FALSE is recommended)
  195. vmmouse.present = "FALSE"
  196.  
  197. # Enables the virtual USB mouse, switches from PS/2. Enables raw HID mouse pass-thru so all buttons
  198. # Possible values: TRUE, FALSE (TRUE is recommended)
  199. mouse.vusb.enable = "TRUE"
  200.  
  201. # Uses mouse basic VM mode. Using in couple with option above
  202. # Possible values: TRUE, FALSE (FALSE is recommended)
  203. mouse.vusb.useBasicMode = "FALSE"
  204.  
  205. # Enables touchscreen emulation
  206. # Possible values: TRUE, FALSE (FALSE is recommended)
  207. touchscreen.vusb.present = "FALSE"
  208.  
  209. # USB Passthrough on Linux Host. "Passthrough" mode was disabled on Linux host as it conflicted with shared mode provided via pcscd
  210. # Possible values: TRUE, FALSE (TRUE is recommended)
  211. usb.generic.allowCCID = "TRUE"
  212.  
  213. # Managing disabling CCID
  214. # Possible values: TRUE, FALSE (TRUE is recommended)
  215. usb.ccid.disable = "TRUE"
  216.  
  217. ### MKS: MOUSE, KEYBOARD, SCREEN, 3D ###
  218.  
  219. # Turns VSync mode. May fix tearing effect by enabling. May affect interactivity
  220. # Possible values: TRUE, FALSE (TRUE is recommended)
  221. mks.vsync = "TRUE"
  222.  
  223. # Disable annoying in-guest beeps
  224. # Possible values: TRUE, FALSE (TRUE is recommended)
  225. mks.noBeep = "TRUE"
  226.  
  227. # Enables 3D acceleration support in VM guest
  228. # Possible values: TRUE, FALSE (TRUE is recommended)
  229. mks.enable3d = "TRUE"
  230.  
  231. # Sets max guest screen refresh/frequency/FPS limitation
  232. # Possible values: INTEGER (Recommended is freq of your monitor)
  233. mks.maxRefreshRate = "60"
  234.  
  235. # Sets minimal FPS for compositing. May improve interactivity
  236. # Possible values: INTEGER (Recommended is freq of your monitor, 10 is default)
  237. mks.lowCompositingFPS = "60"
  238.  
  239. # Sets maximum FPS for compositing. May improve interactivity. May cause screen flickering/blinking (raises to absolute af). Has problems with the "*.allowUnsupportedDrivers.*" parameters. Test before use (see more on the top)
  240. # Possible values: FALSE, INTEGER (Recommended is freq of your monitor, 100 is default)
  241. mks.maxCompositingFPS = "60"
  242.  
  243. # Enables skipping hook-timeout-check. May improve interactivity
  244. # Possible values: TRUE, FALSE (TRUE is recommended, FALSE is default)
  245. mks.skipHookTimeoutCheck = "TRUE"
  246.  
  247. # Sets coalensce update period in microseconds. May greatly reduce latency and improve interactivity by setting "0", but may cause overhead to host machine. Default is "16666" (16.666ms, 60Hz)
  248. # Possible values: INTEGER (0 is recommended, 16666 is default)
  249. mks.updateCoalescePeriodUS = "0"
  250.  
  251. # Sets requiring of hardware renderer. May improve interactivity
  252. # Possible values: TRUE, FALSE (TRUE is recommended)
  253. mks.requireHardwareRenderer = "TRUE"
  254.  
  255. # Allows accelerated renderers. May allow to switch backend hw-acc renderer and affect interactivity
  256. # Possible values: TRUE, FALSE (TRUE is recommended)
  257. mks.allowAcceleratedRenderers = "TRUE"
  258.  
  259. # Sets minimal frame delay in milliseconds (vdp is for "video decode and presentation", n.s.). May improve interactivity. USE WITH CAUTION
  260. # Possible values: INTEGER (28 is default)
  261. mks.vdpMinFrameDelayMS = "0"
  262.  
  263. # Sets win32 system .NET timer resolution. May affect interactivity with increasing but reduce overhead a little
  264. # Possible values: INTEGER (0 is default)
  265. mks.win32.timerResolution = "500"
  266.  
  267. # Enables high quality sound on record VM
  268. # Possible values: TRUE, FALSE (FALSE is recommended)
  269. mks.movie.config.high.recordSound = "FALSE"
  270.  
  271. # Forces using of discrete GPU. Use it if you have more than 1 GPU
  272. # Possible values: TRUE, FALSE (TRUE is recommended, FALSE is default)
  273. mks.forceDiscreteGPU = "TRUE"
  274.  
  275. # Allows using Direct3D (D3D). May be unnecessary on Linux systems
  276. # Possible values: TRUE, FALSE (TRUE is recommended)
  277. mks.useD3D = "TRUE"
  278.  
  279. # Allow manual choosing of host GPU renderer. All parameters are mutually exclusive (i.e. only one can be used at a time). Use the one that best suits your host
  280. # Possible values: TRUE, FALSE
  281. mks.enableD3DRenderer = "FALSE"
  282. mks.enableDX8Renderer = "FALSE"
  283. mks.enableDX9Renderer = "FALSE"
  284. mks.enableDX10Renderer = "FALSE"
  285. mks.enableDX11Renderer = "FALSE"
  286. mks.enableDX12Renderer = "FALSE"
  287. mks.enableGLRenderer = "FALSE"
  288. mks.enableVulkanRenderer = "TRUE"
  289.  
  290. # Disables DirectX memory/shader pages flips (n.s.) from D3D to DX12. May help if your VM guest's screen is flickering. Not helped to me
  291. # Possible values: TRUE, FALSE (TRUE is recommended)
  292. mks.d3d.disableFlips = "TRUE"
  293. mks.dx8.disableFlips = "TRUE"
  294. mks.dx9.disableFlips = "TRUE"
  295. mks.dx10.disableFlips = "TRUE"
  296. mks.dx11.disableFlips = "TRUE"
  297. mks.dx12.disableFlips = "TRUE"
  298.  
  299. # Sets GPU vendor for DirectX (from D3D to DX12) in guest's VM (n.s.)
  300. # Possible values: "0x8086" for Intel, "0x10DE" for Nvidia, "0x1002" for AMD
  301. mks.d3d.vendorID = "0x1002"
  302. mks.dx8.vendorID = "0x1002"
  303. mks.dx9.vendorID = "0x1002"
  304. mks.dx10.vendorID = "0x1002"
  305. mks.dx11.vendorID = "0x1002"
  306. mks.dx12.vendorID = "0x1002"
  307.  
  308. # Enables X11 presentation (only on Linux), mutually exclusive for "mks.enableVulkanPresentation"
  309. # Possible values: TRUE, FALSE (FALSE is recommended, if enabled vulkan presentation)
  310. mks.enableX11Presentation = "FALSE"
  311.  
  312. # Enables modern presentation via DirectX 11 (dx11). May affect interactivity. "TRUE" feels laggy
  313. # Possible values: TRUE, FALSE (FALSE is default)
  314. mks.dx11.enableModernPresentation = "TRUE"
  315.  
  316. # Sets waiting for query yield in milliseconds for DirectX 11 (Dx11)
  317. # Possible values: INTEGER (1 is default)
  318. mks.dx11.waitForQueryYieldMS = "1"
  319.  
  320. # Enables Vulkan presentation (only on Linux, n.s.), mutually exclusive for "mks.enableX11Presentation"
  321. # Possible values: TRUE, FALSE (TRUE is recommended, if disabled X11 presentation)
  322. mks.enableVulkanPresentation = "TRUE"
  323.  
  324. # Force choose GPU for Vulkan. It greatly affects the quality of the guest's picture in full-screen mode. Has problems with the "mks.gamingMouse.policy" parameter. Test before use
  325. # Possible values: "NVIDIA", "INTEL", "AMD" (also maybe "RADEON", n.s.), "NONE"
  326. mks.vk.forceDevice = "AMD"
  327.  
  328. # Allows unsupported drivers via OpenGL. It greatly affects the quality of the guest's picture in full-screen mode. Has problems with the "mks.gamingMouse.policy" parameter. Test before use
  329. # Possible values: TRUE, FALSE (TRUE is recommended)
  330. mks.gl.allowUnsupportedDevices = "TRUE"
  331. mks.gl.allowUnsupportedDrivers = "TRUE"
  332. mks.gl.allowBlacklistedDevices = "TRUE"
  333. mks.gl.allowBlacklistedDrivers = "TRUE"
  334.  
  335. # Allows unsupported drivers via Vulkan. It greatly affects the quality of the guest's picture in full-screen mode. Has problems with the "mks.gamingMouse.policy" parameter. Test before use
  336. mks.vk.allowUnsupportedDevices = "TRUE"
  337. mks.vk.allowUnsupportedDrivers = "TRUE"
  338. mks.vk.allowBlacklistedDevices = "TRUE"
  339. mks.vk.allowBlacklistedDrivers = "TRUE"
  340.  
  341. # Changes mouse use character in VM. Has problems with the "*.allowUnsupportedDrivers.*" and "mks.vk.forceDevice" parameters. Test before use
  342. #
  343. # Possible values:
  344. # "dynamic" - Equivalent to "Automatic" in the UI
  345. # "gaming" - Equivalent to "Always" in the UI
  346. # "absolute" - Equivalent to "Never" in the UI
  347. # "absgaming" - Doesn't have a UI equivalent, but disables motion grab/ungrab while keeping the accelerated cursor (like "Never")
  348. # "relative" - Doesn't have a UI equivalent, but forces the unaccelerated mouse (like "Always") without disabling motion grab/ungrab
  349. #
  350. mks.gamingMouse.policy = "gaming"
  351.  
  352. # Changes keyboard/mouse filtering mode. May fix input lag
  353. # Possible values: "allow", "require" ("require" is recommended)
  354. mks.keyboardFilter = "require"
  355.  
  356. # Disables in-guest typematic. May help in situations when typing characters on virtual desktop or hosted application, input character is repeated intermittently. This configuration prevents intended key repeat. Cannot input character repeatedly on desktop pool by holding down a key (not confirmed)
  357. # Possible values: TRUE, FALSE
  358. mks.disableTypematic = "TRUE"
  359.  
  360. # Disables in-guest remote client typematic. Uses in couple with option above. May help in situations when typing characters on virtual desktop or hosted application, input character is repeated intermittently. This configuration prevents intended key repeat. Cannot input character repeatedly on desktop pool by holding down a key (not confirmed)
  361. # Possible values: TRUE, FALSE
  362. mks.disableRemoteClientTypematic = "TRUE"
  363.  
  364. # Enables keyboard LED guest-to-host synchronization. This tip fixes the caps lock sync issue
  365. # Possible values: TRUE, FALSE (FALSE is recommended)
  366. mks.keyboard.syncLEDs = "FALSE"
  367.  
  368. # Sets the texture filters to the value of GL_NEAREST instead of GL_LINEAR, which should solve the problem with texture updates to redraw the screen and provides smoother magnification when scaling the display to a higher resolution (such as running a fullscreen game at 800x600 scaled to a 1600x1200 screen)
  369. # Possible values: 0x2600, UNKNOWN
  370. mks.gl.magFilter = "0x2600"
  371. mks.gl.minFilter = "0x2600"
  372.  
  373. # Allows screen saver in fullscreen mode
  374. # Possible values: TRUE, FALSE (FALSE is recommended)
  375. mks.fullscreen.allowScreenSaver = "FALSE"
  376.  
  377. # Allows screen saver in windowed mode
  378. # Possible values: TRUE, FALSE (FALSE is recommended)
  379. mks.windowed.allowScreenSaver = "FALSE"
  380.  
  381. # Enables OpenGL console
  382. # Possible values: TRUE, FALSE (FALSE is recommended)
  383. mks.glConsole = "FALSE"
  384.  
  385. # Prevents OpenGL from logging errors
  386. # Possible values: TRUE, FALSE (TRUE is recommended)
  387. mks.gl.dontLogErrors = "TRUE"
  388.  
  389. # Prevents OpenGL from logging time info
  390. # Possible values: TRUE, FALSE (TRUE is recommended)
  391. mks.gl.noTimeInfo = "TRUE"
  392.  
  393. # Enables OpenGL double buffering
  394. # Possible values: TRUE, FALSE (TRUE is recommended)
  395. mks.gl.doubleBuffer = "TRUE"
  396.  
  397. # Enables OpenGL FBO (Frame Buffer Object)
  398. # Possible values: TRUE, FALSE (TRUE is recommended)
  399. mks.gl.fbo = "TRUE"
  400.  
  401. # Allows OpenGL use FB (Frame Buffer?, n.s.) texture
  402. # Possible values: TRUE, FALSE (TRUE is recommended)
  403. mks.gl.useFBTexture = "TRUE"
  404.  
  405. # Sets mouse debugging
  406. # Possible values: TRUE, FALSE (FALSE is recommended)
  407. mks.mouseDebug = "FALSE"
  408.  
  409. # Prevents VMWare from using host cursor (n.s.)
  410. # Possible values: TRUE, FALSE
  411. mks.noHostCursor = "FALSE"
  412.  
  413. # Enables host-machine cursor showing. Causes cursor doubling
  414. # Possible values: TRUE, FALSE (FALSE is recommended)
  415. mks.showCursor = "FALSE"
  416.  
  417. # Allow use direct input
  418. # Possible values: TRUE, FALSE (TRUE is recommended)
  419. mks.useDirectInput = "TRUE"
  420.  
  421. # Enables debug chain manager(?) (n.s.)
  422. # Possible values: TRUE, FALSE (FALSE is recommended)
  423. mks.debugChainMgr = "FALSE"
  424.  
  425. # Enables using thumbs for VMWare Player while VM is running
  426. # Possible values: TRUE, FALSE, "PATH/TO/FILE" (FALSE is recommended)
  427. mks.thumb.fileName = "FALSE"
  428.  
  429. # Allows always showing watermark
  430. # Possible values: TRUE, FALSE (FALSE is recommended)
  431. mks.alwaysWatermark = "FALSE"
  432.  
  433. ### SVGA ###
  434.  
  435. # How to disable display resolution setting through VMware Tools. In order to prevent Windows from setting display modes, it may also be necessary to make changes to the Group Policy settings
  436. # Possible values: TRUE, FALSE (FALSE is recommended)
  437. guestinfo.svga.wddm.modeset = "FALSE"
  438.  
  439. # Allows autodetect of host-to-guest screen resolution display modes
  440. # Possible values: TRUE, FALSE (FALSE is recommended)
  441. svga.autodetect = "FALSE"
  442.  
  443. # Enable it to access higher resolutions. May help with maximise the VMware window and the guest resizes correctly by disabling
  444. # Possible values: TRUE, FALSE (TRUE is recommended)
  445. svga.guestBackedPrimaryAware = "TRUE"
  446.  
  447. # Screen Object allows several new capabilities including more efficient management of framebuffer memory, dynamic creation and destruction of virtual monitors, and it is leading up to the deprecation of BAR1 memory in favor of guest system memory
  448. # Possible values: TRUE, FALSE (TRUE is recommended)
  449. svga.enableScreenObject = "TRUE"
  450.  
  451. # Forces a full refresh of the screen. Changes max change tick with formula [ 100/N ] like [ N = 2; 100/2 = 50 (Hz) ]. Improves in-guest performance and interactivity with decreasing values but causes host machine overload and vise-versa. May help with SoftIce by setting "2"
  452. # Possible values: -1, 1, 2, 4, 5, 10 (1 is recommended, -1 is default (n.s.))
  453. svga.maxFullscreenRefreshTick = "1"
  454. svga.maxChangeTick = "1"
  455. svga.maxLocalChangeTick = "1"
  456. svga.maxNoChangeTick = "1"
  457.  
  458. # Changes showing of update rate (freq)
  459. # Possible values: TRUE, FALSE (FALSE is recommended)
  460. svga.showUpdateRate = "FALSE"
  461.  
  462. # Changes showing of FPS
  463. # Possible values: TRUE, FALSE (FALSE is recommended)
  464. svga.debug.showFPS = "FALSE"
  465.  
  466. # Sets readback region complexity limit. Improves FPS of program inside VM. May improve interactivity
  467. # Possible values: INTEGER (512 is recommended, 64 is default)
  468. svga.readbackRegionComplexityLimit = "512"
  469.  
  470. # Sets thread polling time in microseconds. Set "1000" to reduce latency, but may cause laggy due to overhead
  471. # Possible values: INTEGER (10000 is default)
  472. svga.threadPollUS = "1000"
  473.  
  474. # Disables thread sleeping/idle. May cause hog one logical host CPU 100%, but may improve interactivity. Use with caution
  475. # Possible values: TRUE, FALSE (FALSE is default)
  476. svga.noThreadSleep = "TRUE"
  477.  
  478. # Sets thread polling pending fences in microseconds
  479. # Possible values: INTEGER (100 is default)
  480. svga.threadPollPendingFencesUS = "100"
  481.  
  482. # Sets maximal fence age in microseconds
  483. # Possible values: INTEGER (100000 is default)
  484. svga.maxFenceAgeUS = "100000"
  485.  
  486. # Sets trace FB (Frame Buffer?, n.s.) coalese in microseconds
  487. # Possible values: INTEGER (10000 is default)
  488. svga.traceFBCoaleseUS = "10000"
  489.  
  490. # Enables force SVGA VMWare interface tracing for debug/analysis. May help to fix SoftIce working by setting "TRUE"
  491. # Possible values: TRUE, FALSE (FALSE is recommended, default)
  492. svga.forceTraces = "FALSE"
  493.  
  494. # Disables HardWare(?) cursor
  495. # Possible values: TRUE, FALSE (FALSE is recommended)
  496. svga.noHWCursor = "FALSE"
  497.  
  498. # Enables VMWare overlay
  499. # Possible values: TRUE, FALSE (FALSE is recommended)
  500. svga.enableOverlay = "FALSE"
  501.  
  502. # Enables FPS frame count debug
  503. # Possible values: TRUE, FALSE (FALSE is recommended)
  504. svga.debug.fpsFrameCount = "FALSE"
  505.  
  506. # Enables port debug
  507. # Possible values: TRUE, FALSE (FALSE is recommended)
  508. svga.debug.port = "FALSE"
  509.  
  510. # Enables HardWare(?) logging
  511. # Possible values: TRUE, FALSE (FALSE is recommended)
  512. svga.loghw = "FALSE"
  513.  
  514. ### LOGGING ###
  515.  
  516. # Sets the level of log file rotation
  517. # Possible values: INTEGER (0 is recommended)
  518. log.keepOld = "0"
  519.  
  520. # Sets debug logging of your guest's VM
  521. # Possible values: TRUE, FALSE (FALSE is recommended)
  522. logging = "FALSE"
  523.  
  524. ### PRIORITY ###
  525.  
  526. # Sets priority while VM is grabbed
  527. # Possible values: "normal", "high" ("high" is recommended)
  528. Priority.grabbed = "high"
  529.  
  530. # Sets priority while VM is ungrabbed
  531. # Possible values: "normal", "low", "idle" ("low" is recommended)
  532. Priority.ungrabbed = "low"
  533.  
  534. ### MEMORY ###
  535.  
  536. # This setting prevents that memory which was released by the guest is released on the host also. By disabling MemTrimRate, memory allocation inside the guest is faster because it doesn't take and give memory to the host os upon all requests
  537. # Possible values: INTEGER (0 is recommended)
  538. MemTrimRate = "0"
  539.  
  540. # Prevents VMware from adjusting the memory size of the virtual machine if it cannot allocate enough memory
  541. # Possible values: TRUE, FALSE (FALSE is recommended)
  542. MemAllowAutoScaleDown = "FALSE"
  543.  
  544. # This will only work for Windows hosts and this parameter can be used if high disk activity is experienced upon shutting down the virtual machine. This will prevent VMware from creating a .vmem file. Use mainmem.backing = "swap" on Linux hosts instead
  545. # Possible values: "file", "FALSE" (FALSE is recommended)
  546. mainMem.useNamedFile = "FALSE"
  547.  
  548. # These two parameters will prevent the virtual machine from creating partial snapshots for suspends. When these parameters are used, virtual machine suspension will take slightly longer, but there should be less hard disk activity from VMware trying to store this information
  549. # Possible values: TRUE, FALSE (FALSE is recommended)
  550. mainMem.partialLazySave = "FALSE"
  551. mainMem.partialLazyRestore = "FALSE"
  552.  
  553. # If several virtual machines are running simultaneously, VMware will try to locate identical pages and share these between the virtual machines. This can be very I/O intensive
  554. # Possible values: TRUE, FALSE (FALSE is recommended)
  555. sched.mem.pshare.enable = "FALSE"
  556.  
  557. # It seems to prevent the host system from swapping parts of the guest memory. This tells VMWare whether to use a fixed sized memory chunk or balloon and shrink memory as needed
  558. # Possible values: TRUE, FALSE (TRUE is recommended)
  559. prefvmx.useRecommendedLockedMemSize = "TRUE"
  560.  
  561. # Sets amount of RAM in percent which should be reserved by the virtual machine on the host system. If this is set to a lower value it is possible to assign the virtual machine more memory than is available in the host system. Be careful though, as in this case it will most likely lead to excessive hard drive usage. If enough RAM is on the host system, this value should be left at 100
  562. # Possible values: INTEGER (0-100) (100 is recommended)
  563. prefvmx.minVmMemPct = "100"
  564.  
  565. ### HYPERVISOR ###
  566.  
  567. # The parameters is used to deceive the system, as well as drivers (mainly NVIDIA) that they are running inside a VM. There is an opinion that you need to write it for each individual CPU core (from v0 to v3 for quad-core CPU, for example)
  568. # Possible values: TRUE, FALSE (FALSE is recommended)
  569. hypervisor.cpuid.v0 = "FALSE"
  570. hypervisor.cpuid.v1 = "FALSE"
  571.  
  572. # Enables host-to-guest IOMMU (IO Memory Management Unit) pass-thru. Creates unknown PCI device in guest system. This is AMD/Intel IOMMU Device, so you need to find and install iommu/chipset driver on your own bcs there is no such a driver in VMWare Tools package. Also may cause network breaking with bridge mode (change to NAT, it will work)
  573. # Possible values: TRUE, FALSE (TRUE is recommended)
  574. vvtd.enable = "TRUE"
  575.  
  576. # Enables VT-x host-to-guest features
  577. # Possible values: TRUE, FALSE (TRUE is recommended)
  578. vhv.enable = "TRUE"
  579.  
  580. # There may be confusion with "vhv.enable", which corresponds to the "Virtualize Intel VT-x/EPT or AMD-V/RVI" option
  581. # Possible values: TRUE, FALSE (TRUE is recommended)
  582. vhu.enable = "TRUE"
  583.  
  584. # Enables Virtualized Performance CPU Counters devices
  585. # Possible values: TRUE, FALSE (TRUE is recommended)
  586. vpmc.enable = "TRUE"
  587.  
  588. # This command enables/disables Machine Check Exception (MCE)
  589. # Possible values: TRUE, FALSE (TRUE is recommended)
  590. mce.enable = "TRUE"
  591.  
  592. # This undocummented parameter using for kinda of antidetect VM, bound with nested
  593. # Possible values: TRUE, FALSE (FALSE is recommended)
  594. vmGenCounter.enable = "FALSE"
  595.  
  596. # A message about disabling side channel mitigations shows up only when the ULM is used instead of the ring 0 VMM as the hypervisor monitor. That means the Windows host has been detected to have Hyper-V enabled. There is no advanced options in VMware Workstation Player. To disable the side channel mitigation, shut down the VM and add the following to the VM vmx configuration file
  597. # Possible values: TRUE, FALSE (TRUE is recommended)
  598. ulm.disableMitigations = "TRUE"
  599.  
  600. ### UNITY ###
  601.  
  602. # UNDOCUMMENTED UNITY PARAMETERS
  603. # Possible values: TRUE, FALSE
  604. isolation.tools.unity.disable = "TRUE"
  605. isolation.tools.unity.push.update.disable = "TRUE"
  606. isolation.tools.unity.taskbar.disable = "TRUE"
  607. isolation.tools.unity.windowContents.disable = "TRUE"
  608. isolation.tools.unityActive.disable = "TRUE"
  609. isolation.tools.unityInterlockOperation.disable = "TRUE"
  610. unity.allowCompositingInGuest = "FALSE"
  611. unity.enableLaunchMenu = "FALSE"
  612. unity.showBadges = "FALSE"
  613. unity.showBorders = "FALSE"
  614. unity.wasCapable = "FALSE"
  615. pref.unity.minimizeOnEnteringUnity = "FALSE"
  616.  
  617. ### OTHER ###
  618.  
  619. # In newer versions of Workstation you can choose "Power on to BIOS", but sometimes you still want to just have more time for selecting the boot device. Adding this to the .vmx of the VM you want to work on will help. Where 5000 is milliseconds, and the max is 10000 or 10 seconds.
  620. # Possible values: INTEGER (0-10000) (0 is recommended)
  621. bios.bootDelay = "2000"
  622.  
  623. # Manages VMWare hints hiding
  624. # Possible values: TRUE, FALSE (TRUE is recommended)
  625. hints.hideAll = "TRUE"
  626.  
  627. # Sets reminder of VMWare tools installation
  628. # Possible values: TRUE, FALSE (FALSE is recommended)
  629. hint.tools.toolsReminder = "FALSE"
  630.  
  631. # Tries to automatically answer all questions that may occur at boot-time
  632. # Possible values: TRUE, FALSE (TRUE is recommended)
  633. msg.autoAnswer = "TRUE"
  634.  
  635. # Enables "OK"-message suppression that VMWare generates
  636. # Possible values: TRUE, FALSE (TRUE is recommended)
  637. msg.noOK = "TRUE"
  638.  
  639. # Enables "OK"-message and "Warning"-message suppression that VMWare generates
  640. # Possible values: TRUE, FALSE (TRUE is recommended)
  641. msg.noOKnoWarning = "TRUE"
  642.  
  643. # Enables VMWare notification area
  644. # Possible values: TRUE, FALSE (FALSE is recommended)
  645. notificationArea.enabled = "FALSE"
  646.  
  647. # Allows to enable PAE mechanism for in-guest VM. Usually matters on x32/x86 systems because it allows to use more than default RAM limit (usually from 2-3 GB up to 16 GB, for example)
  648. # Possible values: TRUE, FALSE (TRUE is recommended)
  649. paevm = "TRUE"
  650.  
  651. # In virtual hardware mark 7 several devices are seen as removable by the guest like for example networkcards. If you do not want this behaviour use this parameter - then the VM does not display network-cards as removable similar to older virtual hardware
  652. # Possible values: TRUE, FALSE (FALSE is recommended)
  653. devices.hotplug = "FALSE"
  654.  
  655. # Enables VCPU (Virtual CPU) hot addition (hotadd). May reduce loading time
  656. # Possible values: TRUE, FALSE (FALSE is recommended)
  657. vcpu.hotadd = "FALSE"
  658.  
  659. # Enables VRAM (Virtual RAM) hot addition (hotadd). May fix errors "add_memory failed" and "acpi_memory_enable_device() error" by disabling. May reduce loading time
  660. # Possible values: TRUE, FALSE (FALSE is recommended)
  661. mem.hotadd = "FALSE"
  662.  
  663. # Enables hyperthreading awareness. Set number of "vcpus" ("numvcpus") parameters equal to number of threads
  664. # Possible values: INTEGER (1, 2)
  665. cpuid.numSMT = "2"
  666.  
  667. # By specifying a CPU affinity setting for each virtual machine, you can restrict the assignment of virtual machines to a subset of the available processors in multiprocessor systems. By using this feature, you can assign each virtual machine to processors in the specified affinity set. See more on docs.vmware.com
  668. # Possible values: "0-3", "0, 2, 4-7", "1, 3" "0-15", "all" ("all" is recommended)
  669. sched.cpu.affinity = "all"
  670.  
  671. # Enables VMCI devices. The Virtual Machine Communication Interface (VMCI) is an infrastructure that provides fast and efficient communication between a virtual machine and a host
  672. # Possible values: TRUE, FALSE (TRUE is recommended)
  673. vmci.available = "TRUE"
  674.  
  675. # Enables VMCI devices. The Virtual Machine Communication Interface (VMCI) is an infrastructure that provides fast and efficient communication between a virtual machine and a host
  676. # Possible values: TRUE, FALSE (TRUE is recommended)
  677. vmci0.present = "TRUE"
  678.  
  679. # Enables HPET devices
  680. # Possible values: TRUE, FALSE (TRUE is recommended)
  681. hpet0.present = "TRUE"
  682.  
  683. # Enables EHCI devices
  684. # Possible values: TRUE, FALSE (TRUE is recommended)
  685. ehci.present = "TRUE"
  686.  
  687. # Enables Floppy devices
  688. # Possible values: TRUE, FALSE (FALSE is recommended)
  689. floppy0.present = "FALSE"
  690.  
  691. # May help to fix problem with not enough physical memory is available to power on this virtual machine
  692. # Possible values: TRUE, FALSE (TRUE is recommended)
  693. vmmon.disableHostParameters = "TRUE"
  694.  
  695. # Manages disabling suspend mode for guest's VM
  696. # Possible values: TRUE, FALSE (TRUE is recommended)
  697. suspend.disabled = "TRUE"
  698.  
  699. # Theoretically manages GPS sensors (n.s.)
  700. # Possible values: "pass-through", "disabled" ("disabled" is recommended)
  701. sensor.location = "disabled"
  702.  
  703. # Theoretically manages orientation sensors (n.s.)
  704. # Possible values: "pass-through", "disabled" ("disabled" is recommended)
  705. sensor.orientation = "disabled"
  706.  
  707. # Allows to do pass-thru of some host DMI info to guest's VM. May fix some troubles with hypervisor
  708. # Possible values: TRUE, FALSE (TRUE is recommended)
  709. hw.model.reflectHost = "TRUE"
  710.  
  711. # Allows to do pass-thru of some host DMI info to guest's VM. May fix some troubles with hypervisor. Same as above one
  712. # Possible values: TRUE, FALSE (TRUE is recommended)
  713. smbios.reflectHost = "TRUE"
  714.  
  715. # Enables using for short serial number in DMI
  716. # Possible values: TRUE, FALSE (TRUE is recommended
  717. smbios.useShortSerialNumber = "TRUE"
  718.  
  719. # Allow to do pass-thru of host serial number to guest's VM
  720. # Possible values: TRUE, FALSE (TRUE is recommended)
  721. serialNumber.reflectHost = "TRUE"
  722.  
  723. # Scoreboard files contain performance information about the VM for the Scoreboard Widget and is not required to run the VM
  724. # Possible values: TRUE, FALSE (FALSE is recommended)
  725. vmx.scoreboard.enabled = "FALSE"
  726.  
  727. # The "debug" is the default for the beta versions (aka Tech Preview). When set to "debug", vmware-vmx-debug.exe will be used instead of vmware-vmx.exe and the vmware.log file will be larger
  728. # Possible values: "release", "debug" ("release" is recommended)
  729. vmx.buildType = "release"
  730.  
  731. # Disables snapshots
  732. # Possible values: TRUE, FALSE (TRUE is recommended)
  733. snapshot.disabled = "TRUE"
  734.  
  735. # Sets numbers of snapshots
  736. # Possible values INTEGER (0 is recommended)
  737. snapshot.numSnapshots = "0"
  738.  
  739. # Sets max number of snapshots
  740. # Possible values: INTEGER (0 is recommended)
  741. snapshot.maxSnapshots = "0"
  742.  
  743. # In Workstation 16.2 Dark Mode had disappeared by accident, it was discovered that adding the following setting to the preferences.ini file makes it re-appear. Disabling may help fix guest's VM screen flickering
  744. # Possible values: TRUE, FALSE (FALSE is recommended)
  745. wsFeatureDarkModeSupported = "FALSE"
  746.  
  747. # Sets VM sample monitor control logging
  748. # Possible values: TRUE, FALSE (FALSE is recommended)
  749. monitor_control.log_vmsample = "FALSE"
  750.  
  751. # Enables VNC remote display
  752. # Possible values: TRUE, FALSE (FALSE is recommended)
  753. RemoteDisplay.vnc.enabled = "FALSE"
  754.  
  755. #############################################
  756. # IN-WINDOWS-GUEST ADDITIONAL COMMANDS .bat #
  757. #############################################
  758.  
  759. # Applies in-guest system hibernation
  760. # Possible values: "on", "off" ("off" is recommended)
  761. powercfg /hibernate off
  762.  
  763. # Applies in-guest hypervisor type definition
  764. # Possible values: "on", "off" ("off" is recommended)
  765. bcdedit /set hypervisorlaunchtype off
  766.  
  767. # For being able to change in-login background (without any additional programs) picture you need in regedit:
  768. go to HKEY_LOCAL_MACHINE -> Software -> Microsoft -> Windows -> CurrentVersion -> Authentication -> LogonUI -> Background
  769. create key OEMBackground with type DWORD with value 1
  770. # Then go in explorer:
  771. C:\Windows\System32\oobe
  772. # Create folders if they not exists. It will work:
  773. info\backgrounds
  774. # Put in backgrounds any .jpg image named backgroundDefault.jpg and size under 256KB. The result should be like this:
  775. C:\Windows\System32\oobe\info\backgrounds\backgroundDefault.jpg
  776. # It will work, I tested this method
  777.  
  778. # The code below is for autorun application that you need on a VM poweron just for avoid wasting time. Change N (5 for example) for seconds you need for fully ready-steady of your VM. Run it as a .bat file. Make a shortcut link to file and place it to autorun (Start -> All programs -> Autorun)
  779.  
  780. ### CODE BEGIN ###
  781.  
  782. @echo off
  783.  
  784. timeout N > nul
  785.  
  786. start "" C:\path\to\need\application.exe -popupwindow
  787.  
  788. exit
  789.  
  790. ### CODE END ###
  791.  
  792. # The code below is for automatic deletetion trash, disk cleanup, defragmentation and space shrinking. Exclude directories from it that you do not want to clear. Run it as a .bat file
  793.  
  794. ### CODE BEGIN ###
  795.  
  796. cd C:\
  797.  
  798. rmdir /q /s "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\SetupCache"
  799. rmdir /q /s "C:\Windows\Installer"
  800. rmdir /q /s "C:\Windows\SoftwareDistribution"
  801. rmdir /q /s "C:\Windows\assembly\NativeImages_v4.0.30319_64\Temp"
  802. rmdir /q /s "C:\Program Files\Common Files\VMware\InstallerCache"
  803. rmdir /q /s "C:\Program Files\AMD"
  804. rmdir /q /s "C:\Program Files\NVIDIA Corporation"
  805. rmdir /q /s "C:\ProgramData\Package Cache"
  806. rmdir /q /s "C:\Program Files\Google"
  807. rmdir /q /s "C:\Program Files (x86)\Google"
  808. rmdir /q /s "C:\AMD"
  809. rmdir /q /s "C:\Intel"
  810. rmdir /q /s "C:\DirectX"
  811. rmdir /q /s "C:\Users\Admin\AppData\Local\RadeonInstaller"
  812. rmdir /q /s "C:\Users\Public\Music\Sample Music"
  813. rmdir /q /s "C:\Users\Public\Videos\Sample Videos"
  814. rmdir /q /s "C:\Users\Public\Pictures\Sample Pictures"
  815.  
  816. cd "C:\Windows\Temp" && rmdir /q /s .
  817. cd "C:\Users\Admin\AppData\Local\Temp" && rmdir /q /s .
  818. cd "C:\Windows\Logs" && rmdir /q /s .
  819.  
  820. cd C:\
  821.  
  822. erase /q /s "C:\ProgramData\VMware\logs\*.*"
  823. erase /q /s "C:\Users\Admin\AppData\Local\Microsoft\Media Player\*.*"
  824. erase /q /s "C:\Users\Admin\Downloads\*.*"
  825. erase /q /s "C:\Users\Admin\Videos\*.*"
  826. erase /q /s "C:\Users\Admin\Pictures\*.*"
  827. erase /q /s "C:\Users\Admin\Documents\*.*"
  828. erase /q /s "C:\Users\Admin\Music\*.*"
  829.  
  830. cleanmgr
  831.  
  832. defrag C: /A
  833.  
  834. defrag C: /U /V
  835.  
  836. defrag C: /A
  837.  
  838. cd "C:\Program Files\VMware\VMware Tools" && .\VMwareToolboxCmd.exe disk shrink C:\
  839.  
  840. ### CODE END ###
  841.  
  842. #####################################################
  843. # MY OWN CUSTOM CONFIG .ini JUST FOR FAST COPYPASTE #
  844. #####################################################
  845.  
  846. installerDefaults.autoSoftwareUpdateEnabled = "FALSE"
  847. installerDefaults.componentDownloadEnabled = "FALSE"
  848. installerDefaults.dataCollectionEnabled = "FALSE"
  849. gui.applyHostDisplayScalingToGuest = "TRUE"
  850. pref.autoFit = "FALSE"
  851. pref.autoFitGuestToWindow = "FALSE"
  852. pref.autoFitFullScreen = "stretchGuestToHost"
  853. pref.autoSoftwareUpdatePermission = "deny"
  854. pref.vmplayer.dataCollectionEnabled = "FALSE"
  855. pref.vmplayer.fullscreen.autohide = "TRUE"
  856. pref.fullscreen.toolbarpixels = "0"
  857. pref.vmplayer.fullscreen.nobar = "TRUE"
  858. pref.vmplayer.exit.vmAction = "poweroff"
  859. pref.vmplayer.deviceBarToplevel = "TRUE"
  860.  
  861. #####################################################
  862. # MY OWN CUSTOM CONFIG .vmx JUST FOR FAST COPYPASTE #
  863. #####################################################
  864.  
  865. installerDefaults.autoSoftwareUpdateEnabled = "FALSE"
  866. installerDefaults.componentDownloadEnabled = "FALSE"
  867. installerDefaults.dataCollectionEnabled = "FALSE"
  868. gui.applyHostDisplayScalingToGuest = "TRUE"
  869. gui.fullscreenatpoweron = "TRUE"
  870. gui.viewModeAtPowerOn = "fullscreen"
  871. pref.autoFit = "FALSE"
  872. pref.autoFitGuestToWindow = "FALSE"
  873. pref.autoFitFullScreen = "stretchGuestToHost"
  874. pref.motionGrab = "FALSE"
  875. pref.motionUngrab = "FALSE"
  876. pref.autoSoftwareUpdatePermission = "deny"
  877. pref.vmplayer.dataCollectionEnabled = "FALSE"
  878. pref.vmplayer.fullscreen.autohide = "TRUE"
  879. pref.fullscreen.toolbarpixels = "0"
  880. pref.vmplayer.fullscreen.nobar = "TRUE"
  881. pref.vmplayer.exit.vmAction = "poweroff"
  882. pref.vmplayer.deviceBarToplevel = "TRUE"
  883. tools.remindInstall = "FALSE"
  884. tools.upgrade.policy = "manual"
  885. tools.syncTime = "FALSE"
  886. isolation.tools.hgfs.disable = "TRUE"
  887. isolation.tools.hgfs.notify.enable = "FALSE"
  888. isolation.tools.osNotFound.disable = "TRUE"
  889. isolation.tools.log.disable = "TRUE"
  890. isolation.tools.updateTools.disable = "TRUE"
  891. isolation.tools.message.disable = "TRUE"
  892. hgfs.mapRootShare = "FALSE"
  893. isolation.tools.unity.disable = "TRUE"
  894. isolation.tools.unity.push.update.disable = "TRUE"
  895. isolation.tools.unity.taskbar.disable = "TRUE"
  896. isolation.tools.unity.windowContents.disable = "TRUE"
  897. isolation.tools.unityActive.disable = "TRUE"
  898. isolation.tools.unityInterlockOperation.disable = "TRUE"
  899. unity.allowCompositingInGuest = "FALSE"
  900. unity.enableLaunchMenu = "FALSE"
  901. unity.showBadges = "FALSE"
  902. unity.showBorders = "FALSE"
  903. unity.wasCapable = "FALSE"
  904. pref.unity.minimizeOnEnteringUnity = "FALSE"
  905. usb.present = "TRUE"
  906. usb.generic.allowHID = "TRUE"
  907. usb.generic.allowLastHID = "TRUE"
  908. usb.analyzer.enable = "FALSE"
  909. keyboard.allowBothIRQs = "FALSE"
  910. keyboard.vusb.enable = "TRUE"
  911. keyboard.softAutorepeat = "FALSE"
  912. keyboard.typematicMinDelay = "5"
  913. vmmouse.present = "FALSE"
  914. mouse.vusb.enable = "TRUE"
  915. mouse.vusb.useBasicMode = "FALSE"
  916. touchscreen.vusb.present = "FALSE"
  917. usb.generic.allowCCID = "TRUE"
  918. usb.ccid.disable = "TRUE"
  919. mks.vsync = "TRUE"
  920. mks.noBeep = "TRUE"
  921. mks.enable3d = "TRUE"
  922. mks.maxRefreshRate = "60"
  923. mks.lowCompositingFPS = "60"
  924. mks.maxCompositingFPS = "60"
  925. mks.skipHookTimeoutCheck = "TRUE"
  926. mks.updateCoalescePeriodUS = "0"
  927. mks.requireHardwareRenderer = "TRUE"
  928. mks.allowAcceleratedRenderers = "TRUE"
  929. mks.movie.config.high.recordSound = "FALSE"
  930. mks.forceDiscreteGPU = "TRUE"
  931. mks.useD3D = "TRUE"
  932. mks.enableX11Presentation = "FALSE"
  933. mks.enableVulkanPresentation = "TRUE"
  934. mks.enableVulkanRenderer = "TRUE"
  935. mks.vk.forceDevice = "AMD"
  936. mks.gl.allowUnsupportedDevices = "TRUE"
  937. mks.gl.allowUnsupportedDrivers = "TRUE"
  938. mks.gl.allowBlacklistedDevices = "TRUE"
  939. mks.gl.allowBlacklistedDrivers = "TRUE"
  940. mks.vk.allowUnsupportedDevices = "TRUE"
  941. mks.vk.allowUnsupportedDrivers = "TRUE"
  942. mks.vk.allowBlacklistedDevices = "TRUE"
  943. mks.vk.allowBlacklistedDrivers = "TRUE"
  944. mks.gamingMouse.policy = "gaming"
  945. mks.keyboardFilter = "require"
  946. mks.disableTypematic = "TRUE"
  947. mks.disableRemoteClientTypematic = "TRUE"
  948. mks.d3d.disableFlips = "TRUE"
  949. mks.dx8.disableFlips = "TRUE"
  950. mks.dx9.disableFlips = "TRUE"
  951. mks.dx10.disableFlips = "TRUE"
  952. mks.dx11.disableFlips = "TRUE"
  953. mks.dx12.disableFlips = "TRUE"
  954. mks.d3d.vendorID = "0x1002"
  955. mks.dx8.vendorID = "0x1002"
  956. mks.dx9.vendorID = "0x1002"
  957. mks.dx10.vendorID = "0x1002"
  958. mks.dx11.vendorID = "0x1002"
  959. mks.dx12.vendorID = "0x1002"
  960. mks.keyboard.syncLEDs = "FALSE"
  961. mks.gl.magFilter = "0x2600"
  962. mks.gl.minFilter = "0x2600"
  963. mks.fullscreen.allowScreenSaver = "FALSE"
  964. mks.windowed.allowScreenSaver = "FALSE"
  965. mks.glConsole = "FALSE"
  966. mks.gl.dontLogErrors = "TRUE"
  967. mks.gl.noTimeInfo = "TRUE"
  968. mks.gl.doubleBuffer = "TRUE"
  969. mks.gl.fbo = "TRUE"
  970. mks.gl.useFBTexture = "TRUE"
  971. mks.mouseDebug = "FALSE"
  972. mks.noHostCursor = "FALSE"
  973. mks.showCursor = "FALSE"
  974. mks.useDirectInput = "TRUE"
  975. mks.debugChainMgr = "FALSE"
  976. mks.thumb.fileName = "FALSE"
  977. mks.alwaysWatermark = "FALSE"
  978. guestinfo.svga.wddm.modeset = "FALSE"
  979. svga.autodetect = "FALSE"
  980. svga.guestBackedPrimaryAware = "TRUE"
  981. svga.enableScreenObject = "TRUE"
  982. svga.maxFullscreenRefreshTick = "1"
  983. svga.maxChangeTick = "1"
  984. svga.maxLocalChangeTick = "1"
  985. svga.maxNoChangeTick = "1"
  986. svga.showUpdateRate = "FALSE"
  987. svga.debug.showFPS = "FALSE"
  988. svga.readbackRegionComplexityLimit = "512"
  989. svga.forceTraces = "FALSE"
  990. svga.noHWCursor = "FALSE"
  991. svga.enableOverlay = "FALSE"
  992. svga.debug.fpsFrameCount = "FALSE"
  993. svga.debug.port = "FALSE"
  994. svga.loghw = "FALSE"
  995. log.keepOld = "0"
  996. logging = "FALSE"
  997. Priority.grabbed = "high"
  998. Priority.ungrabbed = "low"
  999. MemTrimRate = "0"
  1000. MemAllowAutoScaleDown = "FALSE"
  1001. mainMem.useNamedFile = "FALSE"
  1002. mainMem.partialLazySave = "FALSE"
  1003. mainMem.partialLazyRestore = "FALSE"
  1004. sched.mem.pshare.enable = "FALSE"
  1005. prefvmx.useRecommendedLockedMemSize = "TRUE"
  1006. prefvmx.minVmMemPct = "100"
  1007. hypervisor.cpuid.v0 = "FALSE"
  1008. hypervisor.cpuid.v1 = "FALSE"
  1009. hypervisor.cpuid.v2 = "FALSE"
  1010. hypervisor.cpuid.v3 = "FALSE"
  1011. vvtd.enable = "TRUE"
  1012. vhv.enable = "TRUE"
  1013. vhu.enable = "TRUE"
  1014. vpmc.enable = "TRUE"
  1015. mce.enable = "TRUE"
  1016. vmGenCounter.enable = "FALSE"
  1017. ulm.disableMitigations = "TRUE"
  1018. bios.bootDelay = "0"
  1019. hints.hideAll = "TRUE"
  1020. hint.tools.toolsReminder = "FALSE"
  1021. msg.autoAnswer = "TRUE"
  1022. msg.noOK = "TRUE"
  1023. msg.noOKnoWarning = "TRUE"
  1024. notificationArea.enabled = "FALSE"
  1025. paevm = "TRUE"
  1026. devices.hotplug = "FALSE"
  1027. mem.hotadd = "FALSE"
  1028. vcpu.hotadd = "FALSE"
  1029. cpuid.numSMT = "2"
  1030. sched.cpu.affinity = "0-3"
  1031. vmci.available = "TRUE"
  1032. vmci0.present = "TRUE"
  1033. hpet0.present = "TRUE"
  1034. ehci.present = "TRUE"
  1035. floppy0.present = "FALSE"
  1036. vmmon.disableHostParameters = "TRUE"
  1037. suspend.disabled = "TRUE"
  1038. sensor.location = "disabled"
  1039. sensor.orientation = "disabled"
  1040. hw.model.reflectHost = "TRUE"
  1041. smbios.reflectHost = "TRUE"
  1042. smbios.useShortSerialNumber = "TRUE"
  1043. serialNumber.reflectHost = "TRUE"
  1044. vmx.scoreboard.enabled = "FALSE"
  1045. vmx.buildType = "release"
  1046. snapshot.disabled = "TRUE"
  1047. snapshot.numSnapshots = "0"
  1048. snapshot.maxSnapshots = "0"
  1049. wsFeatureDarkModeSupported = "FALSE"
  1050. monitor_control.log_vmsample = "FALSE"
  1051. RemoteDisplay.vnc.enabled = "FALSE"
  1052.  
  1053. #######################################################
  1054. # MY OWN CUSTOM COMMANDS .bat JUST FOR FAST COPYPASTE #
  1055. #######################################################
  1056.  
  1057. powercfg /hibernate off
  1058. bcdedit /set hypervisorlaunchtype off
  1059.  
  1060. ### CHANGING LOGIN BACKGROUND ###
  1061.  
  1062. go to HKEY_LOCAL_MACHINE -> Software -> Microsoft -> Windows -> CurrentVersion -> Authentication -> LogonUI -> Background
  1063. create key OEMBackground with type DWORD with value 1
  1064.  
  1065. C:\Windows\System32\oobe\info\backgrounds\backgroundDefault.jpg
  1066.  
  1067. ### BAT FOR AUTORUN APPLICATION ###
  1068.  
  1069. ### CODE BEGIN ###
  1070.  
  1071. @echo off
  1072.  
  1073. timeout 5 > nul
  1074.  
  1075. start "" C:\Games\CWClient\CWClient.exe -popupwindow
  1076.  
  1077. exit
  1078.  
  1079. ### CODE END ###
  1080.  
  1081. ### BAT FOR AUTOMATIC DISK CLEANUP ###
  1082.  
  1083. ### CODE BEGIN ###
  1084.  
  1085. cd C:\
  1086.  
  1087. rmdir /q /s "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\SetupCache"
  1088. rmdir /q /s "C:\Windows\Installer"
  1089. rmdir /q /s "C:\Windows\SoftwareDistribution"
  1090. rmdir /q /s "C:\Windows\assembly\NativeImages_v4.0.30319_64\Temp"
  1091. rmdir /q /s "C:\Program Files\Common Files\VMware\InstallerCache"
  1092. rmdir /q /s "C:\Program Files\AMD"
  1093. rmdir /q /s "C:\Program Files\NVIDIA Corporation"
  1094. rmdir /q /s "C:\ProgramData\Package Cache"
  1095. rmdir /q /s "C:\Program Files\Google"
  1096. rmdir /q /s "C:\Program Files (x86)\Google"
  1097. rmdir /q /s "C:\AMD"
  1098. rmdir /q /s "C:\Intel"
  1099. rmdir /q /s "C:\DirectX"
  1100. rmdir /q /s "C:\Users\Admin\AppData\Local\RadeonInstaller"
  1101. rmdir /q /s "C:\Users\Public\Music\Sample Music"
  1102. rmdir /q /s "C:\Users\Public\Videos\Sample Videos"
  1103. rmdir /q /s "C:\Users\Public\Pictures\Sample Pictures"
  1104.  
  1105. cd "C:\Windows\Temp" && rmdir /q /s .
  1106. cd "C:\Users\Admin\AppData\Local\Temp" && rmdir /q /s .
  1107. cd "C:\Windows\Logs" && rmdir /q /s .
  1108.  
  1109. cd C:\
  1110.  
  1111. erase /q /s "C:\ProgramData\VMware\logs\*.*"
  1112. erase /q /s "C:\Users\Admin\AppData\Local\Microsoft\Media Player\*.*"
  1113. erase /q /s "C:\Users\Admin\Downloads\*.*"
  1114. erase /q /s "C:\Users\Admin\Videos\*.*"
  1115. erase /q /s "C:\Users\Admin\Pictures\*.*"
  1116. erase /q /s "C:\Users\Admin\Documents\*.*"
  1117. erase /q /s "C:\Users\Admin\Music\*.*"
  1118.  
  1119. cleanmgr
  1120.  
  1121. defrag C: /A
  1122.  
  1123. defrag C: /U /V
  1124.  
  1125. defrag C: /A
  1126.  
  1127. cd "C:\Program Files\VMware\VMware Tools" && .\VMwareToolboxCmd.exe disk shrink C:\
  1128.  
  1129. ### CODE END ###
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement