Installing updates via Windows Update can be problematic sometimes. Downloads may stall at a specific stage either due to problems with the Windows Update server or the Content Delivery Network (CDN) that hosts the update in your region. It could also be possible that the Windows Update or BITS Services configuration on the local computer … Read more
The “Run as different user” context menu option allows you to run bat, cmd, exe, msc or msi files as another user. This context menu option is not shown by default for Pinned items in Windows 10 Start screen, but can be added using a registry setting or Group Policy.
To elevate batch files manually, you would right-click on it and choose Run as Administrator. Here is a way to automatically elevate a batch file that requires elevated privileges to run correctly. This is equivalent to choosing “Run as Administrator” by right-clicking a batch file. In either case, the UAC prompt would still show up.
Even when running programs elevated (Administrator), certain registry keys and files are not writable. This may be because the files are owned by TrustedInstaller, and no write access granted for Administrators. In that case, running the program as TrustedInstaller can help fix a locked registry key or clear a file that can’t be accessed anyway.
I’m not sure why people try to associate shortcuts (.lnk files) with different programs using the Default Programs applet in Windows 7/Vista. Doing so would break the functionality of Shortcuts, and you need to edit the registry manually or apply the .lnk file association fix (Windows 7 / Vista) to straighten things up. And why … Read more
Windows Vista users need to use the RunAs.exe console tool or the ShellRunas shell extension from Windows SysInternals to launch programs as a different user. Windows 7 includes the Run as different user feature as a built-in option in the right-click menu.
You can create System Restore Points quickly by scripting it using WMI. Here is a script that helps you create a System Restore point in a single click in Windows 10, 8, 7, Vista and in Windows XP. There are two methods discussed, one using a Vbscript that I wrote, and other other is using … Read more
Every file or folder in a NTFS volume has a owner. Certain system files are owned by TrustedInstaller, some by SYSTEM account and others by the “Administrators” group. If a user creates a file or folder, that user is usually the owner of the file or folder. The owner is the one who can assign … Read more
Have you come across file in use or similar errors when deleting a file or folder, or when clearing the contents of the %TEMP% folder at some time? Ever wondered which program has a particular file or folder open?