To restart a service stuck in the 'Stopping' state, open a command prompt > taskkill /PID XXX /F (replacing XX with the PID of the offending service. Locate the PID in taskmgr > Services > PID).
Monday, January 31, 2011
Service stuck on 'Stopping' state
If you have a service that is stuck on the 'Stopping' state and can't be restarted, stopped etc, normally restarting the machine will resolve the issue but if it's a production machine then you obviously want to avoid this.
Friday, January 28, 2011
Missing or corrupt hal.dll file
If you are getting a boot error relating to a 'missing or corrupt \system32\hal.dll. Please re-isntall a copy of the above file.', then follow the steps below:
1. Boot from a Windows install CD/DVD > open Recovery Console
2. Select the Windows installation > enter Admin password
3. At the C:\Windows prompt > cd system32 > map (to get the drive letter of the CD/DVD drive)
4. 'expand <>:\i386\hal.dl_'
5. 'exit'
Monday, January 24, 2011
Failed to initialise TPM error
If you get an error (0x80070005) when initialising TPM for Bitlocker and you have GP set to 'Save the recovery key to AD' then make sure the computer object has Write permissions to itself in AD.
Thursday, January 20, 2011
SMTP testing
Good Technet article if you need to test SMTP connectivity:
Wednesday, January 19, 2011
Error when opening Server Manager MMC snap-in
If you are getting {18ea3f92-d6aa-41d9-a205-2023400c8fbb} when trying to open Server Manager on Windows Server 2008. Go to C:\Windows\Microsoft.NET\Framework64\v2.0.50727\CONFIG folder > rename current machine.config file > make copy of current.machine.default file > rename it to machine.config
Tuesday, January 11, 2011
Enabling PIN at startup when Bitlocker is already enabled
If you have Bitlocker already installed on your drives but would now like to require a PIN at startup, follow these steps:
- Check Group/Local policy (Computer Configuration > Administrative Templates > Windows Components > Bitlocker Drive Encryption > Operating System Drives)
- Make sure that 'Configure TPM startup PIN' is set to 'Require Startup PIN with TPM' in 'Require additional authentication at startup'
- Suspend Bitlocker
- From CMD, run 'manage-bde -protectors -add c: -tpmandpin xxxxxx'
- Reboot and it will prompt you for the PIN you specified.
Enabling disabled Local Admin account in Windows 7
Even if Bitlocker is enabled.
Check OS version in VHD file
If you need to check the version Windows on a VHD file without turning it on, use the /Get-CurrentEdition switch of the Deployment Image Servicing and Management (DISM) tool.
Monday, January 10, 2011
Remove email forwarding on server
If you need to remove email forwarding to a mailbox manually that is already configured NOT to forward (nothing set in AD Exchange, not set in Outlook, etc), you can use MFCMAPI for this:
- Open Mailbox withMFCMapi on the Exchange server
- Configure Outlook profile of the mailbox where forwarding needs to be removed
- Double click the mailbox to open
- Expand Root Container > Top of the information store >Inbox folder
- Right-click Inbox folder > Display Rules Table
- Delete the offending rule
Friday, January 7, 2011
Exporting VMs to a network share
When trying to export VMs to a network share and you keep getting a 'General access denied (0x80070005)' error, check the following:
- Make sure the exporting host server has Full Control rights on the share, this includes Share permissions AND NTFS permissions. These need to be set explicity.
- Check the network share does not already have a folder in it with the same name as the VM to be exported.
Subscribe to:
Posts (Atom)