Jump to content

Add domain\username to header search on username


Recommended Posts

Posted (edited)

Would it be possible to add the current logged in user for each pc to the header info that shows in the middle panel. We manage several hundred pcs and the computer name of ASSET-1234 does not tell us whos using it at that time. Most end users do not know their computer names. So trying to find the computer a user is on is sometimes difficult. Having this info at hand in the search list would help that a lot.

i am only thinking this information for workstations, servers could potentially have multiple users logged in at the same time and this information would not be as useful (not to mention not enough space)

I have included a mockup of one way this could be done.

Also adding the ability to search for a current logged in user would be helpful.

pulseway suggestion.png

Edited by Continu IT Solutions
Link to post
Share on other sites
  • 2 weeks later...

That looks like a great mock-up, although I'm not sure that information should be next to the computer name. But definitively somewhere in that block and searchable.
So... +1 :).

Got the same problem here, so it would help to see some more info when looking at machines.

Link to post
Share on other sites
Posted (edited)

I found a powershell script that will update the computer name to do just this elsewhere on this forums (and for the life of me I cannot find it now to give the author credit). that creates the info just like my mockup.

I modified it slightly from the original but here is the code I use:

$lastlogon = (New-Object -ComObject WScript.Shell).RegRead("HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI\LastLoggedOnUser")
$hostname = hostname
$installtype = (New-Object -ComObject WScript.Shell).RegRead("HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\InstallationType")


$pos = $lastlogon.IndexOf("\")
$leftPart = $lastlogon.Substring(0, $pos)
$lastlogonusername = $lastlogon.Substring($pos+1)

if ($installtype -eq "Server") {
Set-ItemProperty -Path "HKLM:\Software\MMSOFT Design\PC Monitor\" -Name ComputerName -Value $hostname , "/" , $leftPart

}else {
Set-ItemProperty -Path "HKLM:\Software\MMSOFT Design\PC Monitor\" -Name ComputerName -Value $hostname , " - " ,  $leftPart , "\" , $lastlogonusername
}

Saved this as a script named Update Computername with User

Then i set the computers to notify when user logs in as a low level notification

then i created a workflow that triggers off that low level alert, runs this script, then deletes the notification and marks the workflow as a success

image.png.b77a3ca7020b6f2fc324c00844e15805.png

Now i can search on username and it works!

Edited by Continu IT Solutions
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Similar Content

    • By WYE
      TL;DR: Align timezones across reporting and web interface. 
      Request:
      When raised during our trial to engineering, the feedback is that browser displays local time, and reports are generated using UTC. 
      The misalignment is visible in my example shown where a report shows a system was back online at 05:32:07, but it actually and factually came back online at 06:32:07. 
      Suggest either including "UTC" in the report, or allowing time zones to be configured globally or per site. 
      Also noticed, that the "Generated at 04 Sep 2020 01:20" footer on the report is 6 hours behind GMT (report generated 07:20am GMT), so this could also do with being aligned accordingly. 
       

    • By Continu IT Solutions
      Not that I am opposed to blue, but it would be nice feature to change the theme colors on the webapp. This may also help those that need a more high contrast display as well.
    • By Continu IT Solutions
      I like automation and workflows but it has one big drawback. It can only run PW scrips or linux bash scripts.
      we cannot fire off any pulseway RMM internal functions.
      for example. Lets say when a computer checks in i want to launch a 3rd party Patch Management policy. Right now i can only do this on a timer or manually or set the policy for if missed, i can not make this part of a workflow.
      another thing i can't seem to do is have a workflow repeat. For example. i have a workflow that says when a computer registers it checkes and installs updates. Oviously for windows this needs to be done more than 1 time. I cannot find a way to have it check and then recheck until all windows updates are installed (maybe this is possible and i just dont know how)
    • By Robin
      The ability to just pull your phone out and run a Ansible playbook would be amazing.
      Maybe even get run status or just the output of whatever playbook was run.
      This would add a crazy amount of flexibility to Pulseway.
    • By Continu IT Solutions
      We use Puleway Webapp (RMM) and PSA. I have to setup to different logins (PSA is on SAML) for access. Is there any plans to allow us to link and integrate these two logins?
×
×
  • Create New...