Networking Forums

Networking Forums > Computer Networking > Windows Networking > Access a share mounted in the HKLM\Software\ ...\Run key

Reply
Thread Tools Display Modes

Access a share mounted in the HKLM\Software\ ...\Run key

 
 
ML
Guest
Posts: n/a

 
      11-03-2007, 09:29 PM
All,
I would like to setup a Windows 2003 server with a software running as
a service.
The service run under the computer account
The data are on a remote share.

I would like the service to access the data on the remote share.

- I setup the rights on the remote share.
- If I open a cmd box under the local computer account (computername
$), I can mount the remote share and acess data

- If I add a entry in the HKLM\SOFTWARE\Microsoft\Windows
\CurrentVersion\Run, I know it mount the drive ( I put a trace), but
when I try to access this drive from a cmd box under the computer
account, the share is not mounted.

So : is there a way to mount a drive reachable to all process running
under the computer account ?
The matter is that there is no session openned on the server

I know iSCSI drive could solve my problem, but I prefer a remote share
for many reasons.

Thanks
Best regards
ML

 
Reply With Quote
 
 
 
 
Lanwench [MVP - Exchange]
Guest
Posts: n/a

 
      11-04-2007, 12:02 AM
ML <(E-Mail Removed)> wrote:
> All,
> I would like to setup a Windows 2003 server with a software running as
> a service.
> The service run under the computer account
> The data are on a remote share.
>
> I would like the service to access the data on the remote share.
>
> - I setup the rights on the remote share.
> - If I open a cmd box under the local computer account (computername
> $), I can mount the remote share and acess data
>
> - If I add a entry in the HKLM\SOFTWARE\Microsoft\Windows
> \CurrentVersion\Run, I know it mount the drive ( I put a trace), but
> when I try to access this drive from a cmd box under the computer
> account, the share is not mounted.
>
> So : is there a way to mount a drive reachable to all process running
> under the computer account ?
> The matter is that there is no session openned on the server
>
> I know iSCSI drive could solve my problem, but I prefer a remote share
> for many reasons.
>
> Thanks
> Best regards
> ML



I'm presuming you're running AD - you'll need to set up the service to run
under a domain account (not a local account) if you want it to have any
ability to do anything outside of this server itself.


 
Reply With Quote
 
ML
Guest
Posts: n/a

 
      11-04-2007, 06:47 PM

> I'm presuming you're running AD - you'll need to set up the service to run
> under a domain account (not a local account) if you want it to have any
> ability to do anything outside of this server itself.


Hi,
The domain account is the account of the server itself : ComputerName
$. No issues using this account on a remote share.

My question is to mount a share in the run key that could be used by
running services.
ML


 
Reply With Quote
 
Lanwench [MVP - Exchange]
Guest
Posts: n/a

 
      11-05-2007, 02:51 PM
ML <(E-Mail Removed)> wrote:
>> I'm presuming you're running AD - you'll need to set up the service
>> to run under a domain account (not a local account) if you want it
>> to have any ability to do anything outside of this server itself.

>
> Hi,
> The domain account is the account of the server itself : ComputerName
> $. No issues using this account on a remote share.


You're using a *computer* account in AD to run as a service? Hmmm. I've
never even thought of doing that.
>
> My question is to mount a share in the run key that could be used by
> running services.
> ML


I'm sorry to say I'm really not sure how you'd do that, or even what it
really *means*. Anything you see in "run" is interactive and you can't
launch it via a service - you have to log in interactively.


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache not serving from CIFS-mounted share, works if it's mounted asSMBFS Rick Onanian Linux Networking 3 03-27-2008 07:45 PM
user of nfs mounted dir is 4294967294 Jan Wagner Linux Networking 4 03-21-2007 03:57 PM
NFS and sub-mounted partitions John Stolz Linux Networking 2 06-06-2005 10:34 AM
mounted hd does not show via NFS edward hage Linux Networking 3 04-22-2004 05:37 AM
Want small Access Point to share Internet Access during travel Chris Wireless Internet 2 11-18-2003 12:32 AM



1 2 3 4 5 6 7 8 9 10 11