Jump to content

Recommended Posts

Posted

Does anyone know how do I set system TEMP variable in nLite? It looks like the available setting only affects the variable for users.


Posted

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment

TEMP and TMP

Posted

Under Unattended, RunOnce add something like this....

REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /v TEMP /t REG_EXPAND_SZ /d D:\TEMP /f

REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /v TMP /t REG_EXPAND_SZ /d D:\TEMP /f

Change D:\TEMP to whatever you like.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...