Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 181
  • Last Modified:

login script for windows NT/2000 clients

In my LAN I set up users' proxy settings in the IE through login script, now for the laptop users, when they go back home they need these settings to be cleared, can anyone let me know what should be the best solution for this scenario?
I am think of put a local login script in the laptop to clear the proxy settings, but when users login to the LAN, which will be the effective login script, in the server or in the laptop?

1 Solution
if you want to clear it when they logout, clear it when they logout instead of when they login. Nevertheless you can edit both login and logoff scripts with this.

What you want is a logoff script. These can be done using the group policy manager in MMC. Please let me know if you need help writing a script (I am assuming you can write a copy script). There are two versions of group poilicy management, local and domain (AD). I will go over the local for simplicity.

Start>Run "mmc"
hit ctrl + m to add a snap-in

On the "standalone" tab select "Add" and add the "group policy management" snap-in.

hit finish and then close

go into "local computer policy" and then "user configuration" and then "Windows settings" and then "Scripts (logon/logoff)"

select "logoff" on the right window and then select the "Add" button to locate the script.

This can also be applied to a domain (AD) if using a server and select AD instead of local computer policy.

Hope this helps.

this may help a bit:


Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now