Offline Folders and Drive Mappings

  • Thread starter Thread starter Guest
  • Start date Start date
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?
 
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?
 
So that I can chang the mapping right away. You have to delete a drive
before you can re map another.
 
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
 
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!
 
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!
 
Back
Top