<?xml version="1.0"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>How-To Geek Forums Topic: Administrative command prompt from a batch file in vista</title>
<link>http://www.howtogeek.com/forum/</link>
<description>How-To Geek Forums Topic: Administrative command prompt from a batch file in vista</description>
<language>en</language>
<pubDate>Thu, 08 Jan 2009 19:52:03 +0000</pubDate>

<item>
<title>Smashpmk712 on "Administrative command prompt from a batch file in vista"</title>
<link>http://www.howtogeek.com/forum/topic/administrative-command-prompt-from-a-batch-file-in-vista#post-7750</link>
<pubDate>Fri, 18 Jan 2008 20:53:41 +0000</pubDate>
<dc:creator>Smashpmk712</dc:creator>
<guid isPermaLink="false">7750@http://www.howtogeek.com/forum/</guid>
<description>&#60;p&#62;The logged in user is a domain user and the setup folder came from when I setup the machine initially. it is a local user. I had to make the local user generic because I syspreped and used imagex to deploy the image across multiple PC's. for some reason I have to take over rights to the folder first.... stupid vista security!
&#60;/p&#62;</description>
</item>
<item>
<title>jd2066 on "Administrative command prompt from a batch file in vista"</title>
<link>http://www.howtogeek.com/forum/topic/administrative-command-prompt-from-a-batch-file-in-vista#post-7692</link>
<pubDate>Fri, 18 Jan 2008 01:09:25 +0000</pubDate>
<dc:creator>jd2066</dc:creator>
<guid isPermaLink="false">7692@http://www.howtogeek.com/forum/</guid>
<description>&#60;p&#62;Why do you need the icacls command? Running as Administrator should give enough privilege to copy the files.&#60;br /&#62;
Also where does the C:\Users\setup folder come from? That isn't a standard Vista folder.
&#60;/p&#62;</description>
</item>
<item>
<title>Smashpmk712 on "Administrative command prompt from a batch file in vista"</title>
<link>http://www.howtogeek.com/forum/topic/administrative-command-prompt-from-a-batch-file-in-vista#post-7657</link>
<pubDate>Thu, 17 Jan 2008 17:53:16 +0000</pubDate>
<dc:creator>Smashpmk712</dc:creator>
<guid isPermaLink="false">7657@http://www.howtogeek.com/forum/</guid>
<description>&#60;p&#62;no, no reason at all. The text of the working batch file is:&#60;/p&#62;
&#60;p&#62;Rem You need to run this batch file as administrator or else the icacls command will not work in vista&#60;br /&#62;
icacls c:\users\setup\appdata\roaming\microsoft\templates /grant everyone:(F)&#60;br /&#62;
xcopy c:\users\%username%\appdata\roaming\microsoft\templates\wfx*.* c:\users\setup\appdata\roaming\microsoft\templates&#60;/p&#62;
&#60;p&#62;Do you have any suggestions?
&#60;/p&#62;</description>
</item>
<item>
<title>Lighthouse on "Administrative command prompt from a batch file in vista"</title>
<link>http://www.howtogeek.com/forum/topic/administrative-command-prompt-from-a-batch-file-in-vista#post-7656</link>
<pubDate>Thu, 17 Jan 2008 17:47:38 +0000</pubDate>
<dc:creator>Lighthouse</dc:creator>
<guid isPermaLink="false">7656@http://www.howtogeek.com/forum/</guid>
<description>&#60;p&#62;No, within the batch file, is there a reason you would need a command prompt (ie to input filename, address, date, disk or whatever)?
&#60;/p&#62;</description>
</item>
<item>
<title>Smashpmk712 on "Administrative command prompt from a batch file in vista"</title>
<link>http://www.howtogeek.com/forum/topic/administrative-command-prompt-from-a-batch-file-in-vista#post-7654</link>
<pubDate>Thu, 17 Jan 2008 17:38:58 +0000</pubDate>
<dc:creator>Smashpmk712</dc:creator>
<guid isPermaLink="false">7654@http://www.howtogeek.com/forum/</guid>
<description>&#60;p&#62;I don't really understand the question. But generaly none of my users ever go to the cmd prompt.
&#60;/p&#62;</description>
</item>
<item>
<title>Lighthouse on "Administrative command prompt from a batch file in vista"</title>
<link>http://www.howtogeek.com/forum/topic/administrative-command-prompt-from-a-batch-file-in-vista#post-7653</link>
<pubDate>Thu, 17 Jan 2008 17:31:54 +0000</pubDate>
<dc:creator>Lighthouse</dc:creator>
<guid isPermaLink="false">7653@http://www.howtogeek.com/forum/</guid>
<description>&#60;p&#62;Do you need cmd for user input purposes?
&#60;/p&#62;</description>
</item>
<item>
<title>Smashpmk712 on "Administrative command prompt from a batch file in vista"</title>
<link>http://www.howtogeek.com/forum/topic/administrative-command-prompt-from-a-batch-file-in-vista#post-7652</link>
<pubDate>Thu, 17 Jan 2008 17:22:49 +0000</pubDate>
<dc:creator>Smashpmk712</dc:creator>
<guid isPermaLink="false">7652@http://www.howtogeek.com/forum/</guid>
<description>&#60;p&#62;Okay,&#60;br /&#62;
I have resolved the issue. It was my script. I had a few errors in it.... What a suprise! Thank you all for helped with this issue.
&#60;/p&#62;</description>
</item>
<item>
<title>Smashpmk712 on "Administrative command prompt from a batch file in vista"</title>
<link>http://www.howtogeek.com/forum/topic/administrative-command-prompt-from-a-batch-file-in-vista#post-7651</link>
<pubDate>Thu, 17 Jan 2008 17:11:38 +0000</pubDate>
<dc:creator>Smashpmk712</dc:creator>
<guid isPermaLink="false">7651@http://www.howtogeek.com/forum/</guid>
<description>&#60;p&#62;Okay,&#60;br /&#62;
So I was not paying attention properly. When I run the batch file as administrator it goes to the Administrator command prompt. Now my issue is that the command is showing in the command prompt window above the &#34;microsoft windows version .....&#34;. does this mean that the command is being run before the command prompt is all the way started? I think this is why I thought the batch file was not working.&#60;br /&#62;
Thank you for all your help you guys.&#60;br /&#62;
Dan
&#60;/p&#62;</description>
</item>
<item>
<title>Lighthouse on "Administrative command prompt from a batch file in vista"</title>
<link>http://www.howtogeek.com/forum/topic/administrative-command-prompt-from-a-batch-file-in-vista#post-7643</link>
<pubDate>Thu, 17 Jan 2008 15:25:53 +0000</pubDate>
<dc:creator>Lighthouse</dc:creator>
<guid isPermaLink="false">7643@http://www.howtogeek.com/forum/</guid>
<description>&#60;p&#62;I ran the cacls command, and MS said the command is now deprecated and to use Icacls instead. This seems to be able to be run with priviledges
&#60;/p&#62;</description>
</item>
<item>
<title>whs on "Administrative command prompt from a batch file in vista"</title>
<link>http://www.howtogeek.com/forum/topic/administrative-command-prompt-from-a-batch-file-in-vista#post-7642</link>
<pubDate>Thu, 17 Jan 2008 15:00:54 +0000</pubDate>
<dc:creator>whs</dc:creator>
<guid isPermaLink="false">7642@http://www.howtogeek.com/forum/</guid>
<description>&#60;p&#62;Here is the answer from my &#34;Australian connection&#34;: I myself cannot add much logic:&#60;br /&#62;
If you cannot change the privilege of current console to āadministrativeā? using commands, it cannot be achieved.
&#60;/p&#62;</description>
</item>
<item>
<title>jd2066 on "Administrative command prompt from a batch file in vista"</title>
<link>http://www.howtogeek.com/forum/topic/administrative-command-prompt-from-a-batch-file-in-vista#post-7613</link>
<pubDate>Thu, 17 Jan 2008 01:20:38 +0000</pubDate>
<dc:creator>jd2066</dc:creator>
<guid isPermaLink="false">7613@http://www.howtogeek.com/forum/</guid>
<description>&#60;p&#62;I mean when you &#34;right click on the batch file and select run as Administrator&#34; do you get a prompt to elevate?&#60;br /&#62;
Also having cmd.exe always run as Administrator would be a security risk as then any process could just the command &#34;cmd.exe badstuff.bat&#34; and it would run elevated.
&#60;/p&#62;</description>
</item>
<item>
<title>Smashpmk712 on "Administrative command prompt from a batch file in vista"</title>
<link>http://www.howtogeek.com/forum/topic/administrative-command-prompt-from-a-batch-file-in-vista#post-7611</link>
<pubDate>Thu, 17 Jan 2008 01:09:30 +0000</pubDate>
<dc:creator>Smashpmk712</dc:creator>
<guid isPermaLink="false">7611@http://www.howtogeek.com/forum/</guid>
<description>&#60;p&#62;When I go to the properties for cmd.exe I have to elevate. I believe that since it is a system file I cannot set the &#34;always run as administrator&#34;. I think tha M$ thought that would be a security risk.
&#60;/p&#62;</description>
</item>
<item>
<title>jd2066 on "Administrative command prompt from a batch file in vista"</title>
<link>http://www.howtogeek.com/forum/topic/administrative-command-prompt-from-a-batch-file-in-vista#post-7609</link>
<pubDate>Thu, 17 Jan 2008 01:04:15 +0000</pubDate>
<dc:creator>jd2066</dc:creator>
<guid isPermaLink="false">7609@http://www.howtogeek.com/forum/</guid>
<description>&#60;p&#62;When you do that do you get a prompt to elevate?
&#60;/p&#62;</description>
</item>
<item>
<title>Smashpmk712 on "Administrative command prompt from a batch file in vista"</title>
<link>http://www.howtogeek.com/forum/topic/administrative-command-prompt-from-a-batch-file-in-vista#post-7607</link>
<pubDate>Thu, 17 Jan 2008 00:54:46 +0000</pubDate>
<dc:creator>Smashpmk712</dc:creator>
<guid isPermaLink="false">7607@http://www.howtogeek.com/forum/</guid>
<description>&#60;p&#62;I have tried this but for some reason it does not run the command prompt as admin. If I could set cmd.exe to &#34;always run as administrator&#34; I think it would work but the option is greyed out in properties -&#38;gt; advanced.
&#60;/p&#62;</description>
</item>
<item>
<title>jd2066 on "Administrative command prompt from a batch file in vista"</title>
<link>http://www.howtogeek.com/forum/topic/administrative-command-prompt-from-a-batch-file-in-vista#post-7606</link>
<pubDate>Thu, 17 Jan 2008 00:50:35 +0000</pubDate>
<dc:creator>jd2066</dc:creator>
<guid isPermaLink="false">7606@http://www.howtogeek.com/forum/</guid>
<description>&#60;p&#62;You could just right click on the batch file and select run as Administrator.
&#60;/p&#62;</description>
</item>
<item>
<title>Smashpmk712 on "Administrative command prompt from a batch file in vista"</title>
<link>http://www.howtogeek.com/forum/topic/administrative-command-prompt-from-a-batch-file-in-vista#post-7602</link>
<pubDate>Thu, 17 Jan 2008 00:16:40 +0000</pubDate>
<dc:creator>Smashpmk712</dc:creator>
<guid isPermaLink="false">7602@http://www.howtogeek.com/forum/</guid>
<description>&#60;p&#62;Lighthouse, &#60;/p&#62;
&#60;p&#62;Let me clarify, I know how to create a batch file the problem is I want to run the cacls command in the batch to take permission of a file before the xcopy command that I really want to run. In order to do this I need to have the command prompt running the cacls command be in the administrative mode. By default it opens in the locked down mode in vista.&#60;/p&#62;
&#60;p&#62;Dan
&#60;/p&#62;</description>
</item>
<item>
<title>Lighthouse on "Administrative command prompt from a batch file in vista"</title>
<link>http://www.howtogeek.com/forum/topic/administrative-command-prompt-from-a-batch-file-in-vista#post-7600</link>
<pubDate>Wed, 16 Jan 2008 23:25:05 +0000</pubDate>
<dc:creator>Lighthouse</dc:creator>
<guid isPermaLink="false">7600@http://www.howtogeek.com/forum/</guid>
<description>&#60;p&#62;Does this give you an idea?&#60;br /&#62;
&#60;a href='http://www.pcstats.com/articleview.cfm?articleid=1767&#38;#38;page=2' rel=&#34;nofollow&#34;&#62;http://www.pcstats.com/articleview.cfm?articleid=1767&#38;#38;page=2&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>whs on "Administrative command prompt from a batch file in vista"</title>
<link>http://www.howtogeek.com/forum/topic/administrative-command-prompt-from-a-batch-file-in-vista#post-7599</link>
<pubDate>Wed, 16 Jan 2008 22:37:50 +0000</pubDate>
<dc:creator>whs</dc:creator>
<guid isPermaLink="false">7599@http://www.howtogeek.com/forum/</guid>
<description>&#60;p&#62;I am trying to get an answer from someone in Australia who should know. But they just came into work. So bear with me.
&#60;/p&#62;</description>
</item>
<item>
<title>Smashpmk712 on "Administrative command prompt from a batch file in vista"</title>
<link>http://www.howtogeek.com/forum/topic/administrative-command-prompt-from-a-batch-file-in-vista#post-7585</link>
<pubDate>Wed, 16 Jan 2008 18:33:34 +0000</pubDate>
<dc:creator>Smashpmk712</dc:creator>
<guid isPermaLink="false">7585@http://www.howtogeek.com/forum/</guid>
<description>&#60;p&#62;Hi,&#60;br /&#62;
I am trying to create a batch file for vista that uses some commands that need to be ran from the &#34;administrative&#34; command prompt. Does anyone know how to do this?&#60;/p&#62;
&#60;p&#62;Thanks&#60;br /&#62;
Dan
&#60;/p&#62;</description>
</item>

</channel>
</rss>
