Category: Windows
-
How to Repair Boot Files in Server 2008 R2
The following procedure is tested to be working on Server 2008 R2 but may also work on other operating systems. Boot the server into recovery mode (or from mounted ISO and select “Repair”) Launch the command prompt and run the following command to repair the MBR bootrec /fixmbr Create a backup of the Boot Configuration…
-
How to Export and Import the IP Relay List on an IIS SMTP Virtual Server
Here’s a quick and easy way to export and import the IIS SMTP server configuration. This comes in handy when migrating to a new server and you want to retain the configuration, especially when there are a lot of IP addresses in the relay list. First, install Metabase Explorer on both source and destination server.…
-
Fix broken domain trust relationship
Under certain conditions a domain computer or server may loose its trust relationship with the domain. If that happens domain accounts cannot log in to the machine. Use Powershell to resolve this problem. Use tab completion to save time. Log in to the computer using a local administrator account. Launch an elevated Powershell window (run…
-
Update the time source on a server using w32tm
I recently found that the time was off on one of our servers. Tracked down the domain controller it was using. That DC was pointint to itself for the time source, and the time was off by 3 minutes. To fix this I pointed the DC to a NIST server by running the following commands.…
-
Delete files or folders older than x days
There are programs that don’t do a very good job at cleaning up after themselves. Either they create log files that are not pruned, or dump files, the following command can be used to delete old files that are no longer needed. There are only two things you need to specify: the path, and the…
-
How to set IP address, subnet, and gateway via command line in Windows
netsh int ip set address “Local Area Connection” static 192.168.0.10 255.255.255.0 192.168.0.1
-
Cannot update or uninstall Silverlight – missing Silverlight.msi file
Method 1 To Remove Silverlight, follow the steps below: 1.Click onStart, click Control Panel, and then, under Programs, click Uninstall a program. 2.In the list of programs, click any earlier version of Silverlight such as”WPF/E” (codename) Community Technology Previewor Microsoft Silverlight,and then clickUninstall. 3.After the uninstalling process is complete, you can install the latest version…
-
Windows Installation Fails with Error: We couldn’t create a new partition or locate an existing one
Ran into this problem while trying to install Windows 8.1 from a USB drive. The problem is the USB drive is USB 3.0. Use a USB 2.0 instead and it will work just fine.
-
CAB Files in C:\Windows\Temp
I noticed a bunch of CAB_xxxxx files in C:\Windows\Temp. This happened a couple of times after Windows Updates were installed. To fix this: Go to C:\Windows\Logs\CBS and delete the CBSpersist*.log files. Then delete the CAB files in C:\Windows\Temp. Check the C:\Windows\Temp folder in about 30 minutes. No more CAB files should be created. Until the…
-
Windows Updates Fail After Restoring the OS/VM with Error Code 80070643 or 80071A91
I ran into a rather strange problem after restoring a VM: Windows Updates would not install. The failure codes returned were 80070643 or 80071A91. After checking the integrity of the file system using “sfc /scannow” and rebooting, the problem persisted. Luckily, I found the following fix. A check disk was automatically initiated after the reboot, which found…