We help IT Professionals succeed at work.
Get Started

Log In Script for Domain Controller

ben1211 asked
Last Modified: 2012-05-11
We have a log in script for our Domain Controller whereby when users log on to the domain, drives are mapped etc via the log on script.

I now need to get a patch (exe) file to execute the moments the users log on to the domain.

How do I do this? I have a logon.bat script that executes.

This is what it looks like. How can I include an exe file to be executed the moment the users log on? There are also startup scripts. Is this done on the domain, and how do I create a startup script?

net use w: /d
net use S: /d
net use P: /d
net use F: /d
net use N: /d

net use W: \\wvm-srv01\Simma
net use S: \\wvm-srv01\FileServer
net use P: \\WVM-SRV01\MarCom
net use F: \\server1\FaxCore
net use N: \\wvm-srv01\scan_doc
Watch Question
Distinguished Expert 2020
This problem has been solved!
Unlock 6 Answers and 41 Comments.
See Answers
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE