Octopuss Posted May 24, 2011 Posted May 24, 2011 Does anyone know how do I set system TEMP variable in nLite? It looks like the available setting only affects the variable for users.
allen2 Posted May 27, 2011 Posted May 27, 2011 I don't think it is possible without a runonce key to set the reg setting or modifying hivesys.inf.
Octopuss Posted May 27, 2011 Author Posted May 27, 2011 Well I could go with specific command to be executed, too.
Guest Posted June 3, 2011 Posted June 3, 2011 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\EnvironmentTEMP and TMP
Octopuss Posted June 3, 2011 Author Posted June 3, 2011 Yeah I found that too, eventually, but how do I change that in nLite?
Guest Posted June 4, 2011 Posted June 4, 2011 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 /fREG ADD "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /v TMP /t REG_EXPAND_SZ /d D:\TEMP /fChange D:\TEMP to whatever you like.
Octopuss Posted June 8, 2011 Author Posted June 8, 2011 Thank you!You actually made me look at the syntax as well, and I finally started to understand it a bit
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now