<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[ahcmd.exe problem]]></title><description><![CDATA[<p dir="auto">This isn't a Triggercmd problem, but I'm hoping you'll indulge me because I see there are a number of ahcmd users here and I'm having a problem with it.  Specifically, it works for a while after I reboot the Windows 10 server I'm running it on.  Then it stops working.  The only way I've found to get it to work again is to reboot the computer.  I've looked for any unusual tasks, but haven't found any.  I've tried running it in various compatibility modes.  Nothing.</p>
<p dir="auto">Instead of flashing the DOS window quickly and finishing, the DOS window comes up, stays up and hangs on the ahcmd command.  I can ctrl-C out of there, but same thing time after time until a reboot.</p>
<p dir="auto">Without a fix for this, my hope of voice control for my old x10 stuff is fading.  When it works, it's great, including with Triggercmd.</p>
<p dir="auto">If anyone has any suggestions, I'd appreciate hearing them.</p>
]]></description><link>https://www.triggercmd.com/forum/topic/2123/ahcmd-exe-problem</link><generator>RSS for Node</generator><lastBuildDate>Fri, 10 Jul 2026 16:59:35 GMT</lastBuildDate><atom:link href="https://www.triggercmd.com/forum/topic/2123.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 23 Apr 2022 22:42:37 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to ahcmd.exe problem on Sun, 01 May 2022 18:02:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/14994">@newstuffoldstuff</a>, I see.  If you want to avoid reducing your User Access Control setting, you could try installing the background service and running it as a background command.  It will run as Local System.</p>
]]></description><link>https://www.triggercmd.com/forum/post/5795</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/5795</guid><dc:creator><![CDATA[Russ]]></dc:creator><pubDate>Sun, 01 May 2022 18:02:12 GMT</pubDate></item><item><title><![CDATA[Reply to ahcmd.exe problem on Sun, 01 May 2022 16:53:15 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/1">@russ</a> Had to create a shortcut, then give it elevated status and run the .lnk file from Triggercmd. Unfortunately also had to set user account control to its lowest level to avoid the prompt, “do you want to allow this program to make changes to your computer.”</p>
]]></description><link>https://www.triggercmd.com/forum/post/5794</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/5794</guid><dc:creator><![CDATA[newstuffoldstuff]]></dc:creator><pubDate>Sun, 01 May 2022 16:53:15 GMT</pubDate></item><item><title><![CDATA[Reply to ahcmd.exe problem on Sun, 01 May 2022 12:52:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/14994">@newstuffoldstuff</a>, nice job finding a workaround.  I'm curious, how did you give your batch file elevated status?</p>
]]></description><link>https://www.triggercmd.com/forum/post/5793</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/5793</guid><dc:creator><![CDATA[Russ]]></dc:creator><pubDate>Sun, 01 May 2022 12:52:26 GMT</pubDate></item><item><title><![CDATA[Reply to ahcmd.exe problem on Sat, 30 Apr 2022 23:08:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/13362">@tuicemen</a> For anyone still interested, the problem was the x10nets.exe service hanging at random.  I never did find a version of x10nets.exe that didn't, so my convoluted workaround is to include a taskkill command at the beginning of each batch file that kills the service.  It automatically restarts with a new process ID upon receiving the next command from the dll.  This has a number of drawbacks, including requiring elevated status for the batch file and slowing the entire process slightly.  Oh well.  It works for now.</p>
]]></description><link>https://www.triggercmd.com/forum/post/5792</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/5792</guid><dc:creator><![CDATA[newstuffoldstuff]]></dc:creator><pubDate>Sat, 30 Apr 2022 23:08:19 GMT</pubDate></item><item><title><![CDATA[Reply to ahcmd.exe problem on Tue, 26 Apr 2022 01:12:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/14994">@newstuffoldstuff</a> As I look at the installer more closely, the version of ActiveHome Pro I installed WAS 318, but apparently the x10net.dll that came with that version was 313.  So I seem to be as up to date as I can get.  There's not much else running on the machine where x10net.dll hangs, so I wonder whether it would be worth trying different compatibility modes again.</p>
]]></description><link>https://www.triggercmd.com/forum/post/5774</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/5774</guid><dc:creator><![CDATA[newstuffoldstuff]]></dc:creator><pubDate>Tue, 26 Apr 2022 01:12:27 GMT</pubDate></item><item><title><![CDATA[Reply to ahcmd.exe problem on Tue, 26 Apr 2022 00:47:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/13362">@tuicemen</a> Didn't take long.  This one hangs too.  It's strange because it will be working and then a couple of hours later, after nothing else has taken place on the server, it's not working.</p>
]]></description><link>https://www.triggercmd.com/forum/post/5773</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/5773</guid><dc:creator><![CDATA[newstuffoldstuff]]></dc:creator><pubDate>Tue, 26 Apr 2022 00:47:17 GMT</pubDate></item><item><title><![CDATA[Reply to ahcmd.exe problem on Mon, 25 Apr 2022 21:49:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/13362">@tuicemen</a> If you happen to come across a place to download it, I'll try it.  Thanks.</p>
]]></description><link>https://www.triggercmd.com/forum/post/5772</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/5772</guid><dc:creator><![CDATA[newstuffoldstuff]]></dc:creator><pubDate>Mon, 25 Apr 2022 21:49:08 GMT</pubDate></item><item><title><![CDATA[Reply to ahcmd.exe problem on Mon, 25 Apr 2022 21:46:44 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/14994">@newstuffoldstuff</a> that may fix things but I thought latest build was 318</p>
]]></description><link>https://www.triggercmd.com/forum/post/5771</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/5771</guid><dc:creator><![CDATA[tuicemen]]></dc:creator><pubDate>Mon, 25 Apr 2022 21:46:44 GMT</pubDate></item><item><title><![CDATA[Reply to ahcmd.exe problem on Mon, 25 Apr 2022 20:34:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/13362">@tuicemen</a> Ok...found ActiveHome Pro installer and am now running v3.0.0.313 of x10net.dll.  We'll see how that goes.</p>
]]></description><link>https://www.triggercmd.com/forum/post/5769</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/5769</guid><dc:creator><![CDATA[newstuffoldstuff]]></dc:creator><pubDate>Mon, 25 Apr 2022 20:34:19 GMT</pubDate></item><item><title><![CDATA[Reply to ahcmd.exe problem on Mon, 25 Apr 2022 19:57:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/13362">@tuicemen</a> I've been doing that.  I got it from the SDK installer, but it's clearly the earliest version.  Have been looking for a newer one.  Lots of dead links out there.  I'll keep looking.</p>
]]></description><link>https://www.triggercmd.com/forum/post/5768</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/5768</guid><dc:creator><![CDATA[newstuffoldstuff]]></dc:creator><pubDate>Mon, 25 Apr 2022 19:57:27 GMT</pubDate></item><item><title><![CDATA[Reply to ahcmd.exe problem on Mon, 25 Apr 2022 19:20:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/14994">@newstuffoldstuff</a> I do remember reports of x10nets hanging being reported on the x10 forum but I thought that was fixed. How did you get the files? An ActiveHome Pro install, SDK install, or third party? I'm wondering if you have an old version of the X10nets file.<br />
You might try a search on the X10 forum for the x10nets stopping.</p>
]]></description><link>https://www.triggercmd.com/forum/post/5767</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/5767</guid><dc:creator><![CDATA[tuicemen]]></dc:creator><pubDate>Mon, 25 Apr 2022 19:20:12 GMT</pubDate></item><item><title><![CDATA[Reply to ahcmd.exe problem on Mon, 25 Apr 2022 18:19:32 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/13362">@tuicemen</a> Well, damn.  Same behavior with the dll as with the exe.  Works for a while and then doesn't.  The x10nets service hangs and can't be restarted, disabled or anything else.  Only remedy is to reboot.  Now I'm stuck again.</p>
]]></description><link>https://www.triggercmd.com/forum/post/5766</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/5766</guid><dc:creator><![CDATA[newstuffoldstuff]]></dc:creator><pubDate>Mon, 25 Apr 2022 18:19:32 GMT</pubDate></item><item><title><![CDATA[Reply to ahcmd.exe problem on Mon, 25 Apr 2022 14:16:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/13362">@tuicemen</a> You read my mind. Clunky is ok for starters, but it’s not elegant enough.</p>
]]></description><link>https://www.triggercmd.com/forum/post/5764</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/5764</guid><dc:creator><![CDATA[newstuffoldstuff]]></dc:creator><pubDate>Mon, 25 Apr 2022 14:16:20 GMT</pubDate></item><item><title><![CDATA[Reply to ahcmd.exe problem on Mon, 25 Apr 2022 11:29:15 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/14994">@newstuffoldstuff</a> glad to see you have it working. Now that you've figured out how to run the dll. You might want to experiment creating a simple command line program to simplify things.</p>
]]></description><link>https://www.triggercmd.com/forum/post/5763</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/5763</guid><dc:creator><![CDATA[tuicemen]]></dc:creator><pubDate>Mon, 25 Apr 2022 11:29:15 GMT</pubDate></item><item><title><![CDATA[Reply to ahcmd.exe problem on Mon, 25 Apr 2022 04:31:43 GMT]]></title><description><![CDATA[<p dir="auto">Thanks, guys, for your indulgence.  I now have a batch file running that can run either IE or Edge and will execute the Javascript code using ahscript.dll and then kill the browser task.  It seems clunky, but it works.  Hopefully it will continue working for longer than the simpler ahcmd.exe.  Time will tell.  I appreciate your help.</p>
]]></description><link>https://www.triggercmd.com/forum/post/5762</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/5762</guid><dc:creator><![CDATA[newstuffoldstuff]]></dc:creator><pubDate>Mon, 25 Apr 2022 04:31:43 GMT</pubDate></item><item><title><![CDATA[Reply to ahcmd.exe problem on Mon, 25 Apr 2022 02:47:46 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/13362">@tuicemen</a> Ok...some progress.  Got the Javascript to work using ahscript.dll, but only in Internet Explorer.  Now the question is how to get it to execute that way in a bat file.  (Is there a command line version of "Open with"?</p>
]]></description><link>https://www.triggercmd.com/forum/post/5761</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/5761</guid><dc:creator><![CDATA[newstuffoldstuff]]></dc:creator><pubDate>Mon, 25 Apr 2022 02:47:46 GMT</pubDate></item><item><title><![CDATA[Reply to ahcmd.exe problem on Sun, 24 Apr 2022 23:13:28 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/13362">@tuicemen</a> I've tried creating an ActiveX object as shown in the Javascript examples, but nothing happens when I try to execute it.  I suspect the object creation fails.  I've read some posts saying the .dll won't work on 64-bit Windows 10, so maybe that's the problem.  I read elsewhere that someone got a command to execute once, but then had to restart the x10nets service.  When my system fails next (which it certainly will within the next few hours), I'll have to see whether restarting that service brings it back (rather than rebooting).  In anticipation of that, I tried adding a line in my batch file to stop the service after the x10 command, but that didn't work because it requires admin privilege.  Thwarted at every turn!  <img src="https://www.triggercmd.com/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=6sa9akdcpc2" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
]]></description><link>https://www.triggercmd.com/forum/post/5760</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/5760</guid><dc:creator><![CDATA[newstuffoldstuff]]></dc:creator><pubDate>Sun, 24 Apr 2022 23:13:28 GMT</pubDate></item><item><title><![CDATA[Reply to ahcmd.exe problem on Sun, 24 Apr 2022 20:19:59 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/14994">@newstuffoldstuff</a>  you might find some info here to help if you plan to create something with the dll <a href="https://forums.x10.com/index.php?board=15.0" rel="nofollow ugc">https://forums.x10.com/index.php?board=15.0</a></p>
]]></description><link>https://www.triggercmd.com/forum/post/5759</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/5759</guid><dc:creator><![CDATA[tuicemen]]></dc:creator><pubDate>Sun, 24 Apr 2022 20:19:59 GMT</pubDate></item><item><title><![CDATA[Reply to ahcmd.exe problem on Sun, 24 Apr 2022 20:13:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/14994">@newstuffoldstuff</a> there is some documentation in the SDK but it is limited to only a few programing languages  C# , VB and VB script if I remember correctly. It also has a few sample programs along with AHCMD.<br />
I used Visual Studio VB for most of my programs but did some in C#. I played a bit with java but never got it working with that.</p>
]]></description><link>https://www.triggercmd.com/forum/post/5758</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/5758</guid><dc:creator><![CDATA[tuicemen]]></dc:creator><pubDate>Sun, 24 Apr 2022 20:13:41 GMT</pubDate></item><item><title><![CDATA[Reply to ahcmd.exe problem on Sun, 24 Apr 2022 18:33:43 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/1">@russ</a> Thanks.  I tried the start option before settling on my current bat file.  It didn't work at all.  I've read, too, that ahcmd was never meant for production, but that still wouldn't explain why it works sometimes but not others.  My needs are simple, but obviously, not a lot of current work is taking place on integrations with legacy x10 products.</p>
]]></description><link>https://www.triggercmd.com/forum/post/5757</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/5757</guid><dc:creator><![CDATA[newstuffoldstuff]]></dc:creator><pubDate>Sun, 24 Apr 2022 18:33:43 GMT</pubDate></item><item><title><![CDATA[Reply to ahcmd.exe problem on Sun, 24 Apr 2022 18:30:59 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/13362">@tuicemen</a> Thank you!  That's the kind of experience I'm looking for.  Do you know of any documentation for the dll?  I've been looking, but the examples I've found haven't been very transparent.  Meanwhile, I'll try moving the program out of the Program Files (x86) folder.</p>
]]></description><link>https://www.triggercmd.com/forum/post/5756</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/5756</guid><dc:creator><![CDATA[newstuffoldstuff]]></dc:creator><pubDate>Sun, 24 Apr 2022 18:30:59 GMT</pubDate></item><item><title><![CDATA[Reply to ahcmd.exe problem on Sun, 24 Apr 2022 15:09:13 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/14994">@newstuffoldstuff</a>, the AHCMD.exe was first introduced with the AHPSDK then included with ActiveHome Pro when it was updated to work with all X10 computer models. It was never designed to be a consistantly used software but a testing tool. Unfortunately many used it to create third party X10 software instead of using the dll file included in the SDK.<br />
Windows 10 also created issues with it due to the security features introduce for programs located in the Program Files folder and its sub folders.<br />
When I controled X10 from Windows I found moving the ActiveHome Pro folder to outside of the Programs Files folder helped with unreliability. You might try that. A mother option might be to look at HomeGenie which runs on many different platforms and uses its own  x10 drivers. You'd need to install the Cm17 plugin unless you had a different X10 controller which are supported with an initial install.<br />
I created several windows third party X10 capable softwares using the SDK dll a few accepted comandline parameter calls. I'll see if I can locate one however I never tested with the cm17 that I recall.</p>
]]></description><link>https://www.triggercmd.com/forum/post/5755</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/5755</guid><dc:creator><![CDATA[tuicemen]]></dc:creator><pubDate>Sun, 24 Apr 2022 15:09:13 GMT</pubDate></item><item><title><![CDATA[Reply to ahcmd.exe problem on Sun, 24 Apr 2022 12:08:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://www.triggercmd.com/forum/uid/14994">@newstuffoldstuff</a>, sorry, I confused ahcmd.exe with autohotkey.</p>
<p dir="auto">You could try prefixing ahcmd.exe with <strong>start</strong>.  I don't have much confidence in that but it's something I'd try.</p>
<p dir="auto"><strong>Edit</strong>: I read here that ahcmd exe is known to lock up.  <a href="https://forums.x10.com/index.php?topic=30994.0" rel="nofollow ugc">https://forums.x10.com/index.php?topic=30994.0</a></p>
<p dir="auto">I wonder if that's what you're running into.  If so I wonder why.  I'll do some googling.</p>
]]></description><link>https://www.triggercmd.com/forum/post/5753</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/5753</guid><dc:creator><![CDATA[Russ]]></dc:creator><pubDate>Sun, 24 Apr 2022 12:08:05 GMT</pubDate></item></channel></rss>