Ad Space here

Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Share
Options
Go to last post Go to first unread
Dustin Higgins  
#1 Posted : Thursday, October 03, 2019 10:35:34 AM(UTC)
Dustin Higgins

Rank: Advanced Member

Groups: Registered
Joined: 7/1/2018(UTC)
Posts: 62
_United States

Thanks: 1 times
Was thanked: 6 time(s) in 6 post(s)

What time is it?  It's reg time!

Nothing new by any means, however new to me today.   I've been doing Windows command line administration for years.   I'm big into automation, repeatability, check and balances, etc.  I kind of wish I was compensated by the number of reg.exe commands I ran over the years.

While troubleshooting application behavior, a key piece of information is when the registry is updated.   For example, was the value set at installation time or later during a configuration step?  There is not an easy command line way to get the "Last Write Time" value from registry keys.  Not saying it can't be done - it is just difficult information to get through the Windows API even with PowerShell.

What I learned today is that through the regedit gui, simply export the key as a .txt file.   

The information is in the file:

Key Name:          HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate

Class Name:        <NO CLASS>

Last Write Time:   10/2/2019 - 10:47 AM

In the past, I've always exported a .reg file which is the default.  Never a .txt file.

I actually used this today to determine which AV policy was setting a value by tying an Event Log entry to a "Last Write Time" of a registry key.   I don't even have access to the AV server!

Here is to learning something new and making the IT world a better place.  One experience at a time.

Edited by moderator Sunday, May 17, 2020 8:50:38 PM(UTC)  | Reason: Not specified

Sponsor
Ad Space here
Rss Feed  Atom Feed
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.