1
I tried this command wmic.exe /node:IP-or-HostName ComputerSystem Get UserName
but I get access denied as i don't have password to the remote machine.I can only ping the ipaddress and I have its name xxx.yyy.com
Is it possible to get username or any more details about remote machine without having a login access to it.
absolutely not, and if you could that would be a serious security hole, which I would expect them to patch immediately. you can probably find other mechanisms (sniff some of their network traffic, etc), but not from WMI. – Frank Thomas – 2014-04-02T14:29:43.827