DNS Manager freezes when trying to delete/remove name server

When you try to remove a name server in the name server tab in DNS Manager you get the question “Do you want to delete the glue record” and then DNS Manager stops responding/freezes. I got this problem on a Windows 2008 R2 SP1.

Solution
Microsoft has a hotfix that solved my problem. Check out this link: DNS Management snap-in console stops responding when you edit the Name Servers tab in Windows Server 2008 R2.

Annons:
Submission Fighting

Posted in Windows 2008 R2 | Leave a comment

Show available space in Exchange 2010 database

Open Exchange Management Shell:
Get-MailboxDatabase -Status | ft name, availablenewmailboxspace,databasesize –AutoSize

Posted in Exchange 2010 | Leave a comment

Install HP SIM/SNMP Agent on Citrix XenServer 6

1. Go to hp.com and support & drivers. Search for your hardwares drivers, for example HP ProLiant DL380 G7. When selecting operating system select Citrix XenServer 6.x. Dowload “HP SNMP Agents for Citrix XenServer “. The file that you download is named hp-agents-xs.iso.

2. Upload hp-agents-xs.iso to your XenServer host. For example via FileZilla:
Address: XenServers IP-address och hostname.
Username: root
Password: <root password>
Port: 22

Create a folder named iso in /. Upload hp-agents-xs.iso to the iso folder.

3. Mount the iso image on the XenServer host.
# mkdir -p /mnt/iso
# mount -o loop /iso/hp-agents-xs.iso /mnt/iso

4. Install the HP SNMP Agent n the XenServer host.
# cd /mnt/iso
# ./install.sh

5. Unmount the iso image on the XenServer host.
# cd /
# umount /mnt/iso

6. Delete the iso image.
# rm -rf /iso

7. Delelte the iso mount point.
# rm -rf /mnt/iso

8. Logon to HP SIM and discover the IP-address or hostname of the XenServer host.

Posted in XenServer | Leave a comment

Clear or edit Auto-Complete Cache In Outlook 2010

Users started getting a replay message containing “550 5.1.1 RESOLVER.ADR.ExRecipNotFound; not found” when sending internal e-mail to a specific user. After som research I found out that this user first was created in the Active Directory & Exchange and then delete a while ago. Recently the same user has been created. When I understood that I came to think about if the problem was in the clients auto-complete cache in Outlook. You can easily empty the cache in Outlook 2010 (options/mail/send messages/empty auto-complete list). But I wanted to edit the list to remove the specific users e-mail adress.

I found this great application called NK2Edit.

The file that contains the auto-complete cache is:
C:\Users\%username%\AppData\Local\Microsoft\Outlook\RoamCache\Stream_Autocomplete*.dat.

Just download and run NK2Edit and it will automatically open C:\Users\%username%\AppData\Local\Microsoft\Outlook\RoamCache\Stream_Autocomplete*.dat. Edit and save the auto-complete list.

Remember to exit Outlook 2010 before you save Stream_Autocomplete*.dat.

Posted in Office 2010 | 1 Comment

How to get client to connect to WSUS Server

Run this command: wuauclt.exe /detectnow

If you want to see the WSUS log file on the client open %WinDir%\WindowsUpdate.log

Posted in Windows, Windows 2008 R2, Windows 7, WSUS | 1 Comment

User being logged in to Windows 7 with a temporary profile

User gets a message saying: You are logged in with a temporary profile. You do not have access to your files and create files in this profile will be deleted when you log off. You can solve this by logging in and try your login later.

Before you proceed, make sure you have backed up the users local profile. In my case  the users profile couldn’t be created so there was no local profile.

1. Log on with a admin account. In th registry, go to: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\
2. Delete the subkey that is named sid.bak
3. Log off and log on with the user account.

Posted in Windows 7 | Leave a comment

Not enough disk space when installing Windows XP SP3 on Mac boot camp

I got this message when i tried to install SP3 on a Windows XP SP2 running on a Mac (boot camp): “There is not enough disk space on C:\WINDOWS\$NtServicePackUninstall$ to install Service Pack 3″

Solved the problem by adding a new string value named BootDir with the value C:\ under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\. Restarted and installed SP3.

Posted in Mac, Windows XP | Leave a comment

Drop down menus in Firefox 4 disappear

Running Windows 7 64-bit and drop down menus in Firefox 4.0 disappear. Fix this by disable hardware acceleration in Firefix.

Tools -> Options -> Advanced -> General -> Browsing:
Disable “Use hardware acceleration when available”

Posted in Windows 7 | 6 Comments

Search for special characters in Word

^p = hard return
^l = soft return
^t = tab

Posted in Office 2010 | Leave a comment

Removing disconnected mailboxes in Exchange 2010

List mailbox databases guid
> Get-MailboxDatabase |ft Name, Guid

List disconnected mailboxes in a specific database
> Get-MailboxStatistics -Database <database guid> | Where-Object {$_.DisconnectDate -Notlike $NULL} | FL DisplayName, DisconnectDate, MailboxGuid

Delete a specific disconnected mailbox
> Remove-Mailbox -Database “<databasename>” -StoreMailboxIdentity <mailbox guid> -confirm:$false

Delete all disconnected mailboxes in a specific database
> $users = Get-MailboxStatistics -Database “<databasename>” | where-object { $_.DisconnectDate -ne $null } | Select DisplayName,MailboxGuid,Database

> $users | ForEach { Remove-Mailbox -Database $_.Database -StoreMailboxIdentity $_.MailboxGuid -confirm:$false }

Example
Delete a specific disconnected mailbox in the database named My Database
> Remove-Mailbox -Database “My Database” -StoreMailboxIdentity g437dd12-2f96-4a67-8f6f-c47fa70247e2 -confirm:$false

Delete all disconnected mailboxes in the database named My Database
> $users = Get-MailboxStatistics -Database “My Database” | where-object { $_.DisconnectDate -ne $null } | Select DisplayName,MailboxGuid,Database

> $users | ForEach { Remove-Mailbox -Database $_.Database -StoreMailboxIdentity $_.MailboxGuid -confirm:$false }

Posted in Exchange 2010 | 2 Comments