Certificates (Creating and managing)
Creating Certificates
makecert
To create a certificate to sign code (Excel) use:
makecert -r -pe -n "CN=Your Name" -b 01/01/2009 -e 01/01/2099 -eku 1.3.6.1.5.5.7.3.3 -ss My
Note: not all versions of makecert support the -pe option
Managing Certificates
start (open) certmgr.msc ,
or start mmc.exe (Microsoft Management Console) and add the Certificate snap-in (Demo)
Commands
- ASSOC
- show/change file-extension to filetype associations. See FTYPE.
- FTYPE
- show/change the command executed for a given filetype. See ASSOC.
- GETMAC
- get the MAC number of network adapters
- MSCONFIG
- startup config (run by Windows-R or from C:\WINDOWS\pchealth\helpctr\binaries
- SC
- manage services and the Service Controller.
internals / DLL's
- hotplug (USB)
- "C:\WINDOWS\system32\rundll32.exe" shell32.dll,Control_RunDLL hotplug.dll
Registry
Network
- MAC
- HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002bE10318}\xxxx\NetworkAddress
ZIP
- disable search
- HKEY_CLASSES_ROOT\SystemFileAssociations\.zip\CLSID
remove/rename this key to disable search in .zip files.
(on XP, CLSID = {E88DCCE0-B7B3-11d1-A9F0-00AA0060FA31} )
General
- Autorun
- HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Cdrom
Autorun = 0 to disable
Copy File Path
an explorer extension to copy file/folder path to the clipboard
Uncompress the file CopyPathExtension.zip and merge (double-click) the content to the registry.
It will add an entry to the explorer context menu (right-click) to copy the path of the selected file/folder to the clipboard.
Requires the Clipboard Utility ( cb.exe ) from AutoHotKey on the command PATH. I got it here.





