<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: runrmtcmd on WinXP</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/runrmtcmd-on-winxp/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/runrmtcmd-on-winxp/</link>
	<description></description>
	<lastBuildDate>Thu, 20 Jun 2013 10:45:38 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/runrmtcmd-on-winxp/#comment-84292</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Wed, 24 Nov 2010 00:21:48 +0000</pubDate>
		<guid isPermaLink="false">#comment-84292</guid>
		<description><![CDATA[&lt;i&gt;Try using STRPCCMD, STRPCO need to be started for using this command.&lt;/i&gt;

STRPCCMD is useful inside of an interactive session when the emulator supports it, but is no help with batch processes that need to run commands on PCs (or other systems on the network) nor through some emulators. It has a 123-character limit for the command string

RUNRMTCMD works batch or interactive regardless of emulator. But it also requires knowing the IP address or host name of the target system and needs a user available on the target. Some rexecd() service also must be started on the target. It has a 2000-character command string limit.

Tom]]></description>
		<content:encoded><![CDATA[<p><i>Try using STRPCCMD, STRPCO need to be started for using this command.</i></p>
<p>STRPCCMD is useful inside of an interactive session when the emulator supports it, but is no help with batch processes that need to run commands on PCs (or other systems on the network) nor through some emulators. It has a 123-character limit for the command string</p>
<p>RUNRMTCMD works batch or interactive regardless of emulator. But it also requires knowing the IP address or host name of the target system and needs a user available on the target. Some rexecd() service also must be started on the target. It has a 2000-character command string limit.</p>
<p>Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rajgoaj</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/runrmtcmd-on-winxp/#comment-72753</link>
		<dc:creator>rajgoaj</dc:creator>
		<pubDate>Mon, 18 Jan 2010 12:37:52 +0000</pubDate>
		<guid isPermaLink="false">#comment-72753</guid>
		<description><![CDATA[Try using STRPCCMD, STRPCO need to be started for using this command.]]></description>
		<content:encoded><![CDATA[<p>Try using STRPCCMD, STRPCO need to be started for using this command.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/runrmtcmd-on-winxp/#comment-71537</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Mon, 14 Dec 2009 01:30:45 +0000</pubDate>
		<guid isPermaLink="false">#comment-71537</guid>
		<description><![CDATA[Consider that you can send compound commands. Multiple commands might be sent in a single transaction; compound commands can be separated with ampersand (&quot;&amp;&quot;) or other reserved characters. One useful command to send first is CWBLOGON. Issue a logon back to the server right in the remote command session.

Enter CWBLOGON at a Windows command line with no parameters for help info.

Tom]]></description>
		<content:encoded><![CDATA[<p>Consider that you can send compound commands. Multiple commands might be sent in a single transaction; compound commands can be separated with ampersand (&#8220;&amp;&#8221;) or other reserved characters. One useful command to send first is CWBLOGON. Issue a logon back to the server right in the remote command session.</p>
<p>Enter CWBLOGON at a Windows command line with no parameters for help info.</p>
<p>Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mortree</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/runrmtcmd-on-winxp/#comment-38057</link>
		<dc:creator>mortree</dc:creator>
		<pubDate>Fri, 04 Aug 2006 08:07:59 +0000</pubDate>
		<guid isPermaLink="false">#comment-38057</guid>
		<description><![CDATA[IF NET USE can&#039;t find the account to access the share you get that 1312 error. Usually NET USE can&#039;t find the account because it can not read your mind about which machine has the account you named.

When using NET USE you need to specify the machine on which the account for accessing the share exists using backslash notation. Assume the remote machine is called RemoteMachine and the account you wish to run CMD batch fiels under on RemoteMachine is called AccountCMD.

(all on one line)

NET USE X: RemoteMachineShare /user:RemoteMachineAccountCMD Password


Again what probably happened in your sterile environment is that both your local and remote machine had accounts with the same name and same password. Thus your NET USE command actually caused initial password checking against the local no the remote account. But this worked out because the token created for accessing the share ends up matching the same account and password on the  remote machine.

So your production/real world problems probably come about because your aren&#039;t using matching accounts and passwords on the local machine and remote machines.]]></description>
		<content:encoded><![CDATA[<p>IF NET USE can&#8217;t find the account to access the share you get that 1312 error. Usually NET USE can&#8217;t find the account because it can not read your mind about which machine has the account you named.</p>
<p>When using NET USE you need to specify the machine on which the account for accessing the share exists using backslash notation. Assume the remote machine is called RemoteMachine and the account you wish to run CMD batch fiels under on RemoteMachine is called AccountCMD.</p>
<p>(all on one line)</p>
<p>NET USE X: RemoteMachineShare /user:RemoteMachineAccountCMD Password</p>
<p>Again what probably happened in your sterile environment is that both your local and remote machine had accounts with the same name and same password. Thus your NET USE command actually caused initial password checking against the local no the remote account. But this worked out because the token created for accessing the share ends up matching the same account and password on the  remote machine.</p>
<p>So your production/real world problems probably come about because your aren&#8217;t using matching accounts and passwords on the local machine and remote machines.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mortree</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/runrmtcmd-on-winxp/#comment-38058</link>
		<dc:creator>mortree</dc:creator>
		<pubDate>Fri, 04 Aug 2006 07:47:41 +0000</pubDate>
		<guid isPermaLink="false">#comment-38058</guid>
		<description><![CDATA[Using the IP &amp; share name is still a UNC. Providing the IP just shortcuts name resolution.

By any chance did your &quot;Sterile&quot; test environment use the same account name and password on local and remote machines? This is one way to trick security contexts expecially where the two machine are not in the same AD domain or not even in same forest context.

Permanent drive mapping isn&#039;t really going to work since the CMD environment is temporary and is destroyed when it is exited. The mapping of drives as a first step within the batch files is the way to go -- if using UNCs is too complex or impractical.

Plus for permissions you need to figure out what local account is executing your CMD environment on the remote machine. This similar to how if a batch file is invoked as a scheduled task from the account running the task scheduler service. Any CMD environment invoked remotely without local logon service will inherit the drive mapping etc from the SYSTEM account (XP might be different than 2000). There are, as mentioned by previous posts, parameters that can pass along a particular security account context.



]]></description>
		<content:encoded><![CDATA[<p>Using the IP &amp; share name is still a UNC. Providing the IP just shortcuts name resolution.</p>
<p>By any chance did your &#8220;Sterile&#8221; test environment use the same account name and password on local and remote machines? This is one way to trick security contexts expecially where the two machine are not in the same AD domain or not even in same forest context.</p>
<p>Permanent drive mapping isn&#8217;t really going to work since the CMD environment is temporary and is destroyed when it is exited. The mapping of drives as a first step within the batch files is the way to go &#8212; if using UNCs is too complex or impractical.</p>
<p>Plus for permissions you need to figure out what local account is executing your CMD environment on the remote machine. This similar to how if a batch file is invoked as a scheduled task from the account running the task scheduler service. Any CMD environment invoked remotely without local logon service will inherit the drive mapping etc from the SYSTEM account (XP might be different than 2000). There are, as mentioned by previous posts, parameters that can pass along a particular security account context.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tylerdurden</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/runrmtcmd-on-winxp/#comment-38059</link>
		<dc:creator>tylerdurden</dc:creator>
		<pubDate>Thu, 03 Aug 2006 14:16:51 +0000</pubDate>
		<guid isPermaLink="false">#comment-38059</guid>
		<description><![CDATA[Thanks all, especially pcatlin who twigged me to one of the problems.  It turns out there are several things going on here.  In my &quot;sterile&quot; test environment, using the ip address of the server and the share name instead of the UNC name was what fixed the problem.  

At my live site, the exact same solution still gives &quot;System error 1312.  A specified logon session does not exist.  It may already have been terminated&quot;.

Again, I&#039;m suspecting Windows domain or permission issues and am having a closer look at the rest of the network.

]]></description>
		<content:encoded><![CDATA[<p>Thanks all, especially pcatlin who twigged me to one of the problems.  It turns out there are several things going on here.  In my &#8220;sterile&#8221; test environment, using the ip address of the server and the share name instead of the UNC name was what fixed the problem.  </p>
<p>At my live site, the exact same solution still gives &#8220;System error 1312.  A specified logon session does not exist.  It may already have been terminated&#8221;.</p>
<p>Again, I&#8217;m suspecting Windows domain or permission issues and am having a closer look at the rest of the network.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tylerdurden</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/runrmtcmd-on-winxp/#comment-38060</link>
		<dc:creator>tylerdurden</dc:creator>
		<pubDate>Thu, 03 Aug 2006 14:16:51 +0000</pubDate>
		<guid isPermaLink="false">#comment-38060</guid>
		<description><![CDATA[Thanks all, especially pcatlin who twigged me to one of the problems.  It turns out there are several things going on here.  In my &quot;sterile&quot; test environment, using the ip address of the server and the share name instead of the UNC name was what fixed the problem.  

At my live site, the exact same solution still gives &quot;System error 1312.  A specified logon session does not exist.  It may already have been terminated&quot;.

Again, I&#039;m suspecting Windows domain or permission issues and am having a closer look at the rest of the network.

]]></description>
		<content:encoded><![CDATA[<p>Thanks all, especially pcatlin who twigged me to one of the problems.  It turns out there are several things going on here.  In my &#8220;sterile&#8221; test environment, using the ip address of the server and the share name instead of the UNC name was what fixed the problem.  </p>
<p>At my live site, the exact same solution still gives &#8220;System error 1312.  A specified logon session does not exist.  It may already have been terminated&#8221;.</p>
<p>Again, I&#8217;m suspecting Windows domain or permission issues and am having a closer look at the rest of the network.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: marcola</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/runrmtcmd-on-winxp/#comment-38061</link>
		<dc:creator>marcola</dc:creator>
		<pubDate>Thu, 03 Aug 2006 09:28:24 +0000</pubDate>
		<guid isPermaLink="false">#comment-38061</guid>
		<description><![CDATA[You may also do the following as long as the user has access rights to the share.

To map the drive do:

net use x: computernamesharename

To map the drive permanently do:

net use x: computernamesharename /persistant

To delete the drive mapping do:

net use x: /delete


Once the drive is mapped you can treat it as any other drive.]]></description>
		<content:encoded><![CDATA[<p>You may also do the following as long as the user has access rights to the share.</p>
<p>To map the drive do:</p>
<p>net use x: computernamesharename</p>
<p>To map the drive permanently do:</p>
<p>net use x: computernamesharename /persistant</p>
<p>To delete the drive mapping do:</p>
<p>net use x: /delete</p>
<p>Once the drive is mapped you can treat it as any other drive.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pdmeat</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/runrmtcmd-on-winxp/#comment-38062</link>
		<dc:creator>pdmeat</dc:creator>
		<pubDate>Thu, 03 Aug 2006 09:10:23 +0000</pubDate>
		<guid isPermaLink="false">#comment-38062</guid>
		<description><![CDATA[The security context is local only (like signing on to the PC as a local user with no domain credentials).

If you did a net use q: domainnameusername and punch in a password, that will work.

I&#039;m not familiar with runrmtcmd but if it has an option to connect with domain security credentials, you need to use that. Most other programs like this work the same way.

You may want to look at rclient/rconsvc from the MS resource kits. That runs as a service on the target host and when you connect to it I beleive it actually uses your connecting domain credentials by default so you wouldn&#039;t have to enter your creds each time.]]></description>
		<content:encoded><![CDATA[<p>The security context is local only (like signing on to the PC as a local user with no domain credentials).</p>
<p>If you did a net use q: domainnameusername and punch in a password, that will work.</p>
<p>I&#8217;m not familiar with runrmtcmd but if it has an option to connect with domain security credentials, you need to use that. Most other programs like this work the same way.</p>
<p>You may want to look at rclient/rconsvc from the MS resource kits. That runs as a service on the target host and when you connect to it I beleive it actually uses your connecting domain credentials by default so you wouldn&#8217;t have to enter your creds each time.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 3/10 queries in 0.036 seconds using memcached
Object Caching 379/385 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-06-20 10:51:12 -->