JSI Tip 10105. How can I tell when a registry key, or one of its' Value Names, was last written?

Jerold Schulman

January 30, 2006

1 Min Read
ITPro Today logo in a gray background | ITPro Today

When you write a new key, or Value Name, or change / delete a Value Name, Windows records the data time in the registry key.

To view the Last Write Time for a key and sub-keys, use REGEDIT.EXE to select the key, right-click it, and press Export. Toggle the Save as type box to Test Files (.txt). Navigate to a folder and type the file name into File name. Press the Save button.

When you open the file in NOTEPAD.EXE, each key in the file has a Last Write Time attribute.

Sample:

Key Name:          HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServiceslanmanserverClass Name:        Last Write Time:   01/28/2006 - 04:06



Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like