<?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[Win Xp neu starten]]></title><description><![CDATA[<p>Habe hier nur etwas zu 2000 gefunden. Gibt es einen einfachen Befehl, um XP neu zu starten? Vorher sollte das Programm aus dem heraus XP runtergefahren werden soll, aber ordentlich beendet werden.</p>
<p>Dank und Gruß</p>
<p>Al</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/237487/win-xp-neu-starten</link><generator>RSS for Node</generator><lastBuildDate>Tue, 07 Apr 2026 12:17:15 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/237487.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 29 Mar 2009 16:31:52 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Win Xp neu starten on Sun, 29 Mar 2009 16:31:52 GMT]]></title><description><![CDATA[<p>Habe hier nur etwas zu 2000 gefunden. Gibt es einen einfachen Befehl, um XP neu zu starten? Vorher sollte das Programm aus dem heraus XP runtergefahren werden soll, aber ordentlich beendet werden.</p>
<p>Dank und Gruß</p>
<p>Al</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1687850</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1687850</guid><dc:creator><![CDATA[AlTheKingBundy]]></dc:creator><pubDate>Sun, 29 Mar 2009 16:31:52 GMT</pubDate></item><item><title><![CDATA[Reply to Win Xp neu starten on Sun, 29 Mar 2009 16:44:36 GMT]]></title><description><![CDATA[<p>Das geht mit <a href="http://msdn.microsoft.com/en-us/library/aa376868(VS.85).aspx" rel="nofollow">ExitWindowsEx()</a> und EWX_REBOOT als Argument.</p>
<p>Dein Programm kannst du danach noch ganz normal beenden lassen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1687855</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1687855</guid><dc:creator><![CDATA[JustSomeCoder]]></dc:creator><pubDate>Sun, 29 Mar 2009 16:44:36 GMT</pubDate></item><item><title><![CDATA[Reply to Win Xp neu starten on Sun, 29 Mar 2009 16:53:00 GMT]]></title><description><![CDATA[<p>Super, danke Dir <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1687861</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1687861</guid><dc:creator><![CDATA[AlTheKingBundy]]></dc:creator><pubDate>Sun, 29 Mar 2009 16:53:00 GMT</pubDate></item><item><title><![CDATA[Reply to Win Xp neu starten on Sun, 29 Mar 2009 17:05:15 GMT]]></title><description><![CDATA[<p>Unter Vista geht das nicht oder? Habs gerade mal getestet...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1687873</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1687873</guid><dc:creator><![CDATA[AlTheKingBundy]]></dc:creator><pubDate>Sun, 29 Mar 2009 17:05:15 GMT</pubDate></item><item><title><![CDATA[Reply to Win Xp neu starten on Sun, 29 Mar 2009 17:29:44 GMT]]></title><description><![CDATA[<p>Getestet hab ich's unter Vista noch nicht, aber eigentlich sollte es schon funktionieren.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1687884</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1687884</guid><dc:creator><![CDATA[JustSomeCoder]]></dc:creator><pubDate>Sun, 29 Mar 2009 17:29:44 GMT</pubDate></item><item><title><![CDATA[Reply to Win Xp neu starten on Sun, 29 Mar 2009 18:08:47 GMT]]></title><description><![CDATA[<p>AlTheKingBundy schrieb:</p>
<blockquote>
<p>Unter Vista geht das nicht oder? Habs gerade mal getestet...</p>
</blockquote>
<p>haste auch</p>
<blockquote>
<p>To shut down or restart the system, the calling process must use the AdjustTokenPrivileges function to enable the SE_SHUTDOWN_NAME privilege. For more information, see Running with Special Privileges.</p>
</blockquote>
<p>gelesen und beachtet?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1687902</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1687902</guid><dc:creator><![CDATA[volkard]]></dc:creator><pubDate>Sun, 29 Mar 2009 18:08:47 GMT</pubDate></item><item><title><![CDATA[Reply to Win Xp neu starten on Sun, 29 Mar 2009 19:35:23 GMT]]></title><description><![CDATA[<p>wie volkard bereits erwähnt hat, musst du dir als erstes die Privilegien erwerben.</p>
<p>Hier ein Beispiel</p>
<pre><code class="language-cpp">HANDLE hToken;
TOKEN_PRIVILEGES tkp;

if (OpenProcessToken(GetCurrentProcess(),TOKEN_ADJUST_PRIVILEGES|TOKEN_QUERY,&amp;hToken)){
	LookupPrivilegeValue(NULL,SE_SHUTDOWN_NAME,&amp;tkp.Privileges[0].Luid);
	tkp.PrivilegeCount=1;
	tkp.Privileges[0].Attributes=SE_PRIVILEGE_ENABLED;
	AdjustTokenPrivileges(hToken,false,&amp;tkp,0,(PTOKEN_PRIVILEGES)NULL,0);
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1687959</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1687959</guid><dc:creator><![CDATA[Deforation]]></dc:creator><pubDate>Sun, 29 Mar 2009 19:35:23 GMT</pubDate></item><item><title><![CDATA[Reply to Win Xp neu starten on Mon, 30 Mar 2009 05:43:25 GMT]]></title><description><![CDATA[<p>@ Deforation</p>
<p>Danke, das hatte ich übersehen. Wäre das Thema nicht mal was für die FAQ?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1688022</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1688022</guid><dc:creator><![CDATA[AlTheKingBundy]]></dc:creator><pubDate>Mon, 30 Mar 2009 05:43:25 GMT</pubDate></item><item><title><![CDATA[Reply to Win Xp neu starten on Mon, 30 Mar 2009 09:27:59 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>Wenn dann aber für die FAQ des WinAPI-Forums.</p>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1688084</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1688084</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Mon, 30 Mar 2009 09:27:59 GMT</pubDate></item><item><title><![CDATA[Reply to Win Xp neu starten on Mon, 30 Mar 2009 09:28:08 GMT]]></title><description><![CDATA[<p>Dieser Thread wurde von Moderator/in <a href="http://www.c-plusplus.net/forum/profile-var-mode-is-viewprofile-and-u-is-14774.html" rel="nofollow">akari</a> aus dem Forum <a href="http://www.c-plusplus.net/forum/viewforum-var-f-is-2.html" rel="nofollow">VCL (C++ Builder)</a> in das Forum <a href="http://www.c-plusplus.net/forum/viewforum-var-f-is-4.html" rel="nofollow">WinAPI</a> verschoben.</p>
<p>Im Zweifelsfall bitte auch folgende Hinweise beachten:<br />
<a href="http://www.c-plusplus.net/forum/viewtopic-var-t-is-39405.html" rel="nofollow">C/C++ Forum :: FAQ - Sonstiges :: Wohin mit meiner Frage?</a></p>
<p><em>Dieses Posting wurde automatisch erzeugt.</em></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1688086</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1688086</guid><dc:creator><![CDATA[C++ Forumbot]]></dc:creator><pubDate>Mon, 30 Mar 2009 09:28:08 GMT</pubDate></item><item><title><![CDATA[Reply to Win Xp neu starten on Mon, 30 Mar 2009 10:19:14 GMT]]></title><description><![CDATA[<p>Seit dem es NT 4.0 gibt, kann man ExitWindows(Ex) nicht mehr einfach so ausführen, das hat nichts mit XP zu tun! Seit dieser Zeit existieren auch FAQ Artikel. Man muss einfach nur mal die FAQ bemühen...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1688117</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1688117</guid><dc:creator><![CDATA[Martin Richter]]></dc:creator><pubDate>Mon, 30 Mar 2009 10:19:14 GMT</pubDate></item></channel></rss>