Unpacking Software Livestream

Join our monthly Unpacking Software livestream to hear about the latest news, chat and opinion on packaging, software deployment and lifecycle management!

Learn More

Chocolatey Product Spotlight

Join the Chocolatey Team on our regular monthly stream where we put a spotlight on the most recent Chocolatey product releases. You'll have a chance to have your questions answered in a live Ask Me Anything format.

Learn More

Chocolatey Coding Livestream

Join us for the Chocolatey Coding Livestream, where members of our team dive into the heart of open source development by coding live on various Chocolatey projects. Tune in to witness real-time coding, ask questions, and gain insights into the world of package management. Don't miss this opportunity to engage with our team and contribute to the future of Chocolatey!

Learn More

Calling All Chocolatiers! Whipping Up Windows Automation with Chocolatey Central Management

Webinar from
Wednesday, 17 January 2024

We are delighted to announce the release of Chocolatey Central Management v0.12.0, featuring seamless Deployment Plan creation, time-saving duplications, insightful Group Details, an upgraded Dashboard, bug fixes, user interface polishing, and refined documentation. As an added bonus we'll have members of our Solutions Engineering team on-hand to dive into some interesting ways you can leverage the new features available!

Watch On-Demand
Chocolatey Community Coffee Break

Join the Chocolatey Team as we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.

Watch The Replays
Chocolatey and Intune Overview

Webinar Replay from
Wednesday, 30 March 2022

At Chocolatey Software we strive for simple, and teaching others. Let us teach you just how simple it could be to keep your 3rd party applications updated across your devices, all with Intune!

Watch On-Demand
Chocolatey For Business. In Azure. In One Click.

Livestream from
Thursday, 9 June 2022

Join James and Josh to show you how you can get the Chocolatey For Business recommended infrastructure and workflow, created, in Azure, in around 20 minutes.

Watch On-Demand
The Future of Chocolatey CLI

Livestream from
Thursday, 04 August 2022

Join Paul and Gary to hear more about the plans for the Chocolatey CLI in the not so distant future. We'll talk about some cool new features, long term asks from Customers and Community and how you can get involved!

Watch On-Demand
Hacktoberfest Tuesdays 2022

Livestreams from
October 2022

For Hacktoberfest, Chocolatey ran a livestream every Tuesday! Re-watch Cory, James, Gary, and Rain as they share knowledge on how to contribute to open-source projects such as Chocolatey CLI.

Watch On-Demand

Downloads:

5,486

Downloads of v 2.15.0:

210

Last Update:

04 Nov 2024

Package Maintainer(s):

Software Author(s):

  • Nir Sofer

Tags:

multiple monitors freeware cli

MultiMonitorTool

  • 1
  • 2
  • 3

2.15.0 | Updated: 04 Nov 2024

Downloads:

5,486

Downloads of v 2.15.0:

210

Maintainer(s):

Software Author(s):

  • Nir Sofer

MultiMonitorTool 2.15.0

Legal Disclaimer: Neither this package nor Chocolatey Software, Inc. are affiliated with or endorsed by Nir Sofer. The inclusion of Nir Sofer trademark(s), if any, upon this webpage is solely to identify Nir Sofer goods or services and not for commercial purposes.

  • 1
  • 2
  • 3

Some Checks Have Failed or Are Not Yet Complete

Not All Tests Have Passed


Validation Testing Passed


Verification Testing Passed

Details

Scan Testing Resulted in Flagged as a Note:

At least one file within this package has greater than 0 detections, but less than 5

Details
Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

To install MultiMonitorTool, run the following command from the command line or from PowerShell:

>

To upgrade MultiMonitorTool, run the following command from the command line or from PowerShell:

>

To uninstall MultiMonitorTool, run the following command from the command line or from PowerShell:

>

Deployment Method:

NOTE

This applies to both open source and commercial editions of Chocolatey.

1. Enter Your Internal Repository Url

(this should look similar to https://community.chocolatey.org/api/v2/)


2. Setup Your Environment

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

2. Get the package into your environment

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://community.chocolatey.org/api/v2/. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Copy Your Script

choco upgrade multimonitortool -y --source="'INTERNAL REPO URL'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade multimonitortool -y --source="'INTERNAL REPO URL'" 
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Install multimonitortool
  win_chocolatey:
    name: multimonitortool
    version: '2.15.0'
    source: INTERNAL REPO URL
    state: present

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.


chocolatey_package 'multimonitortool' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '2.15.0'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


cChocoPackageInstaller multimonitortool
{
    Name     = "multimonitortool"
    Version  = "2.15.0"
    Source   = "INTERNAL REPO URL"
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'multimonitortool':
  ensure   => '2.15.0',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

Package Approved

This package was approved as a trusted package on 05 Nov 2024.

Description

MultiMonitorTool

MultiMonitorTool is a small tool that allows you to do some actions related to working with multiple monitors.

With MultiMonitorTool, you can disable/enable monitors, set the primary monitor, save and load the configuration of all monitors, and move windows from one monitor to another. You can do these actions from the user interface or from command-line, without displaying user interface.

MultiMonitorTool also provides a preview window, which allows you to watch a preview of every monitor on your system.

MultiMonitorTool Screenshot

Package Parameters

  • /NoShim - Opt out of creating a GUI shim.
  • /NoDesktopShortcut - Opt out of creating a Desktop shortcut.
  • /NoProgramsShortcut - Opt out of creating a Programs shortcut in your Start Menu.
  • /Start - Automatically start MultiMonitorTool after installation completes.

Package Notes

For future upgrade operations, consider opting into Chocolatey's useRememberedArgumentsForUpgrades feature to avoid having to pass the same arguments with each upgrade:

choco feature enable --name="'useRememberedArgumentsForUpgrades'"

tools\chocolateybeforemodify.ps1
$ErrorActionPreference = 'Stop'

$softwareName = 'MultiMonitorTool'
$process = Get-Process -Name $softwareName -ErrorAction SilentlyContinue
if ($process) {
    Write-Warning "$softwareName is currently running, stopping it to prevent upgrade/uninstall from failing..."
    Stop-Process -InputObject $process -ErrorAction SilentlyContinue

    Start-Sleep -Seconds 3

    $process = Get-Process -Name $softwareName -ErrorAction SilentlyContinue
    if ($process) {
        Write-Warning "$softwareName is still running despite stop request, force stopping it..."
        Stop-Process -InputObject $process -Force -ErrorAction SilentlyContinue
    }

    Write-Warning "If upgrading, $softwareName may need to be manually restarted upon completion"
}
else {
    Write-Debug "No running $softwareName process instances were found"
}
tools\chocolateyInstall.ps1
$ErrorActionPreference = 'Stop'

$archiveFileNames = @('multimonitortool-x64.zip', 'multimonitortool.zip')

if ((Get-OSArchitectureWidth -Compare 64) -and ($env:chocolateyForceX86 -ne $true)) {
  $extractedArchiveName = $archiveFileNames[0]
}
else {
  $extractedArchiveName = $archiveFileNames[1]
}
$toolsDir = "$(Split-Path -Parent $MyInvocation.MyCommand.Definition)"
$extractedArchivePath = Join-Path -Path $toolsDir -ChildPath $extractedArchiveName

$packageArgs = @{
  fileFullPath = $extractedArchivePath
  destination  = $toolsDir
  packageName  = $env:ChocolateyPackageName
}
Get-ChocolateyUnzip @packageArgs

#Clean up ZIP archives post-extraction to prevent unnecessary disk bloat
foreach ($archiveFileName in $archiveFileNames) {
  $archiveFilePath = Join-Path -Path $toolsDir -ChildPath $archiveFileName
  Remove-Item -Path $archiveFilePath -Force -ErrorAction SilentlyContinue
}

$softwareName = 'MultiMonitorTool'
$binaryFileName = "$softwareName.exe"
$linkName = "$softwareName.lnk"
$targetPath = Join-Path -Path $toolsDir -ChildPath $binaryFileName

$pp = Get-PackageParameters
if ($pp.NoShim) {
  #Create shim ignore file
  $ignoreFilePath = Join-Path -Path $toolsDir -ChildPath "$binaryFileName.ignore"
  Set-Content -Path $ignoreFilePath -Value $null -ErrorAction SilentlyContinue
}
else {
  #Create GUI shim
  $guiShimPath = Join-Path -Path $toolsDir -ChildPath "$binaryFileName.gui"
  Set-Content -Path $guiShimPath -Value $null -ErrorAction SilentlyContinue
}

if (!$pp.NoDesktopShortcut) {
  $desktopDirectory = [Environment]::GetFolderPath([Environment+SpecialFolder]::DesktopDirectory)
  $shortcutFilePath = Join-Path -Path $desktopDirectory -ChildPath $linkName
  Install-ChocolateyShortcut -ShortcutFilePath $shortcutFilePath -TargetPath $targetPath -ErrorAction SilentlyContinue
}

if (!$pp.NoProgramsShortcut) {
  $programsDirectory = [Environment]::GetFolderPath([Environment+SpecialFolder]::Programs)
  $shortcutFilePath = Join-Path -Path $programsDirectory -ChildPath $linkName
  Install-ChocolateyShortcut -ShortcutFilePath $shortcutFilePath -TargetPath $targetPath -ErrorAction SilentlyContinue
}

if ($pp.Start) {
  try {
    Start-Process -FilePath $targetPath -ErrorAction Continue
  }
  catch {
    Write-Warning "$softwareName failed to start, please try to manually start it instead."
  }
}
tools\chocolateyuninstall.ps1
$ErrorActionPreference = 'Stop'

$programsDirectory = [Environment]::GetFolderPath([Environment+SpecialFolder]::Programs)
$desktopDirectory = [Environment]::GetFolderPath([Environment+SpecialFolder]::DesktopDirectory)
$linkName = 'MultiMonitorTool.lnk'

$programsShortcutFilePath = Join-Path -Path $programsDirectory -ChildPath $linkName
$desktopShortcutFilePath = Join-Path -Path $desktopDirectory -ChildPath $linkName

if (Test-Path -Path $programsShortcutFilePath) {
    Remove-Item -Path $programsShortcutFilePath -Force
}

if (Test-Path -Path $desktopShortcutFilePath) {
    Remove-Item -Path $desktopShortcutFilePath -Force
}
tools\LICENSE.txt
From: https://www.nirsoft.net/utils/multi_monitor_tool.html

License

This utility is released as freeware. 
You are allowed to freely distribute this utility via floppy disk, CD-ROM, 
Internet, or in any other way, as long as you don't charge anything for this and you don't
sell it or distribute it as a part of commercial product.  
If you distribute this utility, you must include all files in
the distribution package, without any modification !

Disclaimer

The software is provided "AS IS" without any warranty, either expressed or implied,
including, but not limited to, the implied warranties of merchantability and fitness
for a particular purpose. The author will not be liable for any special, incidental,
consequential or indirect damages due to loss of data or any other reason. 
tools\multimonitortool-x64.zip
md5: 4C9C19A379C88E3A887F243D8744EFE1 | sha1: CDC98DAA94276F5917A8E6DA79EBA3B8DF59A9BF | sha256: 216F2740764BE4292DEB191556FF580D56B2BDD79C2DF2E036DB6934E64130E4 | sha512: B3B2459BB33BBF41347697B9CB6E0BF8A6887DEDFB96D9E855AADC9B363EF6AE19DF5EFDDF97B15BC0F79B6650A1FC0FB6CAC7143BB76D202D79115395205D9E
tools\multimonitortool.zip
md5: 1290285555FEE491DA53FDAC676D949A | sha1: B89D17347306F6124DB400743E5C260D84511D99 | sha256: 25C3898AE9D2DBDF619A7851DC8B4DAB5D8C6B3686C15C17F30BEFEF2C2A775F | sha512: 4252BC2067906DE525655B8D07F712C722BE0E448C57624A8E7563A04450166443E45272DF595A895C2EFC970334D100CF46DEF5292AF22EB892D60985C484F8
tools\VERIFICATION.txt
VERIFICATION
Verification is intended to assist the Chocolatey moderators and community
in verifying that this package's contents are trustworthy.

The packaged ZIP archive is sourced via the project's page on Nir Sofer's website.
The project's page is located at the following URL:
https://www.nirsoft.net/utils/multi_monitor_tool.html

For convenience, the packaged archives were downloaded via the following URLs:
https://www.nirsoft.net/utils/multimonitortool.zip
https://www.nirsoft.net/utils/multimonitortool-x64.zip

Nir Sofer also publishes official checksums for the packaged archives at the following URL:
https://www.nirsoft.net/hash_check/?software=multimonitortool

Note that the download URLs are not versioned, and that the checksums page only contains information
for the latest available version. Therefore, these URLs will only be a valid reference source if
the latest available version and packaged version are one and the same. A newly released version
should be expected to invalidate a checksum verification for an older version when using these URLs.

As a workaround, this package's creation process includes the creation of historical snapshots via
the Internet Archive's Wayback Machine to create a permanent backup source.
These snapshots can be accessed at the following URLs:

Download (32-bit): https://web.archive.org/web/20241104232455/https://www.nirsoft.net/utils/multimonitortool.zip
Download (64-bit): https://web.archive.org/web/20241104232534/https://www.nirsoft.net/utils/multimonitortool-x64.zip
Checksums: https://web.archive.org/web/20241104231350/https://www.nirsoft.net/hash_check/?software=multimonitortool

For convenience, the following checksums were published at the time of this package's creation:

multimonitortool.zip
MD5: 1290285555fee491da53fdac676d949a
SHA1: b89d17347306f6124db400743e5c260d84511d99
SHA256: 25c3898ae9d2dbdf619a7851dc8b4dab5d8c6b3686c15c17f30befef2c2a775f
SHA512: 4252bc2067906de525655b8d07f712c722be0e448c57624a8e7563a04450166443e45272df595a895c2efc970334d100cf46def5292af22eb892d60985c484f8

multimonitortool-x64.zip
MD5: 4c9c19a379c88e3a887f243d8744efe1
SHA1: cdc98daa94276f5917a8e6da79eba3b8df59a9bf
SHA256: 216f2740764be4292deb191556ff580d56b2bdd79c2df2e036db6934e64130e4
SHA512: b3b2459bb33bbf41347697b9cb6e0bf8a6887dedfb96d9e855aadc9b363ef6ae19df5efddf97b15bc0f79b6650a1fc0fb6cac7143bb76d202d79115395205d9e

Note that the MD5 and SHA1 hash algorithms are no longer considered secure by modern standards.
For tamper protection, it's recommended to validate against either a SHA256 or SHA512 hash instead.

The following PowerShell block will calculate and print a hash for each supported algorithm:

    $filePaths = @('multimonitortool.zip', 'multimonitortool-x64.zip')
    $hashAlgorithms = @('MD5', 'SHA1', 'SHA256', 'SHA512')
    foreach ($filePath in $filePaths)
    {
        foreach ($hashAlgorithm in $hashAlgorithms)
        {
            (Get-FileHash -Path $filePath -Algorithm $hashAlgorithm).Hash.ToLower()
        }
    }

This block should be executed against independently downloaded archives, as well as the copies
distributed with the package. All of the calculated hash values should match the published checksums.
Matching hash values should confirm that the published checksums are valid, and that no corruption or
tampering has occurred during this package's generation process.

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Add to Builder Version Downloads Last Updated Status
MultiMonitorTool 2.11.0 199 Friday, September 13, 2024 Approved
MultiMonitorTool 2.10 787 Tuesday, March 14, 2023 Approved
MultiMonitorTool 2.05 123 Tuesday, February 21, 2023 Approved
MultiMonitorTool 2.00 108 Tuesday, January 24, 2023 Approved
MultiMonitorTool 1.96 269 Tuesday, April 5, 2022 Approved
MultiMonitorTool 1.95 1303 Tuesday, February 5, 2019 Approved
MultiMonitorTool 1.92 293 Wednesday, November 21, 2018 Approved
MultiMonitorTool 1.91 421 Wednesday, February 21, 2018 Approved
MultiMonitorTool 1.90 469 Tuesday, August 22, 2017 Approved
MultiMonitorTool 1.86 461 Tuesday, November 8, 2016 Approved
MultiMonitorTool 1.85 411 Thursday, October 20, 2016 Approved
MultiMonitorTool 1.83 432 Thursday, April 2, 2015 Approved

This package has no dependencies.

Discussion for the MultiMonitorTool Package

Ground Rules:

  • This discussion is only about MultiMonitorTool and the MultiMonitorTool package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or MultiMonitorTool, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus