Windows is not creating Administrative Share for RAM disks

Started by andrepoffo

Windows is not creating Administrative Share for RAM disks   18 November 2017, 04:35

Hello.

I have two different machines both with Windows 10 Pro. Both machines also have boot-times disks.
One of them has the administrative share of the disks, while the other doesn't have. Why? Is there some configuration parameter that I forgot?

For example:
------
Machine A, name "ariel".
Disk C: (traditional disk of Windows)
Disk D: (disk mounted by RAMDISK)

If I access from network \\ariel\C$\ it works fine.
If I access from network \\ariel\D$\ it also works fine.
------
Machine B, name "gabriel".
Disk C: (traditional disk of Windows)
Disk D: (disk mounted by RAMDISK)

If I access from network \\gabriel\C$\ it does works fine.
But if I access from network \\gabriel\D$\ it doesn't works. Why?
------

What I've tried:
Firewall.
Able File Sharing.
LocalAccountTokenFilterPolicy Registry Key.


Thank you,
André Poffo
SoftPerfect Support forum - Andrew avatar image

Re: Windows is not creating Administrative Share for RAM disks   19 November 2017, 00:57

It's hard to say outright. Are the configured RAM disks identical on both of these machines?

More importantly, what does net share print when launched from a command prompt on the problematic server? Also what error message are you getting when you try to access it?

Re: Windows is not creating Administrative Share for RAM disks   15 December 2017, 02:32

Well. It's simples to reproduce this error. It occurs in both versions 3.4 and 4.0.

Install ramdisk on Windows 10.
Create an ramdisk with any amount of space.
Restart windows.
After logon, go to Computer Management->Shared Folders->Shares. (See attachment)

You will see that new ramdisk doesn't appears here. With older windows versions it's ok.

Thanks,
André Poffo.
Attachments:
open | download – shares.jpg (44.9 KB)
SoftPerfect Support forum - Andrew avatar image

Re: Windows is not creating Administrative Share for RAM disks   15 December 2017, 15:13

Thank you for the description André. I did as you suggested and was able to see the problem after a reboot. It looks like Windows doesn't want to treat a standalone RAM disk as an administrative share.

There is an easy workaround though, just tick Hard Disk Emulation in your RAM disk's properties. This way the app will emulate a complete HDD with partitions, which Windows treats as an administrative share upon boot.

Re: Windows is not creating Administrative Share for RAM disks   22 December 2017, 05:23

I already tried this. Did not solved.

Today I have one fake disc, with 512mb and Hard Disk Emulation marked. It only serves for the purpose to "create administrative shares".
When windows get started there is none of the discs shared (only HDD C$). What I have to do is open RamDisk and REMOUNT this 512mb disk (with hard disk emulation). Than it creates the others administrative shares. Everyday, after a reboot I have to do this. Only in Windows 10.
I think it may be a bug with the APIs.

Thanks for everything.
SoftPerfect Support forum - Andrew avatar image

Re: Windows is not creating Administrative Share for RAM disks   22 December 2017, 09:33

Sorry I am afraid I don't have any other ideas - on our test machine it's correctly created every time, like on your working machine.

I guess you can try executing the net share command as a workaround to create the share manually on startup, but that's a bit of a hack.

Sometimes you can find a solution faster if you try the forum search, have a look at the knowledge base, or check the software user manual to see if your question has already been answered.

Our forum rules are simple:

  • Be polite.
  • Do not spam.
  • Write in English. If possible, check your spelling and grammar.

Author:

Subject

A brief and informative title for your message, approximately 4–8 words:

     

Spam prevention: please enter the following code in the input field below.

 **     **  **    **  **    **  **     **   ******  
  **   **    **  **   **   **   **     **  **    ** 
   ** **      ****    **  **    **     **  **       
    ***        **     *****     **     **  **       
   ** **       **     **  **     **   **   **       
  **   **      **     **   **     ** **    **    ** 
 **     **     **     **    **     ***      ******  

Message: