On Mon, Mar 25, 2013 at 8:05 PM, Patrick Flaherty <pflah...@rampageinc.com>wrote:
> > I did not know you could have multiple logins in Windows 2008 R2. You > don't mean interactive login do you? > > When I first started using Windows Server 2008 (standard/vista version), I had multiple 'local' users, and the server allowed at least 2 users to be logged in at one time, and I think I remember the ability to switch between users via Ctrl-Alt-Delete and/or via Ctrl-L (lock workstation). I would assume the same is available for Windows Server 2008 R2, but have not tried it. did a google search and found this[1]. can you do something similar, create a separate java app/executable that does your 'net use', and let your tomcat7-app-running-as-service call the separate app, and 'run as' the target user that has the network drive list that you desire to get/retrieve? just a suggestion. [1] http://stackoverflow.com/questions/1385866/java-run-as-administrator