dcrossmier wrote: ↑05 Jul 2020, 23:24
Is it possible to use AutoHotkey v1.1.33.00 in a portable manner?
Yes, AutoHotkey does not need to be installed.
dcrossmier wrote: ↑05 Jul 2020, 23:24
- Tell my friend I want to run a program from my USB memory stick. Assure him that it will make NO changes to his computer whatsoever.
Nope, that's impossible. Forensic artefacts are always left behind on the device. For example:
1) Enumeration of the USB memory stick will be written to several different areas of the registry (device type, vendor name and model, any serial no., USB port used, etc., including date and time) and won't be deleted even after the device is removed. These areas are sub-keys under:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USB
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USBSTOR
2) The mount point, i.e. drive letter used (inc. date and time), will be written as an entry to:
HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices
3) Details of the drive letter used for the USB memory stick, including date and time, will be written to the registry in a sub-key under:
HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\BagMRU\
This will identify the user.
4) Details of each 'last program used' is written (amongst other locations) to:
HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\MuiCache
This will show the drive letter of the USB memory stick and AutoHotkey.exe (including its 'bitness')... but won't show any AHK script name.
So, no... you cannot assure your friend that no changes will be made. It's just not how Windows works.
Hope this helps...