Share via


How to create a system-wide mapping without even being logged in, so at startup

Question

Thursday, September 8, 2011 6:08 AM

Hi

I need to make a system wide mapping on a server. The problem is that if I do it on my account nobody else sees the mapping.

We need this for an SAP feature called a transport/transmit folder that should be stored on a central storage device. All servers map to that device

and SAP will write to this share but offcourse nobody is logged on to the server itself. As an example maybe:

In SAPGUi you can upload a file to a directory (the mapped share, eg F:) on the application server. This means that F: should be there offcourse

while the server is running.

What are my options here? I'm sure in 2000/2003 it worked

Thank you

jgs

All replies (2)

Saturday, September 10, 2011 9:23 AM âś…Answered

I've found one solution on the internet but it's not a best practice:

1>psexec -s cmd         (sysinternals tool)  This will actually enter you into a NT Authority "user" session

2>map the drive          Now all of a sudden this mapping will be visible in every users session

 

While this works over the network, I guess security wise it's not smart and even not supported at all but SAP now sees the letter as a local drive.

I changed strategy and turned to DFS and consulted with ABAP programmers to change all paths to the dfs namespace and some variables.

 

BTW: I opened a case with MS but they did not really found something.

         I also tried srvinst with srvany and SC but results where not satisfying on W2K8R2 SP1

 

 

jgs


Friday, September 9, 2011 8:15 AM

Hi,

You can test to create a local group policy to map the folder:

Computer configuration - Windows Settings - Scripts - Startup - Show Files

Create a batch script with the mapping command (like net use F: \server\folder))

TechNet Subscriber Support in forum |If you have any feedback on our support, please contact [email protected].