How to keep desktop icons from moving by running Icon Shepherd from command line
If you've been wondering Why do my desktop icons keep moving?, you have probably already installed Icon Shepherd and know how to use it: when you install it on your computer, it adds its icon to the taskbar notification area, and you click on that icon with the mouse and use the commands on the menu to remember the positions of the icons on the desktop, and restore them when Windows messes them up.
That's how most people would use Icon Shepherd, but you might be wondering is there a way not to have IconShepherd running in the background all the time and only run it on demand, when you actually need to save the icon positions or restore them? Even though Icon Shepherd uses a minuscule amount of RAM and a very small number of CPU cycles to do its work, still wouldn't it be nice not to keep it running all the time?
If you've been thinking about it (and who wouldn't?), you may be pleased to know that starting with version 21.8 of Icon Shepherd it's possible to run it on demand, by providing appropriate command line arguments to direct it what to do. You could run such commands by entering them into the Windows command prompt, or into the Windows Run box (that you can open by pressing the Win+R keys). Or, you may want to create two shortcuts on your desktop, one to store the current positions of the desktop icons, and another one to restore them. This way, you would launch such shortcuts, when needed, without having to run Icon Shepherd in the background.
Specifically, let's create a shortcut to store the icons positions. Right-click on an empty spot of your desktop and choose New - Shortcut from the menu. When the Windows asks you about the location of the item, press Browse, navigate to folder where Icon Shepherd files are installed (which is usually C:\Program Files\IconShepherd) and select the executable file there, such as ISEXE32, ISEXE64, or ISEXEA64, depending on your edition of Windows.) Before you press Next, first verify that the path to the executable is enclosed in double quotes, and second, append a space and the command line argument /Store:"My Icons" to it:
Now press Next and enter a name for the shortcut, for example Store My Icons: (this name will be displayed on your desktop)
That takes care of the shortcut to store the icons. Now create another desktop shortcut, in the same way, but this time enter the command line argument as /Restore:"My Icons", and enter the name for the shortcut as Restore My Icons.
Note that you can choose a different name in place of "My Icons", but it must be the same for the /Store and /Restore command line arguments.
Now you should have two shortcuts on your desktop, one named Store My Icons and the other one named Restore My Icons. Use the first shortcut whenever you need to store the current icon positions. Use the second one when you need to restore the icon positions at a later time.
Finally, since you no longer need Icon Shepherd to run in the background, open its Options screen (by clicking on its taskbar icon and choosing Options from the menu) and deselect the option Auto-start IconShepherd when Windows starts. This way, next time you log in to Windows, Icon Shepherd will not start automatically:
If you want to link to this article, you can use this HTML code: <a href="https://www.winability.com/how-to-keep-desktop-icons-from-moving-by-running-icon-shepherd-from-command-line/">How to keep desktop icons from moving by running Icon Shepherd from command line</a>
- How to enable or disable test signing mode in Windows
- Email or SMS text messaging are NOT secure for two-factor authentication
- Estimate how much you could save on electric bill with ActiveExit software
- How to delete partition on Windows 11 or Windows 10
- Forget VeraCrypt password? Here is how to recover it.
- Why do my desktop icons keep moving?
- How to create a private folder in Windows 11 and 10
- How to restrict access to Windows Settings with Folder Guard
- Suspending all operations with fascist Russia
- How to keep desktop icons from moving by running Icon Shepherd from command line
- How to restrict access to Task Manager with Folder Guard
- Take ownership of your files after access denied due to NTFS permissions
- How to reprogram or disable CAPS LOCK key
- Encryptability vs Folder Guard: which one to choose?
- Troubleshooting software removal problems using MSI files
- Encryptability: Compare Personal and Business Licenses
- How to add Group Policy and Local Security Policy to Windows 11 and 10 Home edition
- SOLVED – File is too large for the destination file system
- Forget your WI-FI password? Find it in Windows 11 and 10 settings
- What is FAT32 maximum file size limit?
- How to create a secret folder in Windows 11 and 10
- How to easily password-protect Windows Linux folders with Folder Guard
- Force DISKPART to delete EFI system partition in Windows 11 and 10
- How to make Windows 11 and 10 recognize a cloned hard drive again
- How to stop Windows 11 and 10 from using thumbnail preview icons for folders
- How to hide pictures from the Photos app in Windows 11 and 10
- How to save Windows Spotlight photos to your computer
- How to move the OneDrive folder to an encrypted drive
- Windows 10 fails to upgrade? Here is how to fix it.
- How to stop Microsoft Edge from opening PDF files
- Preventing installations of specific programs with Folder Guard
- Folder Guard licensing explained
- Speed up the updates of the network folders
- Make your Windows laptop work as a Wi-Fi access point
- How to stop automatic Windows Update in Windows 10 and 11
- Solved: Windows cannot connect to the printer. Access is denied.
- Migrating encrypted data from TrueCrypt to USBCrypt
- “The Microsoft account service is unavailable right now. Try again later.”
- Using DiffMerge as the external tool of AB Commander to compare plain text files
- How to repair the icon cache and/or thumbnail cache in Windows 11 and 10
- Transferring images between your PC and an Android device: Part 2
- Transferring images between your PC and an Android device: Part 1
- Case study: Using SoftDetective to suppress Corel Guide sign-in prompt
- Using junction points to change the iTunes backup folder location
- How to tell if my Windows computer is 32- or 64-bit?
- How do I stop Windows from rearranging my desktop icons?
- Organize your photo library with the Rename tool of AB Commander
- Windows does not offer the NTFS format option? Here is how to bring it back.
- How to encrypt Firefox profile, bookmarks, and cookies
- Restarting Windows 11, 10, and Windows 8 in the safe mode
- Integrating AB Commander with Universal Viewer
- How to delete a protected EFI system partition with Windows 11,10, 8, or 7
- Using Folder Guard to protect from the social engineering attacks
- How to erase Windows login password if you forget it
- How to unhide a folder hidden with Folder Guard
- How to repair Windows desktop icons with AB Commander
- Slow network in Windows 7 Virtual PC? Speed it up!
- How to show drive letters first in AB Commander and Windows Explorer
- What is my IP address?
- Why can’t I copy large files over 4GB to my USB flash drive or SD card?
- Test the strength of your password with USBCrypt
- How to set up an external text editor for AB Commander
- How to restrict Internet Explorer from downloading programs from the Internet
- Personal vs business license for USBCrypt
- Use Folder Guard to restrict access to Control Panel
- Compare MySecretFolder and Folder Guard
- Hide folders and make files invisible with Folder Guard
- WINEXIT vs ActiveExit: automatically log off users from Windows
- How to protect folder with password in Windows 11 and 10
- How to restrict access and lock external drives with Folder Guard
- How to password-protect Dropbox folder with USBCrypt
- How to set up Folder Guard to stop downloading from the Internet
- Is (Wipe the content) the same as (Secure Delete)?
- How to encrypt and protect the system C: drive with USBCrypt
- Make it easier to return your lost encrypted drive
- USBCrypt for users of Microsoft Office
- How to start programs elevated from a batch file
- How to make elevated programs recognize network drives
- How to disable hibernation
- Using names and labels to organize USBCrypt drives
- How to password-protect a USB flash drive
- Always have a backup of your important files