Logon Script

  • Thread starter Thread starter Pegasus \(MVP\)
  • Start date Start date
P

Pegasus \(MVP\)

Windows 98 does not support folder mapping, only share mapping.
 
I need to map personal folders for some useres. If at a workstation I use

NET USE U: \\MYSERVER\MYUSERS

I can map the drive U:. However if I use

NET USE U: \\MYSERVER\MYUSERS\USER1

I receive one error (error 50)

MYUSERS is a shared folder and USER1 is below MYUSERS.

I am using a Windows 2003 Server (AD installed) and Windows 98 workstations.

Somebody has any idea what I am doing wrong.

Thanks,

Luis.
 
The best place to post a question like this would be:
microsoft.public.windows.server.scripting

What you need to do is share the user directory using a Hidden Share.

So if you have a user called USER1 and a directory such as c:\home\USER1 on server
\\MyServer

You share USER1's home directory as USER1$
You share USER2's home directory as USER2$
You share USER3's home directory as USER3$

Then use; NET USE U: \\MyServer\USER1$

If you use environmental variables...

Then use; NET USE U: \\MyServer\%USERNAME%$

The most important part is DON'T use plain DOS as a logon Script !
Use a real scripting language such a Kixtart (http://kixtart.org Kixtart is CareWare)

In Addition:
If you post to UseNet with your TRUE, not a munged, email address then you have invited the
Swen Internet worm [aka; W32/Gibe-F] to visit you.

The Swen is news spelled backwards. The reason it is called this is because the Swen worm
harvests email addresses from UseNet News Groups. It has an engine that allows it to post
itself to UseNet News Groups as well as it has its own email engine. From the list of
email addresses that it has harvested, it will then email itself to those addresses.

Dave



| I need to map personal folders for some useres. If at a workstation I use
|
| NET USE U: \\MYSERVER\MYUSERS
|
| I can map the drive U:. However if I use
|
| NET USE U: \\MYSERVER\MYUSERS\USER1
|
| I receive one error (error 50)
|
| MYUSERS is a shared folder and USER1 is below MYUSERS.
|
| I am using a Windows 2003 Server (AD installed) and Windows 98 workstations.
|
| Somebody has any idea what I am doing wrong.
|
| Thanks,
|
| Luis.
|
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top