nss

help with retrieving system info

6 posts in this topic

#1 ·  Posted (edited)

Hi all,

 

I'm making an app that among other things has the system info feature, where it displays stuff like the system version, build, CPU and ram stats, etc.

So, I haven't been able to find anywhere a way to access the following things (is there even?):

  • Windows version (not like WIN_10, but the version like 1607, or 1511
  • Windows edition like professional, home, education, etc.
  • information whether the Windows is registered or not (optionally the registrant's name)
  • the type of the currently logged-in user (e.g., administrator)
  • computer manufacturer and model (e.g., dell inc. Inspiron n5110
  • boot mode (e.g., safe, normal)
  • CPU tempreture

I'd appreciate a lot if any of you could help me with any of the things from above; it would mean a lot to me.

 

Have a great day.

Edited by nss

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

@nss didn't look that hard, did you? For Windows version and type look at @OS* macros in the help file. The others are a little more involved, but a simple search of this forum will reveal the many times it has been done.

Edit: I do see that you're looking for numeric version, rather than WIN_10, but a search of the forum will show you that as well (hint OSBuild)

 

Edited by JLogan3o13

√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites

@JLogan3o13

All due respect, but I have searched everywhere and haven't found what I'm looking for.

I have seen @OSBuild in help file, but it returns something like 14393.693, while what I need is 1607.

I'll try searching again, but I would really appreciate if you could refer me to the posts about the things I need.

 

Have a great day.

Share this post


Link to post
Share on other sites

You can use:

RegRead('HKLM\Software\Microsoft\Windows NT\CurrentVersion', 'ReleaseId')

 

1 person likes this

Share this post


Link to post
Share on other sites

Thank you guys a lot!

I couldn't get scriptomatic to work – I use a screen reader to work on my computer and it doesn't work with all the guis.

Now the only thing I need more is per-core bassed tempreture, and computer manufacturer/model (since I couldn't get scriptomatic to work).

I'm not good with WMI...

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Similar Content

    • nacerbaaziz
      By nacerbaaziz
      Hi dear
      I have a question
      about the display language of the system
      How can I get the current display language and how can I change it by autoit
      Of course, if this is possible
      Greetings to all and hope you help me
    • bstjohn
      By bstjohn
      I'm working on a script to copy a subset of files and folders from a PC to a server.  I'm using the extended info from DirGetSize to show how many files and folders and total size that will be copied (copy being done by RoboCopy).  Then I run DirGetSize against the destination when the copy is done to compare against the DirGetSize from the copy source so I can know if anything got skipped.  I'm finding that a lot of stuff is getting skipped.  This lead me to realize that it's because DirGetSize is including files and folders that are hidden and/or system, and I'm excluding these in RoboCopy.  Is there anyway to excluded these from DirGetSize?   I've been unable to find a UDF as yet, and I'd like to do something a little more elegant than piping the output from DIR into a file and reading that back.
       
       
    • ces1a
      By ces1a
      I was looking for a way to find out how long my PC had been running a few weeks ago and had trouble finding something that satisfied my needs,  I found a Visual Basic Script that worked but found it too long. But searching trough AutoIt WINAPI help found that it really was as simple as the following little script.
      #include <WinAPISys.au3>
      #include <WinAPIMisc.au3>
      Local $Uptime = _WinAPI_StrFromTimeInterval(_WinAPI_GetTickCount())
      MsgBox(0, '', "PC Uptime ==> " & $UpTime)
      Hope it helps...
    • RaiNote
      By RaiNote
      Hi,
      How could i make a Login and Registering System with an Excel file which would be hosted at Dropbox.
      So i have a GUI There you could choose if u want to Login or Create an account. If u choosen Register new account you would have to make a Email a Username a Password and Password check. Before Registering it has to check if the Username and Email already exists if not you would be able to create and after this Login~
      My main Problem would be getting acces to the file at Dropbox and writing to Excel.
       
      Thank you very much who tried to help me.
    • Servant
      By Servant
      I'm having a hard time trying to set a value in a specific JavaScript textarea... And I think, this is the right time..
      Is it possible to set a value in the "Join the discussion…" textarea and simulate the mouse click of the "Post as {USERNAME}" button of the web page that have added a Disqus forum?
      If they are possible then:
      How can I set a value in the "Join the discussion…" textarea? And how to simulate the mouse click of the "Post as {USERNAME}" button? Note: Before you can see the "Post as {USERNAME}" button, you must be sign in with Disqus first!
      This is the (NULL) previous test work that I've done:
      #include <IE.au3> $oIE = _IECreate("http://professionalserver.tk/php/wp/hello-world/", 0, 1, 1, 0) Sleep(10000) $disqus_thread = $oIE.document.getElementById("disqus_thread") $textarea = $disqus_thread.getElementsByClassName("textarea").innerHTML = "Example Message" _IELinkClickByText($oIE, "Post as") Here is my test blog that have a Disqus thread:
      http://professionalserver.tk/php/wp/hello-world/
      Here is the other web page that have it:
      http://www.voicesofyouth.org/es/posts/oneminutesjr---syria-my-love-
      Here is the other one:
      http://comercioexterior.gob.ec/min-rivadeneira-participo-en-evento-experience-ecuador-love-life-en-dubai/
      And also make sure that the script will also work in any page that have a Disqus thread..