A short guide for troubleshooting Windows Update Agent:
1. Download and execute//install “System Update Readiness Tool (CheckSur)” from https://support.microsoft.com/en-us/kb/947821.
Check the following log for errors C:WindowsLogsCBSCheckSUR.log
2. For any updates that could not be repaired by CheckSur, download the msu-package manually from Microsoft Catalog, http://catalog.update.microsoft.com/v7/site/Home.aspx or from Microsoft Download Center, http://www.microsoft.com/download
3. Create the folder C:WindowsCheckSurpackages if it doesnt already exists and move the downloaded updates there.
4. Execute “System Update Readiness Tool (CheckSur)” again.
5. Install updates from Windows Update.
MDT creates a partition named BDEDrive when it installs Windows OS. This drive is used with Bitlocker to boot the OS. If Bitlocker never will be used the BDEDrive can be removed using the following procedure:
1. Start an elevated command promt and execute the following command to copy startup files to the C-drive:
bcdboot C:Windows /s C:
2. Set partition C: as active:
select disk 0
select part 1
3. Reboot the computer:
shutdown -r -t 0
4. Delete the BCD Drive:
select disk 0
select part 2
There is a more indepth explanation at the following site:
Normally when there are trouble with the offline files cache, one solution is to reinitialize the cache as described in Microsofts KB-article 230738, http://support.microsoft.com/kb/230738. The problem with this solution is that files that only exists in the local cache are deleted.
But, if Wolume Shadow Copy is enabled on the affected machine, it is possible to extract/copy files from previous versions of the Offline Files cache using Robocopy as described in the following blog post:
Microsoft released KB2871997 to address the “Pass the hash” vulnerability, but according to the following blog post pass the hash is still possible using the local Administrator account (SID 500):
I was looking for a way to find service accounts using PowerShell and found the following post on the “Hey, Scripting Guy! Blog”:
To summarize, you can use the Get-WmiObject cmdlet to retrieve information about service accounts as in the following example:
Get-WmiObject win32_service | format-table Name, StartName
The fiberconverter for our Internet connection broke this weekend and I had to provide Internet access for the rest of my family until the converter was repaired. What to do?
My Windows 7 laptop has an internal 3G modem, maybe I could share that?
I found the following description that was very useful:
Following the description I created a temporary Wireless Access Point as described in the following steps:
- I started an elevated command prompt.
- Then I executed the following command to configure the new wireless network:
netsh wlan set hostednetwork mode=allow ssid=temp key=mysecretkey
- I opened up the “Network and connection sharing center” and clicked on “change settings for network adapters”.
- Then I looked for the Wireless Networkconnection with the highest number and that was configured with the Microsoft Virtual WiFi Miniport Adapter. In my case that network connection was called Wireless Network Connection 3.
- I renamed the connection to WLAN Hotspot and deselected all objects except Internet Protocol Version 4 (TCP/IPv4).
- When the Wireless connection was renamed I opened up properties for the 3G connection.
- On the Sharing tab I selected “Allow other network users to connect through this computer’s Internet connection”, in the “Home networking connection” textbox I entered “WLAN hotspot”.
- To start the hotspot I executed the following command in the already open command prompt:
netsh wlan start hostednetwork
To remove the settings and cleanup the configuration, just do as follows:
- Stop the hotspot by executing the following in an alevated command prompt:
netsh wlan stop hostednetwork
- Go to the “Network and connection sharing center” and click on “change settings for network adapters”.
- Right-click on the 3G connection and select properties.
- On the “sharing” tab, deselect the checkbox next to “Allow other network users to connect through this computer’s Internet connection” and click OK.
- Finally execute the following command in an elevated command prompt:
netsh wlan set hostednetwork mode=disallow