[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1755
  • Last Modified:

Home Directory - Logon Script

I have upgraded my file server and am having problems with my logon script mapping the home directory.
All user directories have been moved.
I created a share called users
The following script worked in the past.
$A="\\newserver\users\"+@USERID+"$"
USE H: $A

I have changed the profile  >> Home folder under Active Directory. It has changed the local path to point to \\newserver\username$

How can I fix my login script so that it runs?

What am I doing wrong?
0
Priscilla_Hora
Asked:
Priscilla_Hora
2 Solutions
 
carceneaCommented:
This is the script we use for our users:

Use U: "\\servername\%username%$"

We use a KIX logon script. That's what your's looked like as well if I'm not mistaken.

Hope this helps!
0
 
oBdACommented:
To start with, if you have entered a home folder in the user's profile, you do not need to do anything in the logon script about it, the specified drive will be mapped automatically during logon. Just drop the line, and you should be fine.
Then why have you started to use explicit shares for every folder? Unless you still have NT4 clients, this only creates more administrative work, as Windows 2000 and later are able to directly map a subfolder of a share.
0
 
Computer101Commented:
Forced accept.

Computer101
EE Admin
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

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