Hi,
After installing my new product version, when user does log-off and login into admin account or switch from admin account to non-admin account, PATH environment variable shows incorrect path of my product (previous product version’s path) using command prompt.
The PATH environment variable uses other environment variable (ABC).Environment variable "ABC" has relative path of my product(For ex:C:\\Program Files\myProduct_1.0).PATH Environment variable(like %ABC%\bin) is not refresh immediately after logoff and login admin account (or) switching from Admin account to Non-admin account.
This issue will not appear if user opens some applications like Internet Explorer, Notepad, WordPad, Excel, etc., before launching my product. Root cause of this issue is Windows refresh the PATH Environment variable after launching some application.
It seems windows refresh issue during session changes (logoff and login / switch from Admin to Non-admin account).
Why PATH environment variable is not refresh immediately after logoff and login/Switch from admin to non-admin mode?.
Please someone help me for this issue.