Sunday, September 2, 2012

Cannot rename this connection. A connection with the name you specified already exists

If you replace a network card or move it to a different slot, the old one does not get deleted it only becomes a hidden device. This can happen also if you remove a network adapter from a virtual machine. So if you try to rename a connection to the name of that hidden one you will get this error message:


Error Renaming Connection
Cannot rename this connection. A connection with the name you specified already exists. Specify a different name.

To delete the hidden NIC, launch a command prompt and set this environment variable

set devmgr_show_nonpresent_devices=1

then run the device manager devmgmt.msc


From the view menu, check: Show hidden devices



under the network adapters, you will find more devices have appeared, remove the old NIC but DO NOT delete the driver unless you are sure you do not need it.

Now you can rename the connection.

Wednesday, June 20, 2012

Moving tempdb on SQL 2008 R2

Moving tempdb to a new location:

1) Connect to the SQL server and run this query:
USE master
ALTER DATABASE tempdb MODIFY FILE (NAME = tempdev, FILENAME = '[new path]\tempdb.mdf');GO
ALTER DATABASE tempdb MODIFY FILE (NAME = templog, FILENAME = '[new path]\templog.ldf');GO


2) Stop the SQL service
3) Move tempdb.mdf and templog.ldf to the new location
4) Start the SQL Service

Tuesday, June 19, 2012

Using Microsoft SQL Report Builder 3 to create custom SCOM 2007 R2 reports

In SCOM 2007 R2 if you click "Design a new report" from the Reporting tab you will notice that Report Builder version 1 runs, even if you have version 3 installed because SCOM still opens the old link.
To use 3 instead navigate to the C:\Program Files\Microsoft SQL Server\MSRS10_50.SCOM\Reporting Services\ReportServer\ReportBuilder


Make a copy of "ReportBuilder_3_0_0_0.application"


Rename "ReportBuilder.application"


Rename the copy of version 3 to "ReportBuilder.application"


Now when you "Design a new report", SCOM will run Report Builder 3.

Monday, May 21, 2012

Fujitsu ServerView RAID Manager: Page Cannot be Displayed

Suddenly the RAID Manager stopped working on all my servers giving the "Page Cannot be Displayed" error message when browsing to https://servername:3172/

The problem turned out to be caused by a windows update KB2585542 which addresses an SSL vulnerability but it breaks ServerView RAID Manager through HTTPS.

You can either

Thursday, April 26, 2012

Protecting a non-domain server with DPM

To protect a server outside the DPM's domain:

  • First install the agent manually on the server, copy the installer from C:\Program Files\Microsoft DPM\DPM\agents\RA
  • Add a host entry on both the DPM and the server to be protected to allow name resolution of each other
  • On the server to be protected, navigate to C:\Program Files\Microsoft Data Protection Manager\DPM\bin and run this command
    • SetDpmServer.exe -dpmServerName backup -isNonDomainServer -userName svcdpm

  • From the DPM console go to the management tab, click the Install action and choose to "Attach agents" to a "Computer in a workgroup or untrusted domain"
  • Specify the name of the server and the username you created with the SetDpmServer command
  • The server now should appear in the Agents list

Sunday, March 4, 2012

Reset Windows 2008 R2 administrator password

This is the old trick of overwriting any app accessible at login screen (e.g. screen saver) with a command shell to reset the password