<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to 4: Windows LocalMachine script problem</title><link href="https://sourceforge.net/p/rubyscript2exe/bugs/4/" rel="alternate"/><link href="https://sourceforge.net/p/rubyscript2exe/bugs/4/feed.atom" rel="self"/><id>https://sourceforge.net/p/rubyscript2exe/bugs/4/</id><updated>2008-03-05T16:53:31Z</updated><subtitle>Recent changes to 4: Windows LocalMachine script problem</subtitle><entry><title>Windows LocalMachine script problem</title><link href="https://sourceforge.net/p/rubyscript2exe/bugs/4/" rel="alternate"/><published>2008-03-05T16:53:31Z</published><updated>2008-03-05T16:53:31Z</updated><author><name>Murmansk Manny</name><uri>https://sourceforge.net/u/murmansk314/</uri></author><id>https://sourceforge.netcbb8a2ada5c537f47f0c5cbd717ddbc09e650169</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;We are using ruby for administrative tasks in our Windows Active Directory machines.&lt;/p&gt;
&lt;p&gt;We don´t want to do a ruby complete installation.. so Rubyscript2exe was our solution. We have some ruby home-made utilities deployed to our machines, without problems, but I think we have found an error executing a compiled script:&lt;/p&gt;
&lt;p&gt;- our machines are connected to Active Directory, and we use Group Policies to launch an vbs script when the machine starts (Local Machine policy).&lt;/p&gt;
&lt;p&gt;- the vbs script launchs an rubyexe script made with rubyscript2exe, but the script doesn´t run&lt;/p&gt;
&lt;p&gt;While testing, the script code has ended just in: &lt;/p&gt;
&lt;p&gt;sleep 10&lt;/p&gt;
&lt;p&gt;in the vbs script log, we can see that the rubyexe script is launched, but returns at the next second.&lt;/p&gt;
&lt;p&gt;The script runs without problems when you launch it as a user. Even when you do it from another computer, using psexec and the SYSTEM account. But never when you do it from the local machine script.&lt;/p&gt;
&lt;p&gt;I have verified permissions, length of "#{eeedir}\\eee.#{application}.exe.2\\eee.gz", redirected output of scripts to files...&lt;/p&gt;
&lt;p&gt;The folder "#{eeedir}\\eee.#{application}.exe.X" is created, but the script doesn´t starts, and the folder is not deleted. When you restart, it creates another folder, with a different number.&lt;/p&gt;
&lt;p&gt;Folders are created under "Document and Settings\Default User\eee", which is the correct place, as the system account doesn´t has an assigned profile.&lt;/p&gt;
&lt;p&gt;I know is a strange error, and probably difficult to resolve. If you need more information, or want me to do any test, mail me.&lt;/p&gt;
&lt;p&gt;By the way, thank you for this program. I love programming ruby, and I couldn´t use at work if rubyscript2exe hasn´t been born.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>