putty the publisher could not be verified Windows 7

So, this isn’t really Oracle related except that I got a new Windows 7 laptop to support Oracle and I’m getting an annoying popup message every time I try to run putty to access a database server.

puttyerror

I looked up the message “The publisher could not be verified” and Windows 7 and found a bunch of stuff about changing Windows policies or internet security – yuck!  I found a simpler solution.

I have putty.exe installed in c:\putty on my laptop.  I added a bat file called putty.bat in c:\putty that has these lines in it:

start /b c:\putty\putty.exe

Then I created a shortcut on my desktop to run c:\putty\putty.bat but to start the command prompt window minimized:

puttyshortcut

Now when I click on this shortcut putty pops right up without the publisher could not be verified message.

– Bobby

 

About Bobby

I live in Chandler, Arizona with my wife and three daughters. I work for US Foods, the second largest food distribution company in the United States. I have worked in the Information Technology field since 1989. I have a passion for Oracle database performance tuning because I enjoy challenging technical problems that require an understanding of computer science. I enjoy communicating with people about my work.
This entry was posted in Uncategorized. Bookmark the permalink.

8 Responses to putty the publisher could not be verified Windows 7

  1. oraclebase says:

    Hi.

    I switched from Putty to MobaXTerm a while ago. It is awesome! Everyone I’ve suggested it to has ditched Putty and Cygwin in favour of it.

    Cheers

    Tim…

  2. Bobby says:

    Tim,

    I’ll check it out.

    – Bobby

  3. Scott says:

    Bobby, why does this work? would you mind a little explanation as to how this eliminates the Publisher message?

    • Bobby says:

      I’m not a Windows expert, but I think that it works because it isn’t concerned about the publisher of a bat file which runs in the command interpreter that comes with Windows. It must not check the publisher of the executables the bat file calls, just the ones that are in their own shortcut. Anyway, it works.

  4. Athanasius says:

    I just found an easier method.

    Ensure that any user trying to use putty.exe, or any other such affected file, has ‘Full Control’ over its location. Obviously this means you want to be careful with shared installs of things on a multi-user machine, but if you’re the only user then it’s moot.

    Then run it the once, untick the ‘Always ask’ box and you now will NOT get a UAC prompt (if UAC was configured to butt in), and the ‘Always ask’ being unticked will now be remembered.

    And this makes even more of a mockery of MicroSoft’s attempt at security, as surely any malware is likely to create files wholly owned by the user and thus won’t ever see such a prompt ?

    • Bobby says:

      Thank you for your comment. You know, I tried it but I don’t get the “Always ask” box. Maybe you are on a different version of Windows?

  5. Richard says:

    Cracked it – move it to another filesystem type – eg unix
    Then copy it back and the origin information has been stripped so the error goes away.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.