Offline Folders and Drive Mappings

G

Guest

Here is my question:

I use offline folders for My Documents and store my documents on a network
drive such as \\server1\My Documents

So I am setting up log on scripts so the drives are mapped on log on such as

net use x: /del
net use x: \\server1\

here is my issue:

offline folders..

When a user starts up offline they have no drive mapping X so the offline
folders don't work, until the script runs unless I add the /Persistant:yes
option.

yet i want the ability to drop the folder mapping and redirect... that is
why I had a section with /delete. How can I script this?

Any ideas?
 
G

Guest

Please clarify.

If the mapped drive is not persistent, why are you starting the script with
/del? Why do you need/want to drop the folder mappings, if you are only
going to recreate them at each logon?
 
G

Guest

So that I can chang the mapping right away. You have to delete a drive
before you can re map another.
 
G

Guest

If the mapping to X: is not persistent, it is disconnected ("deleted") when
the user logs off; there is nothing to delete at the next logon.

If I understand your intent, your script is only to continually remap to the
same drive which will always be available in the situation you described.
Therefore 'net use X: /del' is unnecessary in the logon script. Simply using
'net use X: \\servername\sharename' should be sufficient
 
L

Lanwench [MVP - Exchange]

Kevin C said:
Here is my question:

I use offline folders for My Documents and store my documents on a
network drive such as \\server1\My Documents

Are you using folder redirection via group policy? You really want to ....
I'd set it up for My Documents, Application Data, and Desktop. They should
be redirected to subfolders of the user's home directory or user folder -
e.g.,

\\server\home$\%username%\My Documents
\\server\home$\%username%\Application Data
\\server\home$\%username%\Desktop

Then there is no need for the user to even *have* a mapped drive for any of
this. Make My Documents available offline & that's that.

So I am setting up log on scripts so the drives are mapped on log on
such as

net use x: /del
net use x: \\server1\

here is my issue:

offline folders..

When a user starts up offline they have no drive mapping X so the
offline folders don't work, until the script runs unless I add the
/Persistant:yes option.

yet i want the ability to drop the folder mapping and redirect...
that is why I had a section with /delete. How can I script this?

Any ideas?

Aside from the above -

* If you use /persistent:no in your login script (as I do), there is no need
to ever use /del.
* Your post is a bit confusing, because when a user is working offline,
there should be no login script at all!
 
G

Guest

That's the best approach yet...
--
V2


Lanwench said:
Are you using folder redirection via group policy? You really want to ....
I'd set it up for My Documents, Application Data, and Desktop. They should
be redirected to subfolders of the user's home directory or user folder -
e.g.,

\\server\home$\%username%\My Documents
\\server\home$\%username%\Application Data
\\server\home$\%username%\Desktop

Then there is no need for the user to even *have* a mapped drive for any of
this. Make My Documents available offline & that's that.



Aside from the above -

* If you use /persistent:no in your login script (as I do), there is no need
to ever use /del.
* Your post is a bit confusing, because when a user is working offline,
there should be no login script at all!
 

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

Top