Harmen

Password paste

Paste passwords in RDP or KRC with F3

Description

A programmer can save you a lot of time and frustration and this fellow did just that. We thank Harmen for his work, which we freely share here, for your internal use. Unfortunately no support is possible, this is use as is.... We have never heard or seen problems, but can't en won't accept any responsibility for problems resulting from it's use. Enjoy!

Class
Developer
  • Name: Servicedesk Aspect
  • Company: Aspect | ICT
  • Website: http://www.aspect-ict.nl
  • Contact Developer
  • Summary
  • Password paste
  • 333 Downloads
  • Version:
  • Released on April 11th, 2017
  • Reviews
    Gravatar for Nigel Perez
    by Nigel Perez on June 29th, 2019

    Thank goodness for this tool! I moved to Kaseya recently and missed this option because we have very complex passwords. Working well so far. Just wish they had a Mac version.

    Gravatar for Larry McPhail
    by Larry McPhail on March 5th, 2019

    I use this every single day, all day long, and not just in RDP and KRC, I use it everywhere. Great time-saver, thank you! Larry

    Discussion
    Gravatar for Brian Dagan
    Brian Dagan almost 3 years ago

    If you're looking for a similar AutoHotkey-based version of this, the source code is located here: http://community.kaseya.com/xsp/f/31/p/23124/105141.aspx#105141

    Gravatar for Cees
    Cees almost 2 years ago

    The tools works nice but (correct me if i'm wrong) if I copy a password, for example: G$n94pJ+L{x2k3! , then paste it with F3 is comes out like , G$n94pJ+Lx . Is this a bug or a local problem?

    Gravatar for Brett
    Brett almost 2 years ago

    We have noticed similar behavior on certain special characters. This is a bug - but I haven't seen this ever get updated and am not sure if the original developer is maintaining this...

    Gravatar for Servicedesk Aspect
    Servicedesk Aspect almost 2 years ago

    Hi guys, it's true the actual developer is no longer with us, so there is no new version in the works. That being said, we've been using this for a long time and I've never seen the same behaviour on our systems using this tool..
    So, I tested the example that was included and have seen the same happening, so I'm not sure but we might not be using the { character in our passwords. That seems to be causing this. I'll see if I can get another developer to look at this, but I'm not 100% sure this code is all that flexible. If I remember correctly a simple tool was used for a quick and dirty solution....
    I hope to update this later this week.

    Gravatar for Brett
    Brett almost 2 years ago

    Here's a great example of what the current bug can do and why we've had to use the tool either on a limited basis or avoid it:

    Copied Text: [[{{{sf3234324~!~}}}]]]
    F3 Paste Output: [[{~}}}]]]

    Appreciate you looking at it!

    Gravatar for Jonathan Haase
    Jonathan Haase almost 2 years ago

    If you take a look at the one that Brian linked to above it is another version of basically the same thing that you can take a look at the source code.... However I I'd be interested to know if you have the same info with the older KRC remote control. I found that I often have issues with it when using live connect or the new KRC from live connect, but that it works just fine in the older KRC.
    The difference appears to be some type of keyboard bug in KLC as I've often found that when it pastes it doe so in the opposite case, etc making it appear that the Shift key is stuck on, and other times it acts like the CTRL or ALT key is stuck,

    Gravatar for Jonathan Haase
    Jonathan Haase almost 2 years ago

    Also one more comment in addition to the above, I used the one sourced by Brian above and changed the Hotkey to F9 personally because I didn't want it robbing the F3 hotkey which is used for Search in a lot of apps.

    Gravatar for Servicedesk Aspect
    Servicedesk Aspect almost 2 years ago

    The control keys issues in remote connecting and control of a machine are a well documented Kaseya 'feature' at the moment. There's not much this tool can do about that and I haven't seen the issue crop up on our environment. We don't use the new Live Connect that much, and are waiting for a stable release (which Kaseya is working on... for a long time).
    I'm waiting to hear back from a programmer and confirm this as fixed. I'm sure the tool Brian posted is a good replacement, you can use. As promised I'll update this when I get a confirmed fix....

    Gravatar for Michael Kaplan
    Michael Kaplan over 1 year ago

    We have noticed a larger issue, when we have several techs in our VSA, if they have KLC instances open and one copies a password, URL or anything into his clipboard, it seems to populate to other techs clipboard with a KLC instance open.  I don't know if this is a function of KLC or this Password Paste add-in.

    Gravatar for James Bricknell
    James Bricknell over 1 year ago

    Hi Michael, I don't think it's specific to this add in. We are not using this adding but have randomly had the same thing happen to techs ever since 9.3.

    Gravatar for Servicedesk Aspect
    Servicedesk Aspect over 1 year ago

    It's been a while, but over the holidays a new version was made of our tool, unfortunately the programmer introduced different characters not being pasted. So, ít's back to the drawing board and I expect a 'good' version soon and will update the comments and version of the tool....

    Since Brian included a working example achieving the same thing, you should use his link to work around the issue, at least for now.

    Gravatar for Glenn Gilley
    Glenn Gilley 8 months ago

    Hi!  This is an awesome tool.  We have several clients with extremely complex password requirements so this alleviates us from having to type them in manually.  I would love to see a version cleaned up that doesn't miss characters or anything like's being reported, although I haven't had any issues personally yet.

    Many thanks!

    Gravatar for Servicedesk Aspect
    Servicedesk Aspect 8 months ago

    Our programmers have been ignoring this tool, since there is too much work and not enough hands on deck.So, the tool stands as it is and I'm glad to hear it helps some of you... I'll keep pushing for an update and will post any news I have...

    Gravatar for Michael Peller
    Michael Peller 4 months ago

    very first password test pasted incorrectly after the # character in the password :(

    Gravatar for Jonathan Haase
    Jonathan Haase 4 months ago

    @Michael Peller.  Use the one from the link Brian added at the top of the discussion.   It works better

    Gravatar for Jonathan Haase
    Jonathan Haase 4 months ago

    @Michael Peller.  Use the one from the link Brian added at the top of the discussion.   It works better

    Gravatar for Servicedesk Aspect
    Servicedesk Aspect 4 months ago

    Sorry Michael, as mentioned our programmers are not updating this tool anymore. Brian's AutoHotkey example referenced earlier is the way to go.

    Gravatar for Todd McCullough
    Todd McCullough 3 months ago

    Looks like the latest version of VSA (patch 24) just broke this for good. Doesn't work at all any longer. Curious if whatever changes made also affected Brian's script? Anyone out there want to post an update on that? We're going to have to try Brian's script, but didn't want to spend the time and go down that road if someone has already found that the latest update broke that as well. Thanks in advance!

    Gravatar for Rohan
    Rohan 3 months ago

    Todd,

    The latest patch did break this for me as well. I would love an update on this. Thank you so much in advance. This is a huge time saver and help! 

    Gravatar for David L
    David L 3 months ago

    Luckily CTRL + V works in CMD/PS interface with the patch but standing by as well for this script.

    Gravatar for Todd McCullough
    Todd McCullough 3 months ago

    Agreed. With today's security challenges and most everyone adopting very long, complex passwords, having the ability to copy and paste into the login screen is a huge time saver. Engineers can still learn even long, complex passwords over time if they have to view and use them on a regular basis. If we don't have to view and type passwords manually, then it's much more efficient and secure IMO. So this tool was great. Surely the Kaseya developers cold probably provide us this capability in maybe a day's worth of work? It can't be that difficult. Certainly, the developer of Password Paste has proven it can be done. 

    Gravatar for Jonathan Haase
    Jonathan Haase 3 months ago

    Check out the one from the community using AutoHotKey.  http://community.kaseya.com/xsp/f/31/p/23124/111318.aspx#111318  The main challenge there is the same that is the issue with this one.  .24 seems to "eat" all keystrokes making it so that you can't use any key combinations to trigger the paste.  However I was able to redo the autohotkey script using mouse button(s) and get it working again for me.  In my case I don't use the middle mouse button for anything, so I changed the hotkey to MButton:: and that got me back up and going. 

    Gravatar for Todd McCullough
    Todd McCullough 3 months ago

    Jonathan, that's awesome! Admittedly, i'm not a scripting guy but i tried to download AutoHotKey and got some 7-zip error upon install (latest version), so I downloaded 7zip thinking it's trying to use that to unpack files or something and got the same thing. So honestly i have no idea how to use AutoHotKey. If you have any tips for a non-programmer-type, much appreciated!! I would/could read more on their website, but taking the short route first if anyone can add some specific how-to instructions/mechanics on how to use AHK and how to use Brian's script to tag it to the mouse button would be great. Wish i could send an e-beer in advance!  :)  

    Gravatar for Jonathan Haase
    Jonathan Haase 3 months ago

    ... Can't honestly comment there Todd, I just downloaded and installed AutoHotkey and it worked fine. Sounds like you might have a corrupt download.  (note some AV built into firewalls tries to tag it as a virus because some malware has used it in the past...).   In any case, make sure that you the the final script from page 3 of the community thread, as it includes some additional fixes for caps lock, etc that weren't in Brian's original... 

    Then simply find the lines:

    ; Fire a force-paste when Ctrl+Shift+V is pressed
    ^+v::

    If for example you want to change it to be the middle mouse button click then simply change the second line there to be:
    MButton::

    That's pretty much it.  Then use Autohotkey to compile it to an EXE and run it on your computer start up and you're good. 


    Gravatar for John Rutkowski
    John Rutkowski 3 months ago

    The recent update to Live Connect has broken the ability to pass through the F3. It no longer works which is an issue with the long passwords that are now required.

    Gravatar for Larry Garrett
    Larry Garrett 3 months ago

    Hey everyone,

    I found a solution today that doesn't require an application or script since this has been broken with the latest update.  I've been able to paste passwords using Alt+Shift+Ins

    Hope this helps everyone.

    Gravatar for christian
    christian 3 months ago

    Hi Larry, I already tried this solution found after some googling, but for me works only on windows server 2016 and later. Not tried on client computer, but for sure it doesn't works on earlier versione of windows server. What about you? 

    Gravatar for Daniel Provencio
    Daniel Provencio 3 months ago

    I was able to have it work on Server 2016, but 2008 or 2012 it doesn't.

    Gravatar for Greg Padgett
    Greg Padgett 3 months ago

    2012 does not work for sure.

    Gravatar for John Rutkowski
    John Rutkowski 3 months ago

    Alt SHift Ins does nothing for me either.

    The AutoHotkey work across all of the apps.

    Gravatar for Servicedesk Aspect
    Servicedesk Aspect 3 months ago

    OK guys, so let's make it official - this Aspect tool is retired and AutoHotKey is a simple and effective replacement. Not to mention you can easily assign anything you like to paste the password. The middle mouse button press (MButton) as suggested works fine....

    Gravatar for Ircham Djauhari
    Ircham Djauhari 2 months ago

    Does the autohotkey work with the latest Kaseya 9.5.0.14? This wonderful pasteclipboard64 tool just quit working after the upgrade. I am wondering if it is the same with autohotkey

    Gravatar for Nicholas Kontogonis
    Nicholas Kontogonis 2 months ago

    Yep!  I had trouble getting the autohotkey to work until I bound the paste key to the middle mouse.  I read a bunch online and it has to do with some sort of parser that KRC is using now.  Try changing to MButton:: instead and I am sure it will work for you.  Let me know if you want the script I found that actually works!


    Gravatar for Nicholas Kontogonis
    Nicholas Kontogonis 2 months ago

    ; Copyright 2017 Brian Dagan

    ; MIT License:

    ; Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

    ; The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

    ; THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.


    ; If multiple instances are started, this will shut down existing instances and start just this one

    #SingleInstance, force


    ; Define the application name, icon and text strings

    ApplicationName = KRC and KLC Force-Paste Helper

    ApplicationIconDLL = shell32.dll

    ApplicationIconIndex = 261

    PasteSuccessful = Successfully force-pasted clipboard's contents into foreground window

    PasteFailed = Unable to force-paste clipboard's contents into foreground window (clipboard does not contain text)

    AboutText = A utility to force-paste clipboard's contents into the foreground window, inspired by the Kaseya Community (community.kaseya.com)


    ; Update the tray icon and tray tip to match the branding above

    Menu, Tray, Icon, %ApplicationIconDLL%, %ApplicationIconIndex%

    Menu, Tray, Tip, %ApplicationName%


    ; Remove the standard tray icon options and replace with an Exit and About dialog

    Menu, Tray, NoStandard

    Menu, Tray, Add, &About, About

    Menu, Tray, Add, E&xit, Exit


    ; Set the keystroke delay to 0 (smallest possible delay, normally defaults to 10ms between keystrokes)

    SetKeyDelay, 0


    ; Fire a force-paste when Middle Mouse button is pressed

    MButton::

    {

        ; Check the clipboard's format to ensure it contains plain text

        If DllCall("IsClipboardFormatAvailable", "Uint", 1) {

            ; The clipboard contains plain text... send the keystrokes to the foreground window

            temp = %Clipboard%

            Loop, Parse, temp

            {

                SendRaw, %A_LoopField%

                Sleep 2

                Send, {Shift up}

                Sleep 2

            }

            TrayTip, %ApplicationName%, %PasteSuccessful%, 5, 49

        } Else {

            ; The clipboard does not contain plain text, notify the user via. TrayTip

            TrayTip, %ApplicationName%, %PasteFailed%, 5, 51

        }

        Return

    }


    About:

    {

        TrayTip, %ApplicationName%, %AboutText%, 5, 49

        Return

    }


    Exit:

    {

        ExitApp

        Return

    }


    Gravatar for Ircham Djauhari
    Ircham Djauhari 2 months ago

    Hi Nicholas Kontogonis, I use the old script with Ctrl - shift -V and create the .exe with autohotkey. It seems not working well. I will try to change to m:button. It will be helpful if you could share the working script as well. Thank you and appreciate all the info. 

    Gravatar for Ircham Djauhari
    Ircham Djauhari 2 months ago

    Thanks so much for sharing the script! 

    Gravatar for Rainer Hubovsky
    Rainer Hubovsky about 1 month ago

    Hello everyone and thank you so much for the script!
    It works well, if bound to the middle mouse button.

    The only problem I have is with the the special keys @, €, ~ and |.
    I have  a german keyboard and all these keys are accessed with Alt-Ctrl.

    @ = Ctrl-Alt-q
    € = 
    Ctrl-Alt-e
    ~ = 
    Ctrl-Alt-+
    | = Ctrl-Alt-<

    I tried using the script to paste in notepad. When I paste eg. @, then all the following characters get a Ctrl-Alt preceded.
    Any idea how to fix this?

    Thank you!