Wingetlywingetly
← All apps

MoveFile

by Sysinternalsv1.01

Last updated

This MoveFile utility allows you to schedule move and delete commands for the next reboot.

Install with winget

$ winget install --id Microsoft.Sysinternals.MoveFile --exact --version 1.01

Run in Command Prompt, PowerShell, or Windows Terminal. Prompts for any agreements.

Built by Pckgr

For Intune admins

Stop chasing app updates. Pckgr patches them for you.

Automated application patching for Microsoft Intune. Pckgr keeps a curated library of 1,000+ apps continuously up-to-date in your tenant via Microsoft Graph - no manual repackaging, no chasing vendor sites.

Start free 30-day trial

No credit card required.

About

There are several applications, such as service packs and hotfixes, that must replace a file that's in use and is unable to. Windows therefore provides the MoveFileEx API to rename or delete a file and allows the caller to specify that they want the operation to take place the next time the system boots,before the files are referenced. Session Manager performs this task by reading the registered rename and delete commands from the HKLM\System\CurrentControlSet\Control\Session Manager\PendingFileRenameOperations value.

MoveFile usage:

The included MoveFile utility allows you to schedule move and delete commands for the next reboot:

usage: movefile [source] [dest]

Installers · v1.01

ArchitectureTypeScopeInstallDownload
x86ZIP
archive
-Direct
x64ZIP
archive
-Direct
arm64ZIP
archive
-Direct

Copy a command tailored to that specific architecture, type, and scope - useful when winget would otherwise pick a different default.

Security

1 known CVE via NVD

Source: NVD, updated 3h ago. Patch status is best-effort: NVD's fix version is compared against the latest version in winget, but the two version formats don't always align. Confirm with the vendor advisory before treating any specific build as safe.

Related apps

  • SDeleteSysinternals
    Microsoft.Sysinternals.SDeletev2.06

    Securely overwrite sensitive files and cleanse free space.

  • HandleSysinternals
    Microsoft.Sysinternals.Handlev5.0

    Handle is a utility that displays information about open handles for any process in the system.

  • Sysinternals SuiteSysinternals
    Microsoft.Sysinternals.Suitev2026-07-09

    Sysinternals Suite is a bundle of the Sysinternals utilities including Process Explorer, Process Monitor, Sysmon, Autoruns, ProcDump, all of the PsTools, and many more.

  • SysmonSysinternals
    Microsoft.Sysinternals.Sysmonv15.22

    System activity monitor

  • StringsSysinternals
    Microsoft.Sysinternals.Stringsv2.54

    Strings scans the file you pass it for UNICODE (or ASCII) strings of a default length of 3 or more UNICODE (or ASCII) characters.

  • Process ExplorerSysinternals
    Microsoft.Sysinternals.ProcessExplorerv17.14

    Process Explorer shows you information about which handles and DLLs processes have opened or loaded.

More from Sysinternals or browse sysinternals.

Frequently asked questions

How do I install MoveFile on Windows?
Open Windows Terminal, PowerShell, or Command Prompt and run: winget install --id Microsoft.Sysinternals.MoveFile --exact --version 1.01. winget downloads the installer from Sysinternals and runs it. Requires Windows 10 (1809+) or Windows 11.
How do I install MoveFile silently for unattended deployment?
Add --silent and accept the agreements upfront: winget install --id Microsoft.Sysinternals.MoveFile --exact 1.01 --silent --accept-package-agreements --accept-source-agreements. This is the variant Intune, Configuration Manager, and other deployment tools should use.
How do I uninstall MoveFile via winget?
Run: winget uninstall --id Microsoft.Sysinternals.MoveFile --exact. Add --silent for unattended uninstalls. winget will use the registered uninstaller from MoveFile's Apps & Features entry.
Is MoveFile free?
MoveFile is distributed under Proprietary. Refer to the publisher (https://learn.microsoft.com/en-us/sysinternals/downloads/pendmoves) for the full license terms - Wingetly itself does not charge for installation.
Does MoveFile work on Windows 10?
Yes, as long as your Windows 10 build supports winget (1809 or newer). winget ships with App Installer on Windows 10/11 and pulls MoveFile directly from the publisher.
How do I keep MoveFile up to date?
Run winget upgrade --id Microsoft.Sysinternals.MoveFile --exact, or winget upgrade --all to update everything winget tracks. We index 1 version of MoveFile from microsoft/winget-pkgs.