<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://halfgeek.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Windows</id>
	<title>Windows - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://halfgeek.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Windows"/>
	<link rel="alternate" type="text/html" href="https://halfgeek.org/wiki/index.php?title=Windows&amp;action=history"/>
	<updated>2026-05-28T12:24:58Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.0</generator>
	<entry>
		<id>https://halfgeek.org/wiki/index.php?title=Windows&amp;diff=2287&amp;oldid=prev</id>
		<title>Psmay at 00:08, 9 March 2016</title>
		<link rel="alternate" type="text/html" href="https://halfgeek.org/wiki/index.php?title=Windows&amp;diff=2287&amp;oldid=prev"/>
		<updated>2016-03-09T00:08:49Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This page relates to information about Microsoft Windows in its many hideous forms.&lt;br /&gt;
&lt;br /&gt;
==Kill a service that is stuck on &amp;quot;Starting&amp;quot;==&lt;br /&gt;
&lt;br /&gt;
If you don&amp;#039;t know the &amp;#039;&amp;#039;&amp;#039;service name&amp;#039;&amp;#039;&amp;#039; of the service, it can be found by right-clicking in the Services list and opening Properties; it&amp;#039;s the first thing in the General tab.&lt;br /&gt;
&lt;br /&gt;
Open cmd.&lt;br /&gt;
&lt;br /&gt;
Find the PID of the task being run by the service:&lt;br /&gt;
&lt;br /&gt;
  sc queryex &amp;#039;&amp;#039;SERVICENAME&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Terminate with extreme prejudice:&lt;br /&gt;
&lt;br /&gt;
  taskkill /f /pid &amp;#039;&amp;#039;PIDNUMBER&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Optionally, try starting it again:&lt;br /&gt;
&lt;br /&gt;
  net start &amp;#039;&amp;#039;SERVICENAME&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
==Artificially add WxH to the possible display resolutions==&lt;br /&gt;
&lt;br /&gt;
The following commands, run as administrator, adds 1920x1080 as the default resolution of the current display adapter. Restart may be required. Useful for serving VNC from VirtualBox.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=winbatch&amp;gt;&lt;br /&gt;
@echo off&lt;br /&gt;
REM Cribbed from https://social.msdn.microsoft.com/Forums/windowsdesktop/en-US/3bab12c3-b323-42f1-aee0-107b8ea1da64/windows-7-change-display-resolution-from-a-service?forum=windowsgeneraldevelopmentissues&lt;br /&gt;
FOR /F &amp;quot;TOKENS=2 delims={}&amp;quot; %%a in (&amp;#039;&amp;quot;REG QUERY HKLM\SYSTEM\CurrentControlSet\Control\Video /s /f VolatileSettings&amp;quot;&amp;#039;) do set VIDEOCARD=%%a&lt;br /&gt;
echo Got video card {%VIDEOCARD%}&lt;br /&gt;
echo Setting HKLM&lt;br /&gt;
REG ADD HKLM\SYSTEM\CurrentControlSet\Control\Video\{%VIDEOCARD%}\0000 /v DefaultSettings.XResolution /t REG_DWORD /d 1920 /f&lt;br /&gt;
REG ADD HKLM\SYSTEM\CurrentControlSet\Control\Video\{%VIDEOCARD%}\0000 /v DefaultSettings.YResolution /t REG_DWORD /d 1080 /f&lt;br /&gt;
echo Setting HKCC&lt;br /&gt;
REG ADD HKEY_CURRENT_CONFIG\System\CurrentControlSet\Control\VIDEO\{%VIDEOCARD%}\0000 /v DefaultSettings.XResolution /t REG_DWORD /d 1920 /f&lt;br /&gt;
REG ADD HKEY_CURRENT_CONFIG\System\CurrentControlSet\Control\VIDEO\{%VIDEOCARD%}\0000 /v DefaultSettings.YResolution /t REG_DWORD /d 1080 /f&lt;br /&gt;
echo Done&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
* [[Cygwin]], a POSIX layer on Windows that provides a cheat for unported unix apps.&lt;br /&gt;
* [[Overhaul]], a list of reminders concerning what to do with a fresh install of any OS.&lt;/div&gt;</summary>
		<author><name>Psmay</name></author>
		
	</entry>
</feed>