WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Logon Issues

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

NT Login Script and Environment Variables

Keywords:     NT Login Logon 

Question:

I'm doing an environment variable change, then sending the message to update all the windows:
        IntControl (22, -1, 26, 0, "Environment")
Everything works fine on the NT session.

It doesn't seem to work when I run it on the logon script. The variable seemed to be defined (when I open the control panel/system) it's there but when i do "set" from a command console, it appeared to have retained the old value, as if the send message didn't catch. Is there a clue?

Answer:

Processing in login scripts is very strange. I think there are some command line utilities in the NT resource kit to help you with environment management in login scripts.

Look in the ADMIN directory on the NT CD-ROM to see if anything there is useful.


Article ID:   W13513
Filename:   NT Login and Environment Variables.txt
File Created: 1999:04:15:16:54:32
Last Updated: 1999:04:15:16:54:32