Friday, September 14, 2012

Exchange 2010 Error: Registry key has subkeys and recursive removes are not supported by this method

Thank you to Paul Cunningham for this Post.

After a prolonged network failure, my DAG registers error in its Database synchronization. Attempts to Suspend also failed (thus I am not able to Resume the sync).

When attempting to remove the Database (and Add/Re-create the Database copy), the following error appears:

"Registry key has subkeys and recursive removes are not supported by this method"

This error seems to be caused by an orphaned registry key in the/each Mailbox server under the replication replay's key.

The following method, carried out on *each* Mailbox server that requires the Database Copy addition resolves the above issue:

1. In PowerShell, run:

'Get-MailboxDatabase "Database Name" | fl guid'
 - This will print out the Database's GUID value

2. In PowerShell, run:

'Remove-Item HKLM:\Software\Microsoft\ExchangeServer\v14\Replay\State\\DumpsterInfo'

Tuesday, September 04, 2012

How to reset Fortinet's Fortigate *admin* Password

  1. Connect to the Fortigate unit via Console cable
  2. Immediately after the login prompt comes up (within 3 seconds) enter the following credentials:
  • Username: maintainer
  • Password: bcpbXXXXXXXXXXXXXXXX
  • ... where  XXXXXXXXXXXXXXXX is the unit's serial number
For instance if the serial number is FG123A1234567890 then the password would be: 

Reset the password by running the following command:
config system admin
 edit admin
  set password newPassword