Knowledge Base

A method for users to restore own data (mounting a backup snapshot as a drive letter)

  1. You have a (virtualized) server.
  2. You use snapshot technology to create a snapshot (‘restore point’) for backup purposes.
  3. What if you could mount this snapshot and make it visible to users, so they can simply drag and drop files to restore deleted or accidentally modified files to previous versions themselves?

Continue Reading →

A method for users to restore own data (mounting a backup snapshot as a drive letter) was last modified: May 26th, 2015 by tabcom

How to unprotect Excel .xls password protected macros

xls macros password

  1. Open .xls spreadsheet in Excel.
  2. Press Alt + F11 to view the macros.
  3. A message tells you the macros are password protected.
  4. Open the .xls file in Notepad++
  5. Locate the three keys; CMG, DPB, and G.
  6. Create a blank .xls document.
  7. Password protect the macros with a password of your choice.
  8. Open the new .xls file in Notepad++ as well.
  9. Locate the exact same three keys.
  10. Copy and paste the keys from the new file into the old file and save the file.
  11. You have now effectively changed the password for accessing the macros of the original file.

Note: this method only works on the older .xls formats, not the newer .xlsx format.

How to unprotect Excel .xls password protected macros was last modified: March 21st, 2015 by tabcom

Active Directory health check

To check the health of Active Directory use the following command:

Start > Run > cmd > dcdiag | find /i "test "

Note the space character after the word ‘test’.

Examples

Unhealthy myserver.mydomain.com

C:\>dcdiag | find /i "test "
......................... myserver passed test Connectivity
......................... myserver failed test Advertising
......................... myserver passed test FrsEvent
......................... myserver passed test DFSREvent
......................... myserver passed test SysVolCheck
......................... myserver passed test KccEvent
......................... myserver passed test KnowsOfRoleHolders
......................... myserver passed test MachineAccount
......................... myserver failed test NCSecDesc
......................... myserver failed test NetLogons
......................... myserver passed test ObjectsReplicated
......................... myserver failed test Replications
......................... myserver passed test RidManager
......................... myserver passed test Services
......................... myserver failed test SystemLog
......................... myserver passed test VerifyReferences
......................... ForestDnsZones passed test CheckSDRefDom
......................... DomainDnsZones passed test CheckSDRefDom
......................... Schema passed test CheckSDRefDom
......................... Schema passed test CrossRefValidation
......................... Configuration passed test CheckSDRefDom
......................... Configuration passed test CrossRefValidation
......................... mydomain passed test CheckSDRefDom
......................... mydomain passed test CrossRefValidation
......................... mydomain.com passed test LocatorCheck
......................... mydomain.com passed test Intersite

Healthy myserver.mydomain.com

C:\>dcdiag | find /i "test "
......................... myserver passed test Connectivity
......................... myserver passed test Advertising
......................... myserver passed test FrsEvent
......................... myserver passed test DFSREvent
......................... myserver passed test SysVolCheck
......................... myserver passed test KccEvent
......................... myserver passed test KnowsOfRoleHolders
......................... myserver passed test MachineAccount
......................... myserver failed test NCSecDesc
......................... myserver passed test NetLogons
......................... myserver passed test ObjectsReplicated
......................... myserver passed test Replications
......................... myserver passed test RidManager
......................... myserver passed test Services
......................... myserver failed test SystemLog
......................... myserver passed test VerifyReferences
......................... ForestDnsZones passed test CheckSDRefDom
......................... DomainDnsZones passed test CheckSDRefDom
......................... Schema passed test CheckSDRefDom
......................... Schema passed test CrossRefValidation
......................... Configuration passed test CheckSDRefDom
......................... Configuration passed test CrossRefValidation
......................... mydomain passed test CheckSDRefDom
......................... mydomain passed test CrossRefValidation
......................... mydomain.com passed test LocatorCheck
......................... mydomain.com passed test Intersite

Warnings and/or errors related to Active Directory Replication are often present in Event Viewer’s System Log.  This is why ‘SystemLog’ appears ‘failed’ at times.  ‘NsSecDesc’ is supposed to return ‘failed’ at all times unless you have a Read-Only Domain Controller (RODC) in your network (Microsoft KB967482).  As such, both items can safely be ignored; in this case Active Directory is in a healthy state.

Site Replication and DNS are components to investigate first in situations where Active Directory is not healthy.

To investigate Site Replication, you can use the following command:

repadmin /showreps

An unhealthy Active Directory may be resolved by checking the system date/time, restarting Replication and/or DNS services, restarting the server or alternatively by demoting and promoting a server worst case.

Active Directory health check was last modified: August 3rd, 2016 by tabcom