Net Use Error 1312
Contents |
(עברית)المملكة العربية السعودية (العربية)ไทย (ไทย)대한민국 (한국어)中华人民共和国 (中文)台灣 (中文)日本 (日本語) HomeWindows Server 2012Windows Server 2008 R2Windows Server 2003LibraryForums Ask a question Quick access Forums home Browse forums users FAQ Search related threads Remove From My Forums net use a specified logon session does not exist. it may already have been terminated. Asked by: Remoting: NET USE on DFS Share, error 1312 Windows
System Error 1312 Specified Logon Session Does Not Exist
Server > File Services and Storage General discussion 0 Sign in to vote Hello, we are having
System Error 1312 Has Occurred Net Localgroup
the following issue: http://support.microsoft.com/default.aspx?scid=kb;en-us;968264&sd=rss&spid=11737 BUG: When psremoting (or winrs-ing) onto a client Win7x64 machine, trying to mount a DFS UNC, it fails with the following error. [client-1]: PS
System Error 1312 Has Occurred. Sql Server
C:\Users\user\Documents> net use x:\\server\dfsshare /User:company\username ****** net.exe : System error 1312 has occurred. + CategoryInfo : NotSpecified: (System error 1312 has occurred.:String) [], RemoteException + FullyQualifiedErrorId : NativeCommandError A specified logon session does not exist. It may already have been terminated. On the same machine, when mounting another share system error 1312 has occurred local group (sysvol) it does not fail. [client-1]: PS C:\Users\user\Documents> net use x:\\server\sysvol /User:company\username ****** The command completed successfully. If I run the same command on any client machine it does fail with the same error. If I run the same command locally on that same client (client-1) as logged on interactive user, it does not fail. Friday, October 26, 2012 2:42 PM Reply | Quote All replies 0 Sign in to vote Microsoft has an article on this, but it didn't help.... Error message when you try to map to a network drive of a DFS share by using a different user name than the one that you used to log on to Windows Vista or Windows 7: "A specified logon session does not exist. It may already have been terminated. http://support.microsoft.com/default.aspx?scid=kb;en-us;968264&sd=rss&spid=11737&wa=wsignin1.0 Thursday, November 01, 2012 7:39 AM Reply | Quote 3 Sign in to vote If you are still looking for the answer to this, I believe it stems from the namespace server not liking
Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more powershell system error 1312 has occurred about hiring developers or posting ads with us Server Fault Questions Tags Users Badges Unanswered Ask windows 10 a specified logon session does not exist. it may already have been terminated. Question _ Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute: Sign a specified logon session does not exist map network drive up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top NET USE to Azure file storage: System error 1312 up vote 0 down vote favorite https://social.technet.microsoft.com/Forums/windowsserver/en-US/4bb8261f-7851-44b5-b3b1-b58067a0bdb0/remoting-net-use-on-dfs-share-error-1312?forum=winserverfiles 1 Azure cloud file storage rocks! But in my batch file, most (over 75%) of net use commands fail with error: System error 1312 has occurred. A specified logon session does not exist. It may already have been terminated. What are we doing? In our data center, we fire a task every few minutes from a scheduled task. The task is a simple powershell script, that does a "net use" and then a "robocopy." The goal is to http://serverfault.com/questions/769647/net-use-to-azure-file-storage-system-error-1312 have our local data (SQL TLOGs in this case) up in Azure storage, and for Azure to be within 5 min or so of current at all times. So, this NET USE command, that is a problem, is in the following environment: Win2012-R2 virtual machine On VMWare ESX In our data center It works sometimes (once every 5-10 iterations). The net use command is: net use \\my-sharename.file.core.windows.net\myname /u:username
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site http://stackoverflow.com/questions/25258630/mapping-a-dfs-using-net-use-remotely-throwing-error-1312-a-specified-logon-sessi About Us Learn more about Stack Overflow the company Business Learn more https://communities.bmc.com/thread/100782?start=0&tstart=0 about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Mapping a DFS error 1312 using NET Use remotely throwing Error 1312.A specified logon session does not exist. It may already have been terminated up vote 0 down vote favorite I am trying to map a distributed file system (DFS) from a remote machine using net use $drive_letter $target $password /user:domain\username If I do this by logging to the machine there is no error, however if I try this remotely system error 1312 I get System error 1312 has occurred. A specified logon session doesnt exist. It may already have been terminated. Has anyone faced this issue before? Or is there any alternate way to map the network drive remotely without encountering these issues? powershell dfs share|improve this question edited Aug 13 '14 at 2:12 asked Aug 12 '14 at 7:34 StonedNDead 12 add a comment| 1 Answer 1 active oldest votes up vote 0 down vote I think this might be similar to the double hop problem discribed in this post. Althought you use a differnt method for connecting the drive, I think the credential issues will be the same. Setup your system to allow passing of the credentials to the remote computer. share|improve this answer answered Aug 17 '14 at 12:54 Roderick Bant 487211 Thanks Roderick Bant...let me give it a try and see how it goes. –StonedNDead Sep 8 '14 at 10:11 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up using Email and Password Post as a guest Name Email Post as
AdvocacyBeta ProgramsSupport CommunityIdeas and RFEsAdvocate HubOne BMC Beta Process (BMC)Customer Experience (BMC)HelpCommunities TipsCommunities YouTubeBMC Social Central (BMC Only)CommunitiesFree TrialsLog inRegisterCommunities Free TrialsSupportDocumentationAbout BMCNewsLog inRegister Products Events BMC Engage CommunityBMC Exchange EventsDevelopersDeveloper CommunityDeveloper PortalPartners Partner DirectoriesTechnology Alliance Program (TAP)Solution Provider Portal (SPP)User Groups All groupsLocal User GroupsEvent CalendarCustomer ProgramsBeta ProgramsSupport CommunityIdeas and RFEsAdvocate HubOne BMC Beta Process (BMC)Customer Experience (BMC)Help Communities TipsCommunities YouTubeBMC Social Central (BMC Only)Search the BMC CommunitiesSearch the BMC CommunitiesCancelError: You don't have JavaScript enabled. This tool uses JavaScript and much of it will not work correctly without it enabled. Please turn JavaScript back on and reload this page. Please enter a title. You can not post a blank message. Please type your message and try again. More discussions in Atrium Orchestrator All PlacesProductsAtriumAtrium Orchestrator 8 Replies Latest reply on Mar 10, 2014 11:07 AM by Wookie Houle getting system error 1312 when trying to execute windows command on remote host. bhaskar d Feb 17, 2014 4:26 AM i am using Atruim Orchestrator which uses another server where the workflow is run.This server connects with another remote server and runs the windows command in the remote host.While running workflow through AO am connecting to server 2008 r2 and running net localgroup command.the output is :