locked
An error occurs while sharing folder on WS 2012 with net share command RRS feed

  • Question

  • Good day!

    I have a tiny *.bat which deletes and share a certain folder on DC on WS 2012 Std.

    net share FILEEXCHANGE /DELETE /YES
    rmdir /s /q C:\BATCH\Fileexchange
    mkdir C:\BATCH\Fileexchange
    net share FILEEXCHANGE=C:\BATCH\Fileexchange /Grant:Everyone,Full

    Everything was OK on 2003, 2008 and 2008 R2, all DCs too.

    But on WS 2012 I get the following error:

    "System error 1332 has occurred.  No mapping between account names and security IDs was done."

    What most likely could be the problem?

    Many thanks in advance for any suggestions!

    Wednesday, August 7, 2013 2:49 PM

Answers