[windows2000] SV: Re: Mapping

  • From: "Svein Arild Haugum" <svein@xxxxxxxxxxxxxx>
  • To: <windows2000@xxxxxxxxxxxxx>
  • Date: Wed, 22 Oct 2003 15:31:29 +0200

Since a mapping is a user "action", not a system action, a mapping is located 
in HKCU, wich is loaded on user login.
 
If a service needs this, you will have to make a new user, log that user on the 
computer, to create a profile for that user, map the network drive as 
persistent, log the user of, and then define the service to run under that 
user. The service will then use that settings. 
 
but the best, and only good thing to do it to make the service work with UNC 
paths...
 
Mvh 
Svein Arild 
-----Opprinnelig melding-----
Fra: raul.arias@xxxxxxxxxxxxxxxxxxx [mailto:raul.arias@xxxxxxxxxxxxxxxxxxx]
Sendt: 22. oktober 2003 15:14
Til: windows2000@xxxxxxxxxxxxx
Emne: [windows2000] Re: Mapping



Sorry  Timothy, I didn´t explain good 


the mapping must exist BEFORE the user logon. Like another physical Drive 
letter. 

Thanks 





        "Timothy Mangan" <tmangan@xxxxxxxxxxxx> 
Sent by: windows2000-bounce@xxxxxxxxxxxxx 


22/10/2003 15:06 
Please respond to windows2000 


        
        To:        <windows2000@xxxxxxxxxxxxx> 
        cc:         
                                                                      
        Action:   

        Subject:        [windows2000] Re: Mapping



net use h:  <file://///server/folder> \\server\folder /persistent:yes 
  
  
Timothy R. Mangan  - Founder, TMurgent Technologies 
 <mailto:tmangan@xxxxxxxxxxxx> tmangan@xxxxxxxxxxxx    
<http://www.tmurgent.com/> www.tmurgent.com  (+1)781.492.0403 

  _____  


From: windows2000-bounce@xxxxxxxxxxxxx 
[mailto:windows2000-bounce@xxxxxxxxxxxxx] On Behalf Of 
raul.arias@xxxxxxxxxxxxxxxxxxx
Sent: Wednesday, October 22, 2003 8:55 AM
To: windows2000@xxxxxxxxxxxxx
Subject: [windows2000] Mapping 
  

Hi !

I need to mantain a drive map (example: F:) when the user 
log off, or when the computer restart (and it remains without logon). 
It´s like a service, but when I insert a new service with 
a .EXE with "net use h: \\server\folder"  doesn´t work.

I tried with administrator permissions.

Any idea ??????? 

Thanks a lot

Raül Arias

Systems Administrator 
Barcelona 


Other related posts:

  • » [windows2000] SV: Re: Mapping