(imported topic written by schmucke91)
hi all, I have a question to read a variable in the record which is:
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\lanmanserver\parameters\srvcomment
I’m using this command line
Value “srvcomment†of (Key “HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\lanmanserver\parameters†of it) of registry
and gives me the following response
Error: This expression contained a character which is not allowed.
also if on multiple computers is not variable as I run it with an if conditional
thanks