On Mar 25, 2013, at 11:59 AM, Harris, Jeffrey E. wrote:
-----Original Message-----
Update: If I'm login interactively (meaning machine boots and I login
and get my desktop) and that interactive account matches the service
login account then "net use" from within the service does return all
mapped drives.
I'm not sure if that is by design or is something I can hang my hat
on
but it is the case with Windows 7 SP1.
Thanks again
Pat
Interesting. It is possible that if you are already logged in, and
start
the service, it does not need to log in separately as the service.
Does this work
whether you start the service before or after you log in interactively
with the same account?
I just tested this and the order does not matter. Works for both
sequences.
In any case, I am not sure you can rely on that because it does
require an interactive
login, and if your system reboots in the middle of the night
(whether because of an
unplanned event or installation of Microsoft updates, depending on
your server is
configured), you will not be there to log in interactively so the
net share list
is available, and you probably do not want to set automatic login
for the account.
We only use it to populate a UI where you select a path that gets
stored in a DB. Path is used as destination for scheduled backups.
So for us it will not present a problem.
Jeffrey Harris
This e-mail and any attachments are intended only for the use of the
addressee(s) named herein and may contain proprietary information.
If you are not the intended recipient of this e-mail or believe that
you received this email in error, please take immediate action to
notify the sender of the apparent error by reply e-mail; permanently
delete the e-mail and any attachments from your computer; and do not
disseminate, distribute, use, or copy this message and any
attachments.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org