So what I am trying to do is when the computer is registered and is put through the fog.inventory file, I am trying to get what current Windows version is installed on the current drive and assign that to a certain image. IE. if it picks up that Windows 10 Home is installed, it then deploys the Windows 10 home image.
So I can see that we can use chntpw to run the command to determine the OS version.
chntpw -e /path/to/windisk/Windows/System32/config/SOFTWARE
cat \Microsoft\Windows NT\CurrentVersion\ProductName
The question is how would I go about doing this if at all possible?
Where would the best place be to run it from? FOG.MAN.REG ???
Is the Windows mounted at all during registration?