HTFC Forums

H.T.F.C.

How To Fix Computers





Go Back   HTFC Forums > Software Newsgroups > Windows XP > XP Networking

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1  
Old 10-11-2007, 03:01 AM
Kevin C
 
Posts: n/a
Default Offline Folders and Drive Mappings

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?

Reply With Quote
Sponsored Links
  #2  
Old 10-12-2007, 05:50 PM
JCB
 
Posts: n/a
Default RE: Offline Folders and Drive Mappings

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?


--
JCB\1059


"Kevin C" wrote:

> 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?
>

Reply With Quote
  #3  
Old 10-12-2007, 11:30 PM
Kevin C
 
Posts: n/a
Default RE: Offline Folders and Drive Mappings

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

"JCB" wrote:

> 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?
>
>
> --
> JCB\1059
>
>
> "Kevin C" wrote:
>
> > 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?
> >

Reply With Quote
  #4  
Old 10-13-2007, 06:22 AM
v2win
 
Posts: n/a
Default RE: Offline Folders and Drive Mappings

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


--
JCB



Reply With Quote
  #5  
Old 10-16-2007, 04:23 PM
Lanwench [MVP - Exchange]
 
Posts: n/a
Default Re: Offline Folders and Drive Mappings

Kevin C <KevinC@discussions.microsoft.com> wrote:
> 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!


Reply With Quote
  #6  
Old 10-17-2007, 06:34 AM
v2win
 
Posts: n/a
Default Re: Offline Folders and Drive Mappings

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


"Lanwench [MVP - Exchange]" wrote:

> Kevin C <KevinC@discussions.microsoft.com> wrote:
> > 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!
>
>
>

Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
offline files drive not mapped when offline jerryk XP Networking 4 10-16-2007 04:21 PM
offline folders and drive mappings Kevin C XP Networking 0 10-11-2007 02:50 AM
Drive Mappings Problem Anna Windows XP 5 08-24-2007 11:23 PM
Offline Folders - Working Offline when online Ad XP Networking 0 05-12-2004 01:48 PM
No offline folders tab anonymous@discussions.microsoft.com XP Networking 2 04-19-2004 05:00 AM


All times are GMT. The time now is 09:37 AM.


Powered by vBulletin® Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0
© 2004 - 2007 Web-S-Sense Pty. Ltd. Usenet and forums posts © their respective authors.
Ad Management by RedTyger