- You have a (virtualized) server.
- You use snapshot technology to create a snapshot (‘restore point’) for backup purposes.
- 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?
Knowledge Base
How to unprotect Excel .xls password protected macros
- Open .xls spreadsheet in Excel.
- Press Alt + F11 to view the macros.
- A message tells you the macros are password protected.
- Open the .xls file in Notepad++
- Locate the three keys; CMG, DPB, and G.
- Create a blank .xls document.
- Password protect the macros with a password of your choice.
- Open the new .xls file in Notepad++ as well.
- Locate the exact same three keys.
- Copy and paste the keys from the new file into the old file and save the file.
- 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.
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.