We help IT Professionals succeed at work.
Get Started

Help with fairly complex login script

ieden
ieden asked
on
476 Views
Last Modified: 2012-05-11
Would like someone to design a script for the environment I manage that does a number of things. These items must take place in numerical order. May be a .bat file however, .vbs, .cmd  and .ps1 are acceptible.
The script needs to be able to do the following:
1. run at logon via AD GPO.
2. immediately sleep for 10 seconds.
3. determine day of week:
 * on specified day of week displays pop up message.
 * on day message displayed, message must be visible for minimum 5 seconds.
 * message can contain an "OK" button to confirm.
4. script must contain a section that does the following:
 * ping an IP address
 * if ping unsuccesful, ping again.
 * if ping successful, continue script.
5. Script must run IPCONFIG /REGISTERDNS
6. script must map multiple drives.
 * F:, P:, S:, and V:
 * group membership determines drive mapping.
 * Share path varies with group membership.
7. script must copy several files from one of the mapped drives to a location on the hard disk.
 * copy F:\txt1\1.txt C:\folder1
 * copy F:\txt1\2.txt C:\folder1
 * copy F:\txt2\3.txt C:\folder2
Comment
Watch Question
Tech Lead (Windows), Endpoint Device Management Services
CERTIFIED EXPERT
Commented:
This problem has been solved!
Unlock 3 Answers and 34 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