Forum Replies Created
I like that as well. Getting consensus now on whether to add it or not.
will it re-evaluate that if there is a monitor change or if you hit the reload button? I am asking about the monitor change as we do use this on VDI units and if someone has multiple monitors that they can move the ‘rdp’ connection to that may affect the dpi.
I see what threw me off. tour text line, I didn’t see the first dpi in there.
All i can tell you is that when i changed the comparisons to use ‘dpi 96’ vs just 96 they processed the comments. Now I had not yet had coffee 🙂 and was doing like 6 other things so I will revisit as I would like this to work as well.
I saw this and thought, this would be VERY helpful as I have many diff mfgs and of course potential dpi settings to contend with. I copied your code and notices that your IF statements do not do the compare correctly.
tells to set DPI, which if you look at it is not just a number but actually dpi 96. once I updated the IFs they seemed to process correctly from what I could tell.
I like that idea as well.
So tell me is any of you are seeing this. On initial load I get the first pic and then after it refreshes/reloads I get what I think should be correct. It also happens with previous versions and have not yet confirmed the behavior on other hardware, right now Surface book 3 is what I am on.
- This reply was modified 9 months, 2 weeks ago by rtruss. Reason: forgot to rename the ini file
Got it and loving it so far. One question is there a way to remove the Microsoft from the OSDBUILD2 %1 variable? We know its microsoft already so.. Just trying to keep it more concise to fit in smaller widnows
OSBUILD2=display:%1 %18 (%17)
Displays; Microsoft Windows 11 Enterprise 21H2 (22000)
looking for; Windows 11 Enterprise 21H2 (22000)
at least without doing other types of wmi calls like like i am now:
# OS info lookup table
REG=value:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\CurrentBuild, set:currentbuild, hidden:1
REG=value:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProductName, set:productname, hidden:1
REG=value:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ReleaseId, set:releaseid, hidden:1
#This line item only applies to WIN10 Workstations
REG=value:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\DisplayVersion, set:displayversion, hidden:1
WMI=Text:Operating System,namespace:root\cimv2,query:Win32_OperatingSystem,display:%ProductName% %DisplayVersion% (%CurrentBuild%)
I also attached an example of what I used to get and what the OSBUILD2 shows
That is exciting. My team keeps hounding me to get this deployed to our Azure based Modern workplace devices. 🙂
here is the pic of my surface di output