I need to get certain OS-level information. I cannot install anything on client’s machines, I only have option to open a URL in the browser on client’s machines. I need to get following information if possible.
- get OS version
- Have they run Windows Update
- Any Pending reboots waiting (from software installs) it causes issues with SentryBay install
- Audio settings
- The name of the default recording and playback devices
- Whether either of those devices are muted
- Whether either of those devices’ volume is at 0
- CPU
- RAM
- Should be running Defender only (for PCs)
- Are they using wifi
- What is running on PC (if their CPU usage is high they may need to close down or uninstall software)
- Safe Mode needs to be off
The website can be coded in any language JS, PHP, Python etc.
Thanks.
2
Answers
Most of this is not possible due to security concerns, however some browsers have implemented web APIs that can access some of this information. What Web Can Do Today has some great information about what sorts of device specific data can be accessed using APIs that were mostly designed for Progressive Web Applications.
Update: There is information on how to access the OS version in JavaScript here
Well, You can actually get the OS information of a device with PHP. It can tell if the user is using, Windows 7 or Windows 8 or Windows 10 or Android or Mac OS or IOS or more with this code: