• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2064
  • Last Modified:

question on Putty.exe path on Windows &

Hi ,

i am on a windows 7 machine and when i do right click properties on the putty.exe i see the following path :

c:\windows\SysWOW64\CCM\AppLauncher.exe/launch "Putty0.62.0.0

this is not the same path i see on the other windows XP boxes and i cannot find the putty.exe configuration in the registry

what is this AppLauncher.exe ? do i need it to run putty.exe ?

When i search on regedt32 for the putty.exe key of "Simon" it returns a path of \sysWOW64\CCM...etc

Any ideas ??
0
c_hockland
Asked:
c_hockland
3 Solutions
 
David Johnson, CD, MVPOwnerCommented:
Welcome to the world of UAC virtualization.. putty is an incompatible app.. remove it and install it outside of the c:\program files  area(s).. this is because its .ini files are in the program files area and this is a protected area that only 'trusted installer' has write access.
0
 
Darkworld1000Commented:
But it stores all configuration into registry in XP
([HKEY_CURRENT_USER\Software\SimonTatham\PuTTY]) - you cannot store/load it from file on the floppy or other removable devices. There is a workaround with bat/reg files but that isn't very nice. So I've rewritten small part of PuTTY (winstore.c - functions which handle storing/loading configuration).


IInd  for WINDOW 7

This PuTTY stores its configuration (sessions, ssh host keys, random seed file path) to file instead of registry. Every session and ssh host key is stored in a separate file. Default paths are (where . represents executable directory):

./sessions/packedSessionName
./sshhostkeys/packedHostName
./putty.rnd
Path for saving configuration can be set via file putty.conf. Current working directory is searched first, if putty.conf is not found there, executable directory (same directory as putty/pscp/psftp/plink/pageant.exe) is searched. putty.conf should look like this (if it's not found defaults are used):

            ;comment line
            sessions=%SYSTEMROOT%\ses
            sshhostkeys=\ssh\hostkeys
            seedfile=C:\putty.rnd
            sessionsuffix=.session
            keysuffix=.hostkey
            jumplist=jumplist.txt
      
You can use enviroment variables in config (like %SYSTEMROOT%) - string will be expanded via ExpandEnviromentString WinAPI function (user-specific variables are not supported yet).

sessionsuffix and keysuffix are optional, defaults are empty. If set, every file has a suffix as defined (saved sessions via sessionsuffix and ssh host keys via keysuffix). Primary purpose is to avoid "*.com" files from names like ssh.domain.com. Both are limited to 15 characters.
Warning: if you already have saved some sessions or ssh host keys and you change these suffixes, you have to manually rename (append them to) all files.

Jumplist is new feature in Windows 7 supported by PuTTY 0.61. Because this PuTTY should be lightweight, if you do not set path to jumplist, none will be created.

This PuTTY is still able to load configuration from registry. Sessions loaded from registry are marked [registry]. When PuTTY is checking ssh host key and it's not found in file but in registry, you can move/copy key to file (or of course do nothing).

Pageant loads list of saved sessions from path set in putty.conf, defaults is ./sessions/packedSessionName - it works the same way as PuTTY (including keysuffix setting).
0
 
TekServerCommented:
People install PuTTY!?  I've always just stuck the executable in a folder - generally C:\utilities, or something similar - and run it from there when I needed it.

;)
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now