We have a legacy app we would like to host on a server. However, it check what operating system its run in and it gives out a message(self made in the application) that the OS is invalid. I used processmonitor to check what happens when i run the application.
It does a "select * from win32_operatingsystem" and in there it probably takes our and checks the caption or name property since we can get it running on a normal desktop version of windows(same buildnumber).
I also tried Applicationverifier with the highversionlie settings which did not work, since i have reason to believe it checks OS name or OS caption(Windows 7 Professional or equivalent).
So my question is, does anybody know of a way to fake the information you get from win32_operatingsystem? Ie id like to be able to change the result i get from running this in powershell:
get-wmiobject win32_operatingsystem | select-object name
To something i specify.
Any tips are helpful thanks!