delete/unset environment variables in system variable issue

SALEH Mohamed 0 Reputation points
2023-08-04T05:34:34.6166667+00:00

I tried many different methods to delete from regedit, environment variables, and PowerShell, but the problem of gaining back its host var for software licences persisted after deleting or modifying content variables from system variables after restarting the computer.

any solution HOST.jpg

Windows for business Windows Client for IT Pros User experience Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2023-08-07T03:18:08.8166667+00:00

    Hi,

    You can use Process Monitor to track the changes of the registry value "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\HOST_ARMACAD" where your system variable HOST_ARMACAD is stored. Open Filter (Ctrl-L) in Process Monitoir, add entries "Path > is > HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\HOST_ARMACAD" and "Operation > is > RegSetValue", then apply.

    User's image

    You can get Process Monitor from here.

    https://learn.microsoft.com/en-us/sysinternals/downloads/procmon

    Best Regards,

    Ian Xue


    If the Answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.