Grabware

Windows · Developer Tools

undo-winrmconfig-during-shutdown

Attempts to return WinRM to a pristine state after it has been used for system preparation (e.g. Packer) using a self-deleting computer shutdown script.

Version 1.2.0.20191031 · by DarwinJS

Download

Official site: cloudywindows.io

About undo-winrmconfig-during-shutdown

Disable winrm through a self-deleting shutdown task.

Many windows remote orchestration tools (e.g. Packer) instruct you to completely open up winrm permissions in a way that is not safe for production.

Usually there is no built in method nor instruction on how to re-secure it or shut it back down.

The assumption most likely being that you would handle proper winrm re-configuration as a part of production deployment.

This is not a least privileged approach - depending on how big your company is and how widely your hypervisor templates are used - this is a disaster waiting to happen. So I feel leaving it in a disabled state by default is the far safer option.

To complicate things, if you attempt to secure winrm or shut it down as your last step in orchestration you slam the door on the orchestration system and it marks the attempt as a failure.

Due to imprecise timing, start up tasks that disable winrm could conflict with a subsequent attempt to re-enable it on the next boot for final configuration steps (especially if you are building a hypervisor template).

This self-deleting shutdown task performs the disable on the first shutdown and deletes itself.

If a system shutsdown extremely quickly there is some risk that the shutdown job would not be deleted - but in testing on AWS (very fast shutdown), there have not been an observed problems.

How to install undo-winrmconfig-during-shutdown

  1. Click Download — the developer's official website opens in a new tab.
  2. Download the latest version there and run it. Choose Custom/Advanced where offered, and skip any bundled extras.
  3. Prefer the command line? With Chocolatey you can install and update it with: choco install undo-winrmconfig-during-shutdown
  4. Open undo-winrmconfig-during-shutdown once it finishes installing.
How to install Windows software with Chocolatey

Frequently asked questions

Is undo-winrmconfig-during-shutdown free to download?

Yes. The Download button sends you to cloudywindows.io, the developer's official site, where undo-winrmconfig-during-shutdown is available to download. Grabware doesn't host or modify any files.

What is the latest version of undo-winrmconfig-during-shutdown?

The version listed here is 1.2.0.20191031, published /Date(1572. The developer's site always has the newest release.

How do I install undo-winrmconfig-during-shutdown from the command line?

With Chocolatey, run: choco install undo-winrmconfig-during-shutdown. This installs it from the official source and keeps it updated.

Is undo-winrmconfig-during-shutdown safe?

undo-winrmconfig-during-shutdown downloads directly from the developer. As always, scan the installer with your antivirus and choose Custom setup to skip any bundled extras.

Alternatives to undo-winrmconfig-during-shutdown

More