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
Ask a Question
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

troubleshooting Question

login script to reset user's home directory in Windows 7 Professional

Avatar of salaspa
salaspa asked on
Windows Server 2003Windows 7
25 Comments1 Solution979 ViewsLast Modified:
Hello, I am using a login script to map drives.  One of the lines in the script is "net use p: /home".  The user profiles in active directory indicate the name of the login script and the home folder is set to the remote location or "p: /home".

Here's the guts of the script:
NET USE * /DELETE /Y
net time \\server /set /yes
net use h: \\server\shares\contracts
net use i: \\server\shares\proposals
net use j: \\server\shares\advertising
net use k: \\server\accounting
net use l: \\server\shares\databases
net use m: \\server\shares\engineering
net use p: /home
:END

This script has worked well for all my Windows XP computers.  We are now incorporating Windows 7 computers into our network and for some reason, this portion of the script does not complete.

Any help will be appreciated.  Thanks so much.

PS:  I used to use "net send" frequently from my local XP computer to communicate information to all the computers on the network - directly to the computer regardless of the user logged in at the time; i.e. net send /DOMAIN:DOMAIN type my message here... I have found that I cannot do so in my new Windows 7 environment.  If anyone knows a new and exciting way to accomplish the same task as simply, I'd be happy to hear it.

Thanks to all.
ASKER CERTIFIED SOLUTION
Avatar of TheGorby
TheGorbyFlag of United States of America image

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Commented:
This problem has been solved!
Unlock 1 Answer and 25 Comments.
See Answers