Greetings,
I apologize for what could be a silly question, but I'm strictly in the storage/UNIX world. I've set up a CIFS share on my 3040 (v7.2.4) for a Windows 2003 server to mount so that an application can read and write data to it. The windows administrator says the share is not staying mapped because it is being disconnected when the user logs out. This particular application needs access to the share when no one is logged into the system.
How does a Windows administrator keep a NetApp CIFS share mounted as as drive letter so that applications can use that share when no one is logged in?
Many thanks,
Daniel
______________________________________________________________________ This email transmission and any documents, files or previous email messages attached to it may contain information that is confidential or legally privileged. If you are not the intended recipient or a person responsible for delivering this transmission to the intended recipient, you are hereby notified that you must not read this transmission and that any disclosure, copying, printing, distribution or use of this transmission is strictly prohibited. If you have received this transmission in error, please immediately notify the sender by telephone or return email and delete the original transmission and its attachments without reading or saving in any manner.
Daniel Keisling wrote:
Greetings,
I apologize for what could be a silly question, but I'm strictly in the storage/UNIX world. I've set up a CIFS share on my 3040 (v7.2.4) for a Windows 2003 server to mount so that an application can read and write data to it. The windows administrator says the share is not staying mapped because it is being disconnected when the user logs out. This particular application needs access to the share when no one is logged into the system.
How does a Windows administrator keep a NetApp CIFS share mounted as as drive letter so that applications can use that share when no one is logged in?
Many thanks,
Daniel
are you using snap drive ? doesnt sound like it, i would say log in as local admin and mount the drive,
Map the drive as a persistent mapping
e.g net use t: \filer\shares /p
-----Original Message----- From: owner-toasters@mathworks.com [mailto:owner-toasters@mathworks.com] On Behalf Of Chaim Rieger Sent: Thursday, 5 June 2008 8:20 AM To: Daniel Keisling; toasters@mathworks.com Subject: Re: Persistant CIFS Share Across Logins
Daniel Keisling wrote:
Greetings,
I apologize for what could be a silly question, but I'm strictly in the storage/UNIX world. I've set up a CIFS share on my 3040 (v7.2.4) for a Windows 2003 server to mount so that an application can read and write data to it. The windows administrator says the share is not staying mapped because it is being disconnected when the user logs out. This particular application needs access to the share when no one is logged into the system.
How does a Windows administrator keep a NetApp CIFS share mounted as as drive letter so that applications can use that share when no one is logged in?
Many thanks,
Daniel
are you using snap drive ? doesnt sound like it, i would say log in as local admin and mount the drive,
************************************************************************************ This footnote confirms that this email message has been scanned by PineApp Mail-SeCure for the presence of malicious code, vandals & computer viruses. ************************************************************************************
'net use' will work but will re-map that drive again only when the user who initiated the 'net use' command is logged in. You could run the application or mapped drive as a service account...think someone mentioned that. You'll need to configure your app/script as a service. Google "run as a service" or something.
Hmm, does it have to be a mapped drive letter or will the app tolerate a UNC path? (\filer\share\direcotry)
Though, I think what you're really looking for is to serve this data as iSCSI luns instead of CIFS. You can do it well and free with iSCSI license only, but you may want to look into SnapDrive if your application wants online and consistent backups on your NetApp storage (and/or all the other goodies that SD brings.)
Best regards, ~~~~~~~~~~~~~~~~ Kevin Parker Mobile: 919.606.8737 http://theparkerz.com ~~~~~~~~~~~~~~~~
-----Original Message----- From: owner-toasters@mathworks.com [mailto:owner-toasters@mathworks.com] On Behalf Of Michael Schipp Sent: Wednesday, June 04, 2008 6:34 PM To: Chaim Rieger; Daniel Keisling; toasters@mathworks.com Subject: RE: Persistant CIFS Share Across Logins
Map the drive as a persistent mapping
e.g net use t: \filer\shares /p
-----Original Message----- From: owner-toasters@mathworks.com [mailto:owner-toasters@mathworks.com] On Behalf Of Chaim Rieger Sent: Thursday, 5 June 2008 8:20 AM To: Daniel Keisling; toasters@mathworks.com Subject: Re: Persistant CIFS Share Across Logins
Daniel Keisling wrote:
Greetings,
I apologize for what could be a silly question, but I'm strictly in the storage/UNIX world. I've set up a CIFS share on my 3040 (v7.2.4) for a Windows 2003 server to mount so that an application can read and write data to it. The windows administrator says the share is not staying mapped because it is being disconnected when the user logs out. This particular application needs access to the share when no one is logged into the system.
How does a Windows administrator keep a NetApp CIFS share mounted as as drive letter so that applications can use that share when no one is logged in?
Many thanks,
Daniel
are you using snap drive ? doesnt sound like it, i would say log in as local admin and mount the drive,
**************************************************************************** ******** This footnote confirms that this email message has been scanned by PineApp Mail-SeCure for the presence of malicious code, vandals & computer viruses. **************************************************************************** ********
Server toolkit If I recall, Autoexnt
Will do the trick. Works on NT and win2k. Not sure about later releases though
--tmac Sent from my Verizon Wireless BlackBerry
-----Original Message----- From: "Daniel Keisling" daniel.keisling@austin.ppdi.com
Date: Wed, 4 Jun 2008 16:51:28 To:toasters@mathworks.com Subject: Persistant CIFS Share Across Logins
Greetings, I apologize for what could be a silly question, but I'm strictly in the storage/UNIX world. I've set up a CIFS share on my 3040 (v7.2.4) for a Windows 2003 server to mount so that an application can read and write data to it. The windows administrator says the share is not staying mapped because it is being disconnected when the user logs out. This particular application needs access to the share when no one is logged into the system. How does a Windows administrator keep a NetApp CIFS share mounted as as drive letter so that applications can use that share when no one is logged in? Many thanks, Daniel
______________________________________________________________________ This email transmission and any documents, files or previous email messages attached to it may contain information that is confidential or legally privileged. If you are not the intended recipient or a person responsible for delivering this transmission to the intended recipient, you are hereby notified that you must not read this transmission and that any disclosure, copying, printing, distribution or use of this transmission is strictly prohibited. If you have received this transmission in error, please immediately notify the sender by telephone or return email and delete the original transmission and its attachments without reading or saving in any manner.
If the user logout and the share is disconnected is normal...to tell to your administrator J
You have to login someone then you can "lock" the desktop. If you cannot do this you will have to "play" with batches and registry "run" section to create some batch that map passing path, user and password to do it.
But If I well understand you need also a persistant mapping from a Windows 2K3 Server to a CIFS share on a NetApp.
Well, first of all the usage of network drive in server environments has been always been "fool" and causing some trouble. The network mapping will disconnect alone or, better, they go offline after 15 or 20 minutes of inactivity,
To make them persistant you need to issue this command net config /autodisconnect: -1
But is not a best practice
Bye,
Da: owner-toasters@mathworks.com [mailto:owner-toasters@mathworks.com] Per conto di Daniel Keisling Inviato: mercoledì 4 giugno 2008 23.51 A: toasters@mathworks.com Oggetto: Persistant CIFS Share Across Logins
Greetings,
I apologize for what could be a silly question, but I'm strictly in the storage/UNIX world. I've set up a CIFS share on my 3040 (v7.2.4) for a Windows 2003 server to mount so that an application can read and write data to it. The windows administrator says the share is not staying mapped because it is being disconnected when the user logs out. This particular application needs access to the share when no one is logged into the system.
How does a Windows administrator keep a NetApp CIFS share mounted as as drive letter so that applications can use that share when no one is logged in?
Many thanks,
Daniel
______________________________________________________________________ This email transmission and any documents, files or previous email messages attached to it may contain information that is confidential or legally privileged. If you are not the intended recipient or a person responsible for delivering this transmission to the intended recipient, you are hereby notified that you must not read this transmission and that any disclosure, copying, printing, distribution or use of this transmission is strictly prohibited. If you have received this transmission in error, please immediately notify the sender by telephone or return email and delete the original transmission and its attachments without reading or saving in any manner.
A quick serach on "autoexnt 2003" yielded this as google's first result:
http://www.microsoft.com/downloads/details.aspx?familyid=9d467a69-57ff-4ae7-...
Download the kit and use the AutoExNT utility.
It allows you to map a network share as a service and as such, keep it persistent (i.e. survives login/logout and reconnects at boot time without login)
--tmac
On Thu, Jun 5, 2008 at 6:34 AM, Milazzo Giacomo G.Milazzo@sinergy.it wrote:
If the user logout and the share is disconnected is normal…to tell to your administrator J
You have to login someone then you can "lock" the desktop. If you cannot do this you will have to "play" with batches and registry "run" section to create some batch that map passing path, user and password to do it.
But If I well understand you need also a persistant mapping from a Windows 2K3 Server to a CIFS share on a NetApp.
Well, first of all the usage of network drive in server environments has been always been "fool" and causing some trouble. The network mapping will disconnect alone or, better, they go offline after 15 or 20 minutes of inactivity,
To make them persistant you need to issue this command net config /autodisconnect: -1
But is not a best practice
Bye,
Da: owner-toasters@mathworks.com [mailto:owner-toasters@mathworks.com] Per conto di Daniel Keisling Inviato: mercoledì 4 giugno 2008 23.51 A: toasters@mathworks.com Oggetto: Persistant CIFS Share Across Logins
Greetings,
I apologize for what could be a silly question, but I'm strictly in the storage/UNIX world. I've set up a CIFS share on my 3040 (v7.2.4) for a Windows 2003 server to mount so that an application can read and write data to it. The windows administrator says the share is not staying mapped because it is being disconnected when the user logs out. This particular application needs access to the share when no one is logged into the system.
How does a Windows administrator keep a NetApp CIFS share mounted as as drive letter so that applications can use that share when no one is logged in?
Many thanks,
Daniel
This email transmission and any documents, files or previous email messages attached to it may contain information that is confidential or legally privileged. If you are not the intended recipient or a person responsible for delivering this transmission to the intended recipient, you are hereby notified that you must not read this transmission and that any disclosure, copying, printing, distribution or use of this transmission is strictly prohibited. If you have received this transmission in error, please immediately notify the sender by telephone or return email and delete the original transmission and its attachments without reading or saving in any manner.
A quick serach on "autoexnt 2003" yielded this as google's first result:
http://www.microsoft.com/downloads/details.aspx?familyid=9d467a69-57ff-4ae7-...
As tmac said, "autoexnt" is a sure-fire way to do this. We use it for one of our applications here and it's worked quite well for several years. By quite well I mean we set it up and have never needed to look at it again =).
Others have suggested using the local admin account to map the drive. The local admin account is just like any other account with regards to mapped drives. When that account logs out, the share is disconnected just like any other user.
It may be possible to do this using group policy and startup scripts applied to the machine(s) in question. I haven't tried this though so YMMV.
Jeff Mery - MCSE, MCP National Instruments
------------------------------------------------------------------------- "Allow me to extol the virtues of the Net Fairy, and of all the fantastic dorks that make the nice packets go from here to there. Amen." TB - Penny Arcade -------------------------------------------------------------------------