1 reply
by justanadmin
This doesn't do exactly what you are asking for, but it is an alternate solution to the same kind of problem and it has worked well for us.
This is a script we found. Copy and paste it into a notepad file and name it anything with a .cmd extension. Save it on user desktops with something like "My Details" as the name. When they click it, it opens a DOS window with their computer information (netbios name, ip, etc)
<--cut starting below this line-->
@echo off
:: A very basic whoami typeprogram for user support.
:: Richard Harris, 2002 - version 1.0
cls
Echo YOUR COMPUTER DETAILS ARE:
Echo.
for /f "tokens=2,* delims=:" %%c in ('ipconfig /all^|find "IP Address"') do @echo Your IP address is : %%c
echo.
echo Your computer nameis '%computername%'
echo.
echo You are currently logged in as '%username%'
echo.
echo Please tell the operator your computer name as shown above.
Echo Press the spacebar to close this screen.
echo.
pause
This discussion is closed to new replies.
Trending Windows Forum posts
Sort by Trending