rtruss
Forum Replies Created
-
AuthorPosts
-
As to battery, I ran a generic wmic lookup and added every entry to my ini file so i could really see what is happening. Just need to setup all of them to display yet. here is what wmic pulled out:
# battery status lookup table
set=key:battery,value:Not in use (this is a best guess as battery0 did nothing)
set=key:battery1,value:Charge Left
set=key:battery2,value:AC Connected
set=key:battery3,value:Fully Charged
set=key:battery4,Value:Low
set=key:battery5,value:Critical
set=key:battery6,value:Charging
set=key:battery7,value:Charging and High
set=key:battery8,value:Charging and Low
set=key:battery9,value:Charging and Critical
set=key:battery10,value:Undefined
set=key:battery11,value:Partially Chargedas to positioning, this only happens with nav enabled and only on the new version as I have not tried it with 2.10 yet. Here is my setup for that:
# position on the screen
bottom=5
right=5
#centerv=0
#centerh=0Still getting my ini ironed out. Our help desk would like it to be a bit smaller so I am working on using pages. One thing I noticed is that the DOAMIN item is not populating the info and when I switch from page to page it is not staying in the location I have told it to. It bounces around the screen in to different locations, not all the time but most times. I am thinking its because its working on populating that page and once it has data it seems to stay put. Other than that it seems to be working well.
I liked the idea of the firewall showing as active or inactive but being that we are using group policy for that the built-in locations will not work. Here is what I had to do, I also added Secureboot as our security team has it as a requirement, not that we should have issues but with win 7 to win 7 upgrades many still do not have this enabled.
# Windows firewall status (GPO Based)
REGISTRY=interval:600,tree:0,text:Domain Firewall,key:HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsFirewall\DomainProfile\EnableFirewall,display:Status: %1[b:Active:Not Active]
REGISTRY=interval:600,tree:0,text:Private Firewall,key:HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsFirewall\PrivateProfile\EnableFirewall,display:Status: %1[b:Active:Not Active]
REGISTRY=interval:600,tree:0,text:Public Firewall,key:HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsFirewall\PublicProfile\EnableFirewall,display:Status: %1[b:Active:Not Active]#Secureboot/UEFI status
REGISTRY=interval:600,tree:0,text:Secure Boot Status,key:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecureBoot\State\UEFISecureBootEnabled,display:%1[b:Enabled:Disabled]I am still working on trying to get the battery item to work when not plugged in and there is more than 1 battery but that is not a result of this new version that was happening previously as well. that is not at all a big deal just something I THINK people would like but that is just me.
Thanks Glenn for ALL your great hard work on this toolset! 🙂
Attachments:
I looked over the battery class info (https://docs.microsoft.com/en-us/windows/win32/cimwin32prov/win32-battery) and nothing seems to apply for a situation(at least as far as DI is concerned) where you have 2 batteries and only one is in use, generally how it should be. When this is the case battery status for one battery is empty/null and DI does not have a provision for that. It sees that the battery is indeed there but does not know it’s status. Has anyone come across this and figured out a way to address it?
Turns out that when I undock my Surface from the keyboard and only have 1 (ONE) battery DI displays as it should. I attached the outputs from wmic when I manually check battery info. DI just does not like multiple batteries, at least not the way Microsoft has done it in the Surface Book line. 🙁
Attachments:
So I have installed it on WIN 10 20H2 and I have a question on the battery config in the ini.
# battery status lookup table
set=key:battery1,value:Disconnected
set=key:battery2,value:Connected
set=key:battery3,value:Fully ChargedI never see it change to Fully Charged or Disconnected
when on AC power it says connected but when I undock it the display changes to %battery<null>%. I also now noticed it in v 2.10.2
Did I miss something in my ini file? I attached a pic of what it does when running on battery as well as a copy of my ini.
Thanks for all your work and any guidance.
-
This reply was modified 1 year ago by
rtruss. Reason: renamed the ini to txt so it would upload
Looking forward to it Glenn! Keep up the great work.
I was able to get this to work, i am not in a workgroup but it still worked with domain in its place
WMI=hidden:0,interval:0,namespace:root\cimv2,query:Win32_ComputerSystem,Row-text:FullUser| DOMAIN| Model,display:%UserName%| %DOMAIN%| %Model%
Workgroup and Model are already ‘known’ to dti i believe so a set would not be needed for those.
hope that helps.
There is a way, yes. Here is what I have in mine.
#navigation button settings
# 0=disabled, 1=visible at the bottom of the display (default), 2=visible at the top of the display, below the logo
Nav=0
# -1=align left, 0=align center (default), 1=align right
nav-align=0
# navigation buttons color (bgr)
nav-color=ccffccI am having the same thing and as such I am reluctant to roll this out to over 10k users. I will try that as well, thanks for the tip. 🙂
NOW, I do have this in the ini file:
# how often, in seconds, to check ini file for changes
inimonitortime=10how will ignore-setting-change=1 affect that, if at all.
Also what does ignore-setting-change=1 actually ignore? just a curios geek mind. 😉 I did not see it tin the docs.I attached a image of what we are looking for and my language and config file if that will help. Some items have been changed and obscured for company reasons of course.
-
This reply was modified 2 years ago by
rtruss.
-
AuthorPosts