Solved

Create a custom registry key for version tracking?

Posted on 2014-12-03
6
242 Views
Last Modified: 2014-12-03
What would be a good way to create a custom Registry key and data value to be something like "version 1.0" or "version 2.0" for my over all operating system deployment? Not the Windows version, but the build of the task sequence I deploy for the entire OS setup.

I'm deploying OS's with task sequence in SCCM, and while I do have an image version, the task sequence is what really completes and finalizes it.

Currently as a last step of the OS deployment, I have a batch script that generates a file to C-drive with a date time-stamp as its name (using powershell) to show when it was imaged.

But I'm wondering if I should go for the registry instead, and if so, which key should I add into that won't cause issues? Just something benign that I can refer to on remote registry scans going forward.
HKLM somewhere?
0
Comment
Question by:garryshape
  • 3
  • 3
6 Comments
 
LVL 23

Assisted Solution

by:NVIT
NVIT earned 500 total points
Comment Utility
I think the way you have it is fine. Just make sure only admin can erase it.
0
 

Author Comment

by:garryshape
Comment Utility
What about this?

Create key:
HKEY_LOCAL_MACHINE\SOFTWARE\IT_Support

then a string value "Image Version"

with a number in it
0
 
LVL 23

Accepted Solution

by:
NVIT earned 500 total points
Comment Utility
That registry solution should work. Maybe also add a date key?

I just thought that you didn't need a different solution... since you already have one and it works for you...Does it?
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 

Author Comment

by:garryshape
Comment Utility
The file works but I don't know how to assess it as easily as a registry query
0
 

Author Comment

by:garryshape
Comment Utility
yeah looks like this would work, it does manually, just need to try it in task sequence now:

%windir%\System32\reg.exe ADD HKLM\SOFTWARE\IT_Support /v "Image Version" /t REG_SZ /d "1.0" /f
%windir%\System32\reg.exe ADD HKLM\SOFTWARE\IT_Support /v "Image Date" /t REG_SZ /d "%date%" /f
0
 
LVL 23

Assisted Solution

by:NVIT
NVIT earned 500 total points
Comment Utility
That would work great.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Citrix XenApp, Internet Explorer 11 set to Enterprise Mode and using central hosted sites.xml file.
New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now