[]
operating systems – How can I determine the OS of a remote computer? – Super User
Stack Exchange Network
Stack Exchange network consists of 176 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Visit Stack Exchange
- 0
- +0
- Log in Sign up
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.
Sign up to join this community
Anybody can ask a question
Anybody can answer
The best answers are voted up and rise to the top
Asked 9 years, 7 months ago
Viewed 194k times
How can I determine the OS of a remote computer, given its computer name?
Sathyajith Bhat
59.6k3535 gold badges170170 silver badges258258 bronze badges
asked Aug 15 ’11 at 3:13
SteveSteve
2,6731414 gold badges6060 silver badges104104 bronze badges
3
You can use nmap to probe the remote computer and based on it’s responses to TCP packets (valid or invalid requests) nmap can infer what operating system it is using.
This is not 100% accurate, but probably the best you can do in the general case.
If you’re limiting yourself to Windows only and you have credentials of an administrator account on the remote machine, you can use this method instead.
To perform this procedure on a remote computer, right-click Computer Management (Local), click Connect to another computer, select Another computer, and then type in the name of the remote computer. You can then follow the steps in this procedure, starting at step 2, and substituting Computer Management (remote computername) for Computer Management (Local). You must be a member of the Administrators group, or you must have been delegated the appropriate authority, on the computer that you specify for remote computername.
And further to this, if your computers are joined to a domain then you can look at the computer accounts in Active Directory. These should tell you about the machine.
answered Aug 15 ’11 at 3:25
ta.speot.ista.speot.is
13.9k22 gold badges3131 silver badges4747 bronze badges
6
Systeminfo command shows os name and service pack number. you can run this command on the remote computer using psexec.
Source: Find Windows Version from command line
answered Aug 24 ’11 at 7:03
GiriGiri
53922 silver badges77 bronze badges
Using cmd (Command prompt in windows Vista, XP, etc)
systeminfo /s IP.ADDRESS /u UserOnRemotePc
eg:
systeminfo /s 172.16.23.108 /u Student phuclv
19k88 gold badges7474 silver badges158158 bronze badges
answered Feb 7 ’13 at 10:10
PratikPratik
4911 bronze badge
1
Given then information you have given, the answer is you can not determine a machine’s OS by its name.
answered Aug 15 ’11 at 3:32
KeltariKeltari
62.4k2424 gold badges145145 silver badges192192 bronze badges
5 WMIC /NODE:hostname OS
*you can supply alternative credentials as well.
wmic /NODE:hostname OS > C:OS.txt
answered Feb 7 ’13 at 10:28
Volodymyr MolodetsVolodymyr Molodets
1,48811 gold badge1212 silver badges1818 bronze badges
Quick and simple, you can use the Windows Inventory interface
wmic /node: HOST_NAME os get caption phuclv
19k88 gold badges7474 silver badges158158 bronze badges
answered Nov 24 ’15 at 8:33
1
You can do this with Windows PowerShell, which is installed by default in Windows 7. You can get to it from the system menu, under Accessories.
The command that you can use is…
Get-WmiObject -Class Win32_OperatingSystem -Namespace root/cimv2 -ComputerName
You can run this against a local or remote system by specifying the correct value for the ComputerName property.
You can filter the output for specific info by specifying which properties to display…
Get-WmiObject -Class Win32_OperatingSystem -Namespace root/cimv2 -ComputerName
answered Aug 15 ’11 at 5:47
Joe InternetJoe Internet
5,21522 gold badges1616 silver badges1414 bronze badges
4
EASIEST METHOD:
- Click the Windows Start button and type msinfo32 and press Enter
- Click View > Remote Computer > Remote Computer on the Network
- Type machine name and click OK
answered Sep 27 ’18 at 16:20
A non-comprehensive solution was to simply open the C drive of the remote computer in Windows Explorer. The presence of Documents and Settings showed it to be WinXP, as we have no Win2K.
answered Aug 15 ’11 at 3:37
SteveSteve
2,6731414 gold badges6060 silver badges104104 bronze badges
3
Your Answer
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Draft saved
Draft discarded
Post as a guest
{};’)}catch(a){return!0}}function o(){return’undefined’!=typeof googletag&&!!googletag.apiReady}function p(){o()||(googletag={cmd:l(B)})}function q(){var a=document.createElement(‘div’);a.className=’adsbox’,a.id=’clc-abd’,a.style.position=’absolute’,a.style.pointerEvents=’none’,a.innerHTML=’ ‘,document.body.appendChild(a)}function r(){return Object.keys(F.ids).filter(function(a){return’clc-cpa’!=a})}function s(a){var b=a.split(‘_’)[0],c=F.ids[b],d=F.slots[c];’function’==typeof d&&(d=d(b));return{path:’/’+C+’/’+E+’/’+c+’/’+D,sizes:d,zone:c}}function t(a){try{Array.isArray(clc.dfp.slotsRenderedEvents)||(clc.dfp.slotsRenderedEvents=[]),clc.dfp.slotsRenderedEvents.push(a);var b=a.slot.getSlotElementId(),c=[];b||c.push(‘id=0’);var d=document.getElementById(b);if(!b||d?d.hasAttribute(‘data-clc-stalled’)&&c.push(‘st=1’):c.push(‘el=0’),0!==c.length)return void G(c.join(‘&’));var e=s(b),f=e.zone;if(clc.collapse&&clc.collapse[f]&&a.isEmpty)return h(d),void d.setAttribute(‘data-clc-ready’,’true’);if(-1!==y.dh.indexOf(a.lineItemId))h(d);else if(a.lineItemId){d.setAttribute(‘data-clc-prefilled’,’true’);var j=d.parentElement;if(j.classList.contains(‘js-zone-container’)){g(j);var k=j.querySelectorAll(‘.js-report-ad-button-container’),l=k[0];switch(l.style.height=’24px’,b){case’dfp-tlb’:case’dfp-tag’:{j.classList.add(‘mb8′);break}case’dfp-mlb’:case’dfp-smlb’:case’dfp-bmlb’:{j.classList.add(‘my8′);break}case’dfp-isb’:{j.classList.add(‘mt24′);break}case’dfp-m-aq’:{j.classList.add(‘my12’),j.classList.add(‘mx-auto’);break}default:}i(j),i(d)}else i(d);if(‘dfp-msb’==b){var m=document.getElementById(‘hireme’);h(m)}}d.setAttribute(‘data-clc-ready’,’true’)}catch(a){var n=document.querySelector(‘#dfp-tsb, #dfp-isb, #clc-tsb’);n&&n.setAttribute(‘data-clc-ready’,’true’),G(‘e=1’)}}function u(a,b){‘dfp-isb’===a&&b.setTargeting(‘Sidebar’,[‘Inline’]),’dfp-tsb’===a&&b.setTargeting(‘Sidebar’,[‘Right’]);var c=s(a),d=c.path,e=c.sizes,f=c.zone,g=googletag.defineSlot(d,e,a);g.addService(b),!1;var h=a.split(‘_’);if(‘clc-cpa’==h[0]&&h[1]){var i=h[1];g.setTargeting(‘talent-company-id’,i)}}function v(b){var c=a.dfp&&a.dfp.targeting||{};’SystemDefault’===c.ProductVariant&&(window.matchMedia&&window.matchMedia(‘(prefers-color-scheme: dark)’).matches?c.ProductVariant=’Dark’:c.ProductVariant=’Light’),Object.keys(c).forEach(function(a){b.setTargeting(a,c[a])})}function w(a){var g=a.map(b).filter(e);return{eligible:g.filter(f).filter(d),ineligible:g.filter(c)}}function x(b){void 0===b&&(b=r());var c=[‘dfp-mlb’,’dfp-smlb’];if(!o())return p(),void googletag.cmd.push(function(){return x(b)});var d=w(b),e=d.eligible,f=d.ineligible;if(e.forEach(function(a){g(a)}),f.forEach(h),0!==e.length){y.abd&&q();var i=googletag.pubads().getSlots(),j=i.filter(function(a){return 0c.indexOf(a.id)}),m=e.filter(function(a){return!!y.ll&&0<=c.indexOf(a.id)});l.forEach(function(a){u(a.id,k),a.setAttribute('data-dfp-zone','true')}),googletag.enableServices(),l.forEach(function(a){googletag.display(a.id)}),y.ll&&(k.enableLazyLoad({fetchMarginPercent:0,renderMarginPercent:0}),m.forEach(function(a){u(a.id,k),a.setAttribute('data-clc-prefilled','true')}),m.forEach(function(a){googletag.display(a.id)}))}}var y=function(a){for(var b=[],c=1;c Super User works best with JavaScript enabled
Your privacy
By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy.