We have an application that we run on a server that generates a set of logs that all have the same prefix, for example, abc123_johnson.log, or abc123_smith.log. Every user has a corresponding log with there name preceded by the same prefix. Here is a simple way to recursively search that directory for all files with […]Read More Move all files with same prefix using Powershell
Originally posted on Seppie's Blog:
The following registry entries must all be changed in order to set Internet Explorer as the default browser and pass the ‘Would you like to set Internet Explorer as default browser’ popup. Windows Registry Editor Version 5.00 [HKEY_CURRENT_USERSoftwareMicrosoftWindowsShellAssociationsUrlAssociationshttpUserChoice] “Progid”=”IE.HTTP” [HKEY_CURRENT_USERSoftwareMicrosoftWindowsShellAssociationsUrlAssociationshttpsUserChoice] “Progid”=”IE.HTTPS” [HKEY_CURRENT_USERSoftwareMicrosoftWindowsShellAssociationsUrlAssociationsftpUserChoice] “Progid”=”IE.FTP” [HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.htmUserChoice] “Progid”=”IE.AssocFile.HTM” [HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.htmlUserChoice] “Progid”=”IE.AssocFile.HTM” [HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.mhtUserChoice] “Progid”=”IE.AssocFile.MHT” [HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.mhtmlUserChoice]…
What do you do when an MSI install is interrupted by a Restart Manager prompt? This is where you see something like this: “Close x program to complete install, or restart is needed” This is an issue, because by default with a /qb /qn or any silent switch, the default UI option is to close the application. […]Read More Dealing with MSI Restart Manager, when deploying an MSI silently.
Very useful when all other silent uninstall options don’t work. Silent or unattended uninstallation can be tricky at times. Especially if the there is no msi guid in the registry, or recording an answer file fails. Windows, even Windows 7 has a built in utility, WMIC. Command is ……, and everything with that product name […]Read More WMIC Commands