Search notes:

Registry: HKEY_CURRENT_USER\Volatile Environment

Powershell

With Powershell and the COM object wscript.shell, it's possible to access the values of volatile environment variables like so
$wsh         = new-object -comObject wscript.shell
$volatileEnv = $wsh.environment("Volatile")

write-host   "USERNAME = " $volatileEnv.item("USERNAME")
Github repository about-Windows-Registry, path: /HKEY_CURRENT_USER/Volatile Environment/printVars.ps1

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/Windows/...', 1758201039, '216.73.216.150', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/Windows/registry/tree/HKEY_CURRENT_USER/Volatile-Environment/index(39): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78