Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Find computer name by searching Username

Featured Replies

Do any of you know how to find out a computer's name based on the login user name, remotely?

i.e. The script prompts you for a user name, based on the user name, it returns the computer name that the user is currently logged on?

Thanks,

K


Lol, I was trying to write this self same program myself one day. This is what I came up with.

There is no way using the WMI framework to evaluate the user which is currently on the machine remotely.

You can however read the registry remotely using the OpenRemoteBaseKey Method in .Net.

Create a script that writes the username of the logging in user to the registry.

Create a program in a .Net language and create a list of all of the host names on the network, read the registry key that you have written too.

Now you must search through a list of hostname and read their registries when you have found the username, you have succeded.

Good luck,

d3

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.