<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; VBS: Как скриптом отправить компьютер в сон?]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=9917&amp;type=atom" />
	<updated>2014-08-24T23:26:41Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=9917</id>
		<entry>
			<title type="html"><![CDATA[Re: VBS: Как скриптом отправить компьютер в сон?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=86099#p86099" />
			<content type="html"><![CDATA[<p><strong>Serge Yolkin</strong><br />Ч. г., я не сразу обратил внимание, что это пакет, сама прожка-то 202 Кб весит. Но предложенный мной вариант всяко удачней. <img src="//forum.script-coding.com/img/smilies/wink.png" width="15" height="15" /></p>]]></content>
			<author>
				<name><![CDATA[Flasher]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27593</uri>
			</author>
			<updated>2014-08-24T23:26:41Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=86099#p86099</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: VBS: Как скриптом отправить компьютер в сон?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=86093#p86093" />
			<content type="html"><![CDATA[<p><strong>omegastripes</strong><br />Много где раскрыта, но есть проблема:<br />SetSuspendState надо параметры передать - 0,1,0 (точнее false,true,false), но через командную строку можно передать только как строку, а строку эта функция игнорирует. А powercfg админских прав требует. Не то, чтобы проблема, но решение, всё-таки, не идеальное.</p><p><strong>Flasher</strong>, так то ж SysInternals... У Руссиновича сильно меньше не бывает.</p>]]></content>
			<author>
				<name><![CDATA[Serge Yolkin]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27503</uri>
			</author>
			<updated>2014-08-24T19:28:58Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=86093#p86093</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: VBS: Как скриптом отправить компьютер в сон?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=86074#p86074" />
			<content type="html"><![CDATA[<p><strong>Serge Yolkin</strong><br />1.6 Mb? <span class="postimg"><img src="http://smiles.kolobok.us/artists/fool/wow.gif" alt="http://smiles.kolobok.us/artists/fool/wow.gif" /></span> - <a href="http://www.jaws-users.com/programs/Utilities/shutdown2.html">32 Кб</a>.</p>]]></content>
			<author>
				<name><![CDATA[Flasher]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27593</uri>
			</author>
			<updated>2014-08-23T20:46:50Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=86074#p86074</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: VBS: Как скриптом отправить компьютер в сон?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=86073#p86073" />
			<content type="html"><![CDATA[<p>Вот <a href="http://superuser.com/questions/42124/how-can-i-put-the-computer-to-sleep-from-command-prompt-run-menu">здесь</a> достаточно широко раскрыта эта тема, можно отправить ПК в сон батником (легко реализовать запуск этих команд под WSH без сторонних программ, правда есть побочный эффект - приходится перед сном отключать режим гибернации):<br /></p><div class="codebox"><pre><code>powercfg -hibernate off
rundll32.exe powrprof.dll,SetSuspendState</code></pre></div>]]></content>
			<author>
				<name><![CDATA[omegastripes]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=29228</uri>
			</author>
			<updated>2014-08-23T20:32:37Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=86073#p86073</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: VBS: Как скриптом отправить компьютер в сон?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=86069#p86069" />
			<content type="html"><![CDATA[<p><a href="http://technet.microsoft.com/ru-ru/sysinternals/bb897541(en-us).aspx">Не?</a></p>]]></content>
			<author>
				<name><![CDATA[Serge Yolkin]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27503</uri>
			</author>
			<updated>2014-08-23T19:03:05Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=86069#p86069</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[VBS: Как скриптом отправить компьютер в сон?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=86062#p86062" />
			<content type="html"><![CDATA[<p>Как с помощью скрипта VBScript/JScript/WSH/WMI отправить Win XP/Win 7 в сон (не в гибернацию)?</p>]]></content>
			<author>
				<name><![CDATA[griha09]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27540</uri>
			</author>
			<updated>2014-08-23T13:24:59Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=86062#p86062</id>
		</entry>
</feed>
