Quantcast
Channel: Support Portal
Viewing all articles
Browse latest Browse all 1466

Re : Batch or script file to get Windows info

$
0
0

Thanks for the input.  I gave up on it in DC and put it in the server logon script for users by including these commands:

reg query "HKLM\SYSTEM\CurrentControlSet\Control\ComputerName\ActiveComputerName" /v ComputerName >>"\\servername\userprofiles$\%username%\winver.txt"


reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v ReleaseID >>"\\servername\userprofiles$\%username%\winver.txt"


This writes the machine name and Windows version so I can find Win 10 machines that didn't update to latest major version (e.g. "1511")


Viewing all articles
Browse latest Browse all 1466

Trending Articles