Knowledgebase
Debugging NAS connection issues
Posted by on 14 May 2019 12:34

Should any problems accessing the MailStore Server files on the network share occur when using the startup script method, the net command must be executed manually to retrieve the underlying error message.

As the MailStore Server process is executed in the context of the "local system", the windows command prompt must be executed in the same context as well. Therefore the following steps are required:

  • Download Windows Sysinternals PSTools and extract the content into a directory on your hard disk.
  • Login to the MailStore Server computer as local administrator or execute a command prompt as administrator.
  • In the command prompt, change to the directory where you extracted the PSTools.
  • Run the following command to switch the context of the command prompt to "local system":
    psexec.exe -s cmd.exe
  • Verify if that was successful by executing the whoami command. The output should show nt authority\system.
  • Now run the net command from the startup script and try to isolate the root of the issue with the error codes.

Windows does not allow multiple connections to one network server with different user credentials. Error 1219 is shown in this case. Using a different name or ip address of the server may help. An additional DNS name on the DNS server or in etc/hosts could be created. When the NAS is connected to the domain, but you want to use a local NAS user, you should try to prepend the name or ip address of the server to the username.

Both combined would result in a command similar to

net use \\172.31.250.10\share /user:172.31.250.10\mailstoreuser password




Article-ID: KB20130409-0-DE (English Version)

(7 vote(s))
Helpful
Not helpful

Navigation
Remote Support

Please download our TeamViewer client in order to allow the MailStore support team a one-time only access to your system.

Premium Support

If your MailStore Server license includes Premium Support or you are using the MailStore Service Provider Edition, you are entitled to get in touch with our support team directly via phone.

Phone:

+49 2162 50299-12

USA:

+1 800 747 2915