Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Emulating a Network Drive on a PC

21 Oct 2015   #1
Win7BitsBytes

Windows 7 Professional
 
 
Emulating a Network Drive on a PC

I have an Access database at work that has a lot of VBA code, which frequently accesses data on my server at work. It uses the full path to access network drives eg DataFolder = "\\MainServer\WorkData\". I want to do some development on my home PC, but obviously I don't have the work network available at home, so none of the code that accesses network drives will work. Is there a way I can setup a folder such that it looks like a network drive? Eg when the code looks for \\MainServer\WorkData\, it finds the local folder. I've seen lots of stuff on the Web about doing it the other way round ie make a network drive look like a local drive, but nothing about making a local drive (or folder) look like a network drive.


My System SpecsSystem Spec
.
21 Oct 2015   #2
DavidE

Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64
 
 

Maybe the Microsoft Loopback Adapter will work for what you want ?
Take a look at these articles:
https://support.microsoft.com/en-us/kb/236869
https://social.technet.microsoft.com...tpronetworking

If that doesn't help, maybe installing a Virtual Machine is something you could try ?
My System SpecsSystem Spec
22 Oct 2015   #3
Alejandro85

Windows 7 Ultimate x64
 
 

You just follow the very same procedure as if it was a network share, but doing it entirely local. Like every server, the SMB shares can be accessed from the server computer itself, just using the standard loopback interface.

Just create a share in your own machine, then you can access it from within that same machine using the localhost host (computer name or local IP also work, of course):

\\127.0.0.1\WorkData
\\localhost\WorkData

And it will behave pretty much in the same way as any other share on remote systems.
Then configure your program to point to those and you can test it entirely on local system without any network.
My System SpecsSystem Spec
.

29 Oct 2015   #4
Win7BitsBytes

Windows 7 Professional
 
 
Close....!

Hi Alejandro85. Thanks for the suggestion. I've made an entry in my hosts file as follows:

127.0.0.1 MyServer

I can then ping MyServer and get 'Reply from 127.0.0.1: bytes=32 time<1ms TTL=128', so looks good.

I've then setup a shared folder, with permissions for everyone. I can successfully access it with \\localhost\MyFolder and \\127.0.0.1\MyFolder. However, when I try \\MyServer\MyFolder (which is what I want to do), I get an 'Enter Network Password' dialog. If I enter my logon name and password, it doesn't accept it. If I turn off Password Protected Sharing, I still get the network password dialog. I've checked the share and folder permissions and they're fine.

I'm obviously missing something. Any ideas?

Phil.
My System SpecsSystem Spec
Reply

 Emulating a Network Drive on a PC




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Cannot connect to Network drive. (Enter network password)
My network contains: 10 PCs and laptops running (Windows7 & Windows8). 2 network printers 1 Network Drive (WD Mybook Live Duo) Workgroup environment Here everything is fine. But one of the windows 8 laptop cannot access network folder. It prompt username and password. whenever I am trying...
Network & Sharing
Crashes. Need emulating
Please help me. I have now one thing from there: Freeworlds: Tides of War &bull; FW:TOW This modification(I asked, it now only for windows 7) crash after sometime playing. Help me please. Maybe anyone know emulator of windows 7 for windows xp?
Gaming
How to backup a network drive to another network drive
I have Win 7 Professional. How can I backup a network drive to another network drive?
Backup and Restore
Map Network Drive and Disconnect Network Drive - Add or Remove
How to Add or Remove "Map Network Drive" and "Disconnect Network Drive" Options This will show you how to add or remove Map Network Drive and Disconnect Network Drive from the toolbar, Tools menu, ribbon (Windows 8), and drive icon's context menu in Windows Explorer and Network Locations for...
Tutorials
emulating XP in 7
I know that XP mode requires both a processor capable of it and 7 professional or better. I discovered a utility called Zinstall that will transfer your entire XP environment "as is" to XP without these requirements. It apparently transfers your XP desktop with all apps installed with their...
Virtualization


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 09:48.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App