Windows 8.1 C:\Users\Rajat>net view/all The syntax of this command is: NET [ ACCOUNTS | COMPUTER | CONFIG | CONTINUE | FILE | GROUP | HELP | HELPMSG | LOCALGROUP | PAUSE | SESSION | SHARE | START | STATISTICS | STOP | TIME | USE | USER | VIEW ] C:\Users\Rajat>net view System error 6118 has occurred. The list of servers for this workgroup is not currently available C:\Users\Rajat>getmac /s list ERROR: The RPC server is unavailable.
You're using those commands incorrectly.
Ensure you're typing and spacing things properly, ie:
net view/all should be
net view /all.
getmac /s list is requesting the MAC addresses from a server named "list", which I'm pretty sure is not your intention. For the local computer use just
/? after your command will show you proper usage. i.e.:
For more information on understanding the command-line help syntax, perhaps check out this article: How to Read Windows Command Line Syntax
The most usual cause for "System error 6118 has occurred" when using
net view is documented by Microsoft: Error 6118: "The List of Servers for This Workgroup...".