<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Windows - TheCodeBuzz</title>
	<atom:link href="https://thecodebuzz.com/category/windows/feed/" rel="self" type="application/rss+xml" />
	<link>https://thecodebuzz.com</link>
	<description>Best Practices for Software Development</description>
	<lastBuildDate>Sun, 11 Feb 2024 04:06:53 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://thecodebuzz.com/wp-content/uploads/2022/11/cropped-android-chrome-512x512-1-1-51x51.jpg</url>
	<title>Windows - TheCodeBuzz</title>
	<link>https://thecodebuzz.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Use Telnet in Windows &#8211; Guidelines</title>
		<link>https://thecodebuzz.com/how-to-use-telnet-in-windows-linux-unix-guidelines/</link>
					<comments>https://thecodebuzz.com/how-to-use-telnet-in-windows-linux-unix-guidelines/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Thu, 16 Sep 2021 01:57:22 +0000</pubDate>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[enable telnet windows 10]]></category>
		<category><![CDATA[how to use telnet in windows 10]]></category>
		<category><![CDATA[telnet alternative windows]]></category>
		<category><![CDATA[telnet command windows]]></category>
		<category><![CDATA[telnet commands]]></category>
		<category><![CDATA[Telnet in Windows configure]]></category>
		<category><![CDATA[telnet is not recognized]]></category>
		<category><![CDATA[telnet port]]></category>
		<category><![CDATA[telnet windows 11]]></category>
		<guid isPermaLink="false">https://www.thecodebuzz.com/?p=18365</guid>

					<description><![CDATA[<p>Use Telnet in Windows &#8211; Guidelines Today in this article, we shall cover the basics of telnet including how to use Telnet in Windows. Today in this article, we will cover below aspects, What is Telnet? Telnet is an application protocol for bidirectional interactive text-oriented communication over the Internet or a local area network using [&#8230;]</p>
<p>The post <a href="https://thecodebuzz.com/how-to-use-telnet-in-windows-linux-unix-guidelines/">Use Telnet in Windows – Guidelines</a> first appeared on <a href="https://thecodebuzz.com">TheCodeBuzz</a>.</p>]]></description>
										<content:encoded><![CDATA[<h1 class="wp-block-heading">Use Telnet in Windows &#8211; Guidelines</h1>



<figure class="wp-block-image size-large is-resized"><img fetchpriority="high" decoding="async" src="https://www.thecodebuzz.com/wp-content/uploads/2021/09/install-telnet-on-windows-machine-1024x512.jpg" alt="Telnet in Windows" class="wp-image-18388" width="711" height="356" srcset="https://thecodebuzz.com/wp-content/uploads/2021/09/install-telnet-on-windows-machine-1024x512.jpg 1024w, https://thecodebuzz.com/wp-content/uploads/2021/09/install-telnet-on-windows-machine-300x150.jpg 300w, https://thecodebuzz.com/wp-content/uploads/2021/09/install-telnet-on-windows-machine-768x384.jpg 768w, https://thecodebuzz.com/wp-content/uploads/2021/09/install-telnet-on-windows-machine-1536x768.jpg 1536w, https://thecodebuzz.com/wp-content/uploads/2021/09/install-telnet-on-windows-machine-785x393.jpg 785w, https://thecodebuzz.com/wp-content/uploads/2021/09/install-telnet-on-windows-machine.jpg 1830w" sizes="(max-width: 711px) 100vw, 711px" /></figure>



<p>Today in this article, we shall cover the basics of telnet including how to use Telnet in Windows.</p>



<p>Today in this article, we will cover below aspects,</p>



<div class="wp-block-aioseo-table-of-contents"><ul><li><a href="#aioseo-what-is-telnet">What is Telnet?</a></li><li><a href="#aioseo-main-feature-of-telnet">Main feature of Telnet</a></li><li><a href="#aioseo-steps-to-enable-telnet-in-windows">Steps to enable Telnet in Windows</a></li><li><a href="#aioseo-telnet-commands-on-windows">Telnet commands on windows</a></li></ul></div>



<h2 class="wp-block-heading" id="aioseo-what-is-telnet">What is Telnet?</h2>



<p></p>



<p>Telnet is an application protocol for <em><strong>bidirectional interactive text-oriented communication</strong></em> over the Internet or a local area network using a <em><strong>virtual terminal connection</strong></em>. </p>



<p></p>



<h2 class="wp-block-heading" id="aioseo-main-feature-of-telnet">Main feature of Telnet</h2>



<p></p>



<ul class="wp-block-list"><li>In an 8-bit byte oriented data connection using the Transmission Control Protocol, user data is interspersed in-band with Telnet control information (<strong>TCP</strong>).</li></ul>



<ul class="wp-block-list"><li>Telnet gave users access to a remote host&#8217;s command-line interface. </li></ul>



<ul class="wp-block-list"><li>Telnet&#8217;s has some security problems when utilizing it over an open network like the Internet when it compared with <strong>SSH</strong>.</li></ul>



<ul class="wp-block-list"><li>Telnet was created in 1969 and standardized as Internet Engineering Task Force (<strong>IETF</strong>) <strong>Internet Standard STD 8</strong>, one of the early Internet standards and extended in <strong>RFC 855</strong></li></ul>



<p></p>



<p>Telnet is already available in Windows operating system and can be easily enabled by following the below-listed steps.</p>



<p></p>



<h2 class="wp-block-heading" id="aioseo-steps-to-enable-telnet-in-windows">Steps to enable Telnet in Windows</h2>



<p></p>



<ol class="wp-block-list" id="mntl-sc-block_1-0-21"><li><strong>Open Control Panel</strong> -&gt;Go to Programs and Features (<strong>WIN+R</strong>&nbsp;and then enter&nbsp;<strong>control</strong>)</li></ol>



<p>Alternatively, you can run <strong><em>appwiz.cpl </em></strong>in the windows search</p>



<p>2. Click on &#8220;<strong><em>Turn Windows features on or off</em></strong>&#8220;</p>



<p></p>



<figure class="wp-block-image size-large is-resized"><img decoding="async" src="https://www.thecodebuzz.com/wp-content/uploads/2021/09/How-to-install-telnet-on-windows-machine-1024x838.jpg" alt="Telnet in Windows" class="wp-image-18366" width="471" height="385" srcset="https://thecodebuzz.com/wp-content/uploads/2021/09/How-to-install-telnet-on-windows-machine-1024x838.jpg 1024w, https://thecodebuzz.com/wp-content/uploads/2021/09/How-to-install-telnet-on-windows-machine-300x246.jpg 300w, https://thecodebuzz.com/wp-content/uploads/2021/09/How-to-install-telnet-on-windows-machine-768x629.jpg 768w, https://thecodebuzz.com/wp-content/uploads/2021/09/How-to-install-telnet-on-windows-machine-635x520.jpg 635w, https://thecodebuzz.com/wp-content/uploads/2021/09/How-to-install-telnet-on-windows-machine.jpg 1427w" sizes="(max-width: 471px) 100vw, 471px" /></figure>



<p></p>



<p>Select the <strong>Telnet Client </strong>feature.</p>



<p></p>



<p>Once enabled click on Ok and you shall see below dialog box for successful configuration.</p>



<figure class="wp-block-image size-large is-resized"><img decoding="async" src="https://www.thecodebuzz.com/wp-content/uploads/2021/09/How-to-install-telnet-on-windows-1024x831.jpg" alt="Telnet in Windows" class="wp-image-18379" width="387" height="313" srcset="https://thecodebuzz.com/wp-content/uploads/2021/09/How-to-install-telnet-on-windows-1024x831.jpg 1024w, https://thecodebuzz.com/wp-content/uploads/2021/09/How-to-install-telnet-on-windows-300x243.jpg 300w, https://thecodebuzz.com/wp-content/uploads/2021/09/How-to-install-telnet-on-windows-768x623.jpg 768w, https://thecodebuzz.com/wp-content/uploads/2021/09/How-to-install-telnet-on-windows-641x520.jpg 641w, https://thecodebuzz.com/wp-content/uploads/2021/09/How-to-install-telnet-on-windows.jpg 1225w" sizes="(max-width: 387px) 100vw, 387px" /></figure>



<p></p>



<p>next, open the command prompt and just type telnet. </p>



<p>This will open a &#8220;Command prompt for Telnet client&#8221;.</p>



<p></p>



<figure class="wp-block-image size-large is-resized"><img loading="lazy" decoding="async" src="https://www.thecodebuzz.com/wp-content/uploads/2021/09/Use-telnet-client-on-windows-1024x288.jpg" alt="enable Telnet in Windows" class="wp-image-18367" width="635" height="178" srcset="https://thecodebuzz.com/wp-content/uploads/2021/09/Use-telnet-client-on-windows-1024x288.jpg 1024w, https://thecodebuzz.com/wp-content/uploads/2021/09/Use-telnet-client-on-windows-300x84.jpg 300w, https://thecodebuzz.com/wp-content/uploads/2021/09/Use-telnet-client-on-windows-768x216.jpg 768w, https://thecodebuzz.com/wp-content/uploads/2021/09/Use-telnet-client-on-windows-1536x432.jpg 1536w, https://thecodebuzz.com/wp-content/uploads/2021/09/Use-telnet-client-on-windows-2048x576.jpg 2048w, https://thecodebuzz.com/wp-content/uploads/2021/09/Use-telnet-client-on-windows-785x221.jpg 785w" sizes="auto, (max-width: 635px) 100vw, 635px" /></figure>



<p></p>



<p>You are all set to run the Telnet commands,</p>



<p></p>



<h2 class="wp-block-heading" id="aioseo-telnet-commands-on-windows">Telnet commands on windows </h2>



<p></p>



<ul class="wp-block-list"><li><em>c &#8211; close     -&gt;  close current connection</em></li><li><em>d &#8211; display      -&gt; display operating parameters</em></li><li><em>o &#8211; open hostname [port] connect to hostname (default port 23).</em></li><li><em>q &#8211; quit exit telnet</em></li><li><em>set &#8211; set set options (type &#8216;set ?&#8217; for a list)</em></li><li><em>sen &#8211; send send strings to server</em></li><li><em>st &#8211; status print status information</em></li><li><em>u &#8211; unset unset options (type &#8216;unset ?&#8217; for a list)</em></li><li><em>?/h &#8211; help print help information</em></li></ul>



<figure class="wp-block-image size-large is-resized"><img loading="lazy" decoding="async" src="https://www.thecodebuzz.com/wp-content/uploads/2021/09/telnet-client-on-windows.jpg" alt="telnet windows" class="wp-image-18393" width="568" height="253" srcset="https://thecodebuzz.com/wp-content/uploads/2021/09/telnet-client-on-windows.jpg 625w, https://thecodebuzz.com/wp-content/uploads/2021/09/telnet-client-on-windows-300x133.jpg 300w" sizes="auto, (max-width: 568px) 100vw, 568px" /></figure>



<p></p>



<p>For more details on the above commands please refer to <a href="https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/telnet" target="_blank" rel="noreferrer noopener"><strong><em>this </em></strong></a>link.</p>



<p></p>



<p></p>



<p style="font-size:18px">Do you have any <strong>comments or ideas or any better </strong>suggestions to share?</p>



<p class="has-small-font-size"></p>



<p style="font-size:18px">Please sound off your comments below.</p>



<p class="has-medium-font-size"></p>



<p class="has-medium-font-size"><strong>Happy Coding </strong>!!</p>



<p></p>



<hr>



<p class=""></p>



<p class="has-background" style="background-color:#b6d9ac;font-size:18px"><br>Please <strong><em>bookmark </em></strong>this page and <em><strong>share </strong></em>it with your friends.                                                    Please <a href="https://www.thecodebuzz.com/subscription/" target="_blank" rel="noreferrer noopener"><em><mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-luminous-vivid-orange-color"><strong>Subscribe</strong> </mark></em></a>to the blog to receive notifications on freshly published (2025) best practices and guidelines for software design and development.</p>




<br>



<hr>



<p class=""></p>



<p></p><p>The post <a href="https://thecodebuzz.com/how-to-use-telnet-in-windows-linux-unix-guidelines/">Use Telnet in Windows – Guidelines</a> first appeared on <a href="https://thecodebuzz.com">TheCodeBuzz</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://thecodebuzz.com/how-to-use-telnet-in-windows-linux-unix-guidelines/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Run Redis on Windows &#8211; Guidelines</title>
		<link>https://thecodebuzz.com/how-to-run-redis-on-windows-guidelines/</link>
					<comments>https://thecodebuzz.com/how-to-run-redis-on-windows-guidelines/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Fri, 23 Jul 2021 03:04:00 +0000</pubDate>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[redis server windows]]></category>
		<category><![CDATA[run redis on windows]]></category>
		<guid isPermaLink="false">https://www.thecodebuzz.com/?p=18471</guid>

					<description><![CDATA[<p>Today in this article, we shall see how to run Redis on Windows. We shall run Redis Server and default available Redis client on Windows machine to verify Redis cache is configured correctly. Today in this article, we will cover below aspects, There are multiple ways by which you can install Redis on your Windows [&#8230;]</p>
<p>The post <a href="https://thecodebuzz.com/how-to-run-redis-on-windows-guidelines/">How to Run Redis on Windows – Guidelines</a> first appeared on <a href="https://thecodebuzz.com">TheCodeBuzz</a>.</p>]]></description>
										<content:encoded><![CDATA[<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="465" src="https://www.thecodebuzz.com/wp-content/uploads/2021/09/how-do-i-run-redis-on-windows-readiserver-cache-1024x465.jpg" alt="redis-installed-on-windows-subsystem-for-linux-with-a-python-app" class="wp-image-18490" srcset="https://thecodebuzz.com/wp-content/uploads/2021/09/how-do-i-run-redis-on-windows-readiserver-cache-1024x465.jpg 1024w, https://thecodebuzz.com/wp-content/uploads/2021/09/how-do-i-run-redis-on-windows-readiserver-cache-300x136.jpg 300w, https://thecodebuzz.com/wp-content/uploads/2021/09/how-do-i-run-redis-on-windows-readiserver-cache-768x349.jpg 768w, https://thecodebuzz.com/wp-content/uploads/2021/09/how-do-i-run-redis-on-windows-readiserver-cache-1536x697.jpg 1536w, https://thecodebuzz.com/wp-content/uploads/2021/09/how-do-i-run-redis-on-windows-readiserver-cache-785x356.jpg 785w, https://thecodebuzz.com/wp-content/uploads/2021/09/how-do-i-run-redis-on-windows-readiserver-cache.jpg 1606w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p>Today in this article, we shall see how to run Redis on Windows. We shall run Redis Server and default available Redis client on Windows machine to verify Redis cache is configured correctly.</p>



<p></p>



<p>Today in this article, we will cover below aspects,</p>



<p></p>



<div class="wp-block-aioseo-table-of-contents"><ul><li><a href="#aioseo-what-is-wsl">What is WSL?</a></li><li><a href="#aioseo-run-redis-on-windows-setup">Run Redis on Windows setup</a></li><li><a href="#aioseo-install-redis-server-and-client-windows">Install Redis Server and Client- Windows</a></li><li><a href="#aioseo-redis-client-validation-windows">Redis client validation &#8211; Windows</a></li></ul></div>



<p></p>



<p>There are multiple ways by which you can install Redis on your Windows machine. Recently, I tried a few different ways, but I ran into a few issues with Redis version compatibility and other errors. </p>



<p></p>



<p>Finally, I choose to adopt <strong>WSL</strong>, which is a basic approach to run easily on the Windows subsystem for Linux.</p>



<p></p>



<p></p>



<h2 class="wp-block-heading" id="aioseo-what-is-wsl">What is WSL?</h2>



<p></p>



<p>WSL is <strong><em>Windows Subsystem for Linux.</em></strong></p>



<p></p>



<p><strong>Benefits of WSL</strong></p>



<p></p>



<ul class="wp-block-list">
<li>It allows developers to execute Linux environments on Windows without the need for virtual machines or other configurations.</li>



<li>WSL gives you support for most of the command-line tools, utilities, and applications used on Linux example <em><strong>bash, ssh, git, apt</strong></em>.</li>
</ul>



<p></p>



<p></p>



<h2 class="wp-block-heading" id="aioseo-run-redis-on-windows-setup">Run Redis on Windows setup</h2>



<p></p>



<p>Please follow below basic steps below.</p>



<p></p>



<p><strong>Step 1: <strong>Enable Microsoft-Windows-Subsystem-Linux</strong></strong> on the windows machine</p>



<p></p>



<p>The&nbsp;<strong>Enable-WindowsOptionalFeature</strong>&nbsp;cmdlet enables or restores an optional feature in a Windows image.</p>



<p></p>



<p></p>



<p>Run Powershell in Administrator mode and run the below command</p>



<p></p>



<pre class="wp-block-preformatted">Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux</pre>



<p></p>



<p>If not used in admin mode might get the below error,</p>



<p>Above specify the running operating system on your local computer with the <strong><em>Online </em></strong>option</p>



<p></p>



<p>The above command should take a few minutes to enable this feature.</p>



<p></p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="179" src="https://www.thecodebuzz.com/wp-content/uploads/2021/09/set-up-WSL-on-Windows-1024x179.jpg" alt="Run Unix commands on windows redis windows" class="wp-image-18460" srcset="https://thecodebuzz.com/wp-content/uploads/2021/09/set-up-WSL-on-Windows-1024x179.jpg 1024w, https://thecodebuzz.com/wp-content/uploads/2021/09/set-up-WSL-on-Windows-300x52.jpg 300w, https://thecodebuzz.com/wp-content/uploads/2021/09/set-up-WSL-on-Windows-768x134.jpg 768w, https://thecodebuzz.com/wp-content/uploads/2021/09/set-up-WSL-on-Windows-785x137.jpg 785w, https://thecodebuzz.com/wp-content/uploads/2021/09/set-up-WSL-on-Windows.jpg 1342w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p></p>



<p>Please <strong><em>restart </em></strong>the machine for the configuration to be effective.</p>



<p></p>



<p><strong>Step 3: Download and install Linux distros</strong> using Ubuntu/Debian</p>



<p></p>



<p>You can install Linux distros using the Ubuntu app available on the Microsoft store.</p>



<p></p>



<p>Ubuntu on Windows allows one to use Terminal and run Ubuntu command line utilities including <em><strong>bash, ssh, git, apt</strong></em>, etc.</p>



<p></p>



<ul class="wp-block-list">
<li><em><strong><a href="https://www.microsoft.com/en-us/p/debian-gnu-linux/9msvkqc78pk6" target="_blank" rel="noreferrer noopener">Debian GNU/Linux</a></strong></em></li>
</ul>



<p></p>



<ul class="wp-block-list">
<li><em><strong><a href="https://www.microsoft.com/en-us/p/ubuntu-1804/9n9tngvndl3q" target="_blank" rel="noreferrer noopener">Ubuntu 18.04</a>&nbsp;</strong></em></li>
</ul>



<p></p>



<p><strong>Install Debian GNU/Linux on Windows </strong></p>



<p></p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="310" src="https://www.thecodebuzz.com/wp-content/uploads/2021/09/Running-debian-linux-on-Windows-1024x310.jpg" alt="run debian command on windows and run redis on windows" class="wp-image-18484" srcset="https://thecodebuzz.com/wp-content/uploads/2021/09/Running-debian-linux-on-Windows-1024x310.jpg 1024w, https://thecodebuzz.com/wp-content/uploads/2021/09/Running-debian-linux-on-Windows-300x91.jpg 300w, https://thecodebuzz.com/wp-content/uploads/2021/09/Running-debian-linux-on-Windows-768x232.jpg 768w, https://thecodebuzz.com/wp-content/uploads/2021/09/Running-debian-linux-on-Windows-1536x465.jpg 1536w, https://thecodebuzz.com/wp-content/uploads/2021/09/Running-debian-linux-on-Windows-2048x620.jpg 2048w, https://thecodebuzz.com/wp-content/uploads/2021/09/Running-debian-linux-on-Windows-785x238.jpg 785w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p></p>



<p><strong>OR </strong></p>



<p></p>



<p><strong>Install <a href="https://www.microsoft.com/en-us/p/debian-gnu-linux/9msvkqc78pk6" target="_blank" rel="noreferrer noopener"></a>Ubuntu 18.04&nbsp;on Windows</strong></p>



<p></p>



<figure class="wp-block-image size-large is-resized"><img loading="lazy" decoding="async" width="1024" height="434" src="https://www.thecodebuzz.com/wp-content/uploads/2021/09/Running-ubuntu-on-Windows-1024x434.jpg" alt="run ubuntu command on windows, redis server windows" class="wp-image-18462" style="width:491px;height:208px" srcset="https://thecodebuzz.com/wp-content/uploads/2021/09/Running-ubuntu-on-Windows-1024x434.jpg 1024w, https://thecodebuzz.com/wp-content/uploads/2021/09/Running-ubuntu-on-Windows-300x127.jpg 300w, https://thecodebuzz.com/wp-content/uploads/2021/09/Running-ubuntu-on-Windows-768x325.jpg 768w, https://thecodebuzz.com/wp-content/uploads/2021/09/Running-ubuntu-on-Windows-1536x650.jpg 1536w, https://thecodebuzz.com/wp-content/uploads/2021/09/Running-ubuntu-on-Windows-2048x867.jpg 2048w, https://thecodebuzz.com/wp-content/uploads/2021/09/Running-ubuntu-on-Windows-785x332.jpg 785w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p></p>



<p>Once <strong>Ubuntu </strong>is installed successfully, please configure the default user account to run the required apt commands </p>



<p></p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="270" src="https://www.thecodebuzz.com/wp-content/uploads/2021/09/Running-ubuntu-linux-on-Windows-1024x270.jpg" alt="enable ubuntu command on windows, redis client windows" class="wp-image-18463" srcset="https://thecodebuzz.com/wp-content/uploads/2021/09/Running-ubuntu-linux-on-Windows-1024x270.jpg 1024w, https://thecodebuzz.com/wp-content/uploads/2021/09/Running-ubuntu-linux-on-Windows-300x79.jpg 300w, https://thecodebuzz.com/wp-content/uploads/2021/09/Running-ubuntu-linux-on-Windows-768x202.jpg 768w, https://thecodebuzz.com/wp-content/uploads/2021/09/Running-ubuntu-linux-on-Windows-785x207.jpg 785w, https://thecodebuzz.com/wp-content/uploads/2021/09/Running-ubuntu-linux-on-Windows.jpg 1531w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p></p>



<p>Please run the below commands to get the latest updates if any,</p>



<p></p>



<pre class="wp-block-preformatted has-medium-font-size">&gt; sudo apt-get update

&gt; sudo apt-get upgrade</pre>



<p></p>



<h2 class="wp-block-heading" id="aioseo-install-redis-server-and-client-windows">Install Redis Server and Client- Windows </h2>



<p></p>



<p>Let&#8217;s install now Redi server now using the <strong>sudo </strong>apt command,</p>



<p></p>



<pre class="wp-block-preformatted has-medium-font-size">sudo apt-get install redis-server
</pre>



<p></p>



<figure class="wp-block-image size-large is-resized"><img loading="lazy" decoding="async" width="1024" height="287" src="https://www.thecodebuzz.com/wp-content/uploads/2021/09/how-do-i-run-redis-on-windows-1024x287.jpg" alt="sudo apt-get install redis-server" class="wp-image-18486" style="width:773px;height:216px" srcset="https://thecodebuzz.com/wp-content/uploads/2021/09/how-do-i-run-redis-on-windows-1024x287.jpg 1024w, https://thecodebuzz.com/wp-content/uploads/2021/09/how-do-i-run-redis-on-windows-300x84.jpg 300w, https://thecodebuzz.com/wp-content/uploads/2021/09/how-do-i-run-redis-on-windows-768x215.jpg 768w, https://thecodebuzz.com/wp-content/uploads/2021/09/how-do-i-run-redis-on-windows-785x220.jpg 785w, https://thecodebuzz.com/wp-content/uploads/2021/09/how-do-i-run-redis-on-windows.jpg 1523w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p></p>



<p>For any issue please restart the Redis Server,</p>



<p></p>



<pre class="wp-block-preformatted">sudo service redis-server restart</pre>



<p></p>



<h2 class="wp-block-heading" id="aioseo-redis-client-validation-windows">Redis client validation &#8211; Windows </h2>



<p></p>



<p><strong>Command </strong></p>



<p></p>



<pre class="wp-block-preformatted has-medium-font-size">SET&nbsp;key&nbsp;value&nbsp;[EX seconds|PX milliseconds|EXAT timestamp|PXAT milliseconds-timestamp|KEEPTTL]&nbsp;[NX|XX]&nbsp;[GET]</pre>



<p></p>



<figure class="wp-block-image size-large is-resized"><img loading="lazy" decoding="async" width="1024" height="369" src="https://www.thecodebuzz.com/wp-content/uploads/2021/09/Redis-Set-key-using-Redis-client-command-1024x369.jpg" alt="Run Redis on Windows" class="wp-image-18487" style="width:708px;height:254px" srcset="https://thecodebuzz.com/wp-content/uploads/2021/09/Redis-Set-key-using-Redis-client-command-1024x369.jpg 1024w, https://thecodebuzz.com/wp-content/uploads/2021/09/Redis-Set-key-using-Redis-client-command-300x108.jpg 300w, https://thecodebuzz.com/wp-content/uploads/2021/09/Redis-Set-key-using-Redis-client-command-768x277.jpg 768w, https://thecodebuzz.com/wp-content/uploads/2021/09/Redis-Set-key-using-Redis-client-command-785x283.jpg 785w, https://thecodebuzz.com/wp-content/uploads/2021/09/Redis-Set-key-using-Redis-client-command.jpg 1364w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p></p>



<p>As we can see Redis port for Windows 6379 is used. Above we are setting a new key and retrieving the key from the cache.</p>



<p></p>



<p>That&#8217;s all, you are all set to use the Linux command on the window machine. Hope you find this useful.</p>



<p></p>



<p></p>



<p style="font-size:18px">Do you have any <strong>comments or ideas or any better </strong>suggestions to share?</p>



<p class="has-small-font-size"></p>



<p style="font-size:18px">Please sound off your comments below.</p>



<p class="has-medium-font-size"></p>



<p class="has-medium-font-size"><strong>Happy Coding </strong>!!</p>



<p></p>



<hr>



<p class=""></p>



<p class="has-background" style="background-color:#b6d9ac;font-size:18px"><br>Please <strong><em>bookmark </em></strong>this page and <em><strong>share </strong></em>it with your friends.                                                    Please <a href="https://www.thecodebuzz.com/subscription/" target="_blank" rel="noreferrer noopener"><em><mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-luminous-vivid-orange-color"><strong>Subscribe</strong> </mark></em></a>to the blog to receive notifications on freshly published (2025) best practices and guidelines for software design and development.</p>




<br>



<hr>



<p class=""></p>



<p></p>



<p></p><p>The post <a href="https://thecodebuzz.com/how-to-run-redis-on-windows-guidelines/">How to Run Redis on Windows – Guidelines</a> first appeared on <a href="https://thecodebuzz.com">TheCodeBuzz</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://thecodebuzz.com/how-to-run-redis-on-windows-guidelines/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Understanding SC- Service Console commands</title>
		<link>https://thecodebuzz.com/understanding-sc-service-console-manager-commands/</link>
					<comments>https://thecodebuzz.com/understanding-sc-service-console-manager-commands/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Sat, 26 Sep 2020 10:29:00 +0000</pubDate>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[delete a service sc command]]></category>
		<category><![CDATA[sc command examples]]></category>
		<category><![CDATA[sc command windows]]></category>
		<category><![CDATA[sc config command]]></category>
		<category><![CDATA[sc create service command]]></category>
		<category><![CDATA[sc query command]]></category>
		<category><![CDATA[sc query running services]]></category>
		<category><![CDATA[sc query startup type]]></category>
		<category><![CDATA[sc. query powershell]]></category>
		<category><![CDATA[start a service sc command]]></category>
		<guid isPermaLink="false">http://www.thecodebuzz.com/?p=12171</guid>

					<description><![CDATA[<p>Understanding SC- Service Console commands Today in this article we will learn useful SC- Service Console commands required to start or stop services. SC is a command-line program used for communicating with the Service Control Manager and services. Today in this article, we will cover below aspects, It lets you Create, Start or Stop or [&#8230;]</p>
<p>The post <a href="https://thecodebuzz.com/understanding-sc-service-console-manager-commands/">Understanding SC- Service Console commands</a> first appeared on <a href="https://thecodebuzz.com">TheCodeBuzz</a>.</p>]]></description>
										<content:encoded><![CDATA[<h1 class="wp-block-heading">Understanding SC- Service Console commands</h1>



<p>Today in this article we will learn useful SC- Service Console commands required to start or stop services.</p>



<p></p>



<p>SC is a command-line program used for communicating with the Service Control Manager and services.</p>



<p></p>



<p>Today in this article, we will cover below aspects,</p>



<div class="wp-block-aioseo-table-of-contents"><ul><li><a href="#aioseo-useful-commands">Useful Commands</a></li><li><a href="#aioseo-create-a-service">Create a Service</a></li><li><a href="#aioseo-start-a-service">Start a Service</a></li><li><a href="#aioseo-stop-a-service">Stop a Service</a></li><li><a href="#aioseo-delete-a-service">Delete a Service</a></li><li><a href="#aioseo-pause-a-service">Pause a Service</a></li><li><a href="#aioseo-other-useful-commands">Other Useful Commands</a></li></ul></div>



<p></p>



<p></p>



<p>It lets you <strong><em>Create, Start or Stop or Delete</em></strong> services mainly windows services hosted in the Windows environment </p>



<p></p>



<p><strong><em>Usage </em></strong></p>



<pre class="wp-block-verse">&nbsp;sc &lt;server&gt; [command] [service name] &lt;command1&gt; &lt;command2&gt;...</pre>



<p></p>



<p>Further help on commands can be obtained by typing: &#8220;sc [command]&#8221;</p>



<p></p>



<h2 class="wp-block-heading" id="aioseo-useful-commands">Useful Commands</h2>



<p></p>



<h2 class="wp-block-heading" id="aioseo-create-a-service">Create a Service </h2>



<p></p>



<pre class="wp-block-verse"><strong>sc create</strong>- Creates a service. (adds service to the registry).
</pre>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="106" src="https://www.thecodebuzz.com/wp-content/uploads/2020/09/SC-OpenSCManager-FAILED-resolution-1024x106.jpg" alt="" class="wp-image-12179" srcset="https://thecodebuzz.com/wp-content/uploads/2020/09/SC-OpenSCManager-FAILED-resolution-1024x106.jpg 1024w, https://thecodebuzz.com/wp-content/uploads/2020/09/SC-OpenSCManager-FAILED-resolution-300x31.jpg 300w, https://thecodebuzz.com/wp-content/uploads/2020/09/SC-OpenSCManager-FAILED-resolution-768x79.jpg 768w, https://thecodebuzz.com/wp-content/uploads/2020/09/SC-OpenSCManager-FAILED-resolution-1536x159.jpg 1536w, https://thecodebuzz.com/wp-content/uploads/2020/09/SC-OpenSCManager-FAILED-resolution-785x81.jpg 785w, https://thecodebuzz.com/wp-content/uploads/2020/09/SC-OpenSCManager-FAILED-resolution.jpg 1897w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p></p>



<h2 class="wp-block-heading" id="aioseo-start-a-service">Start a Service</h2>



<p></p>



<pre class="wp-block-verse"><strong>sc start </strong>- Starts a service.
</pre>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="335" src="https://www.thecodebuzz.com/wp-content/uploads/2020/09/SC-OpenSCManager-Start-Service.jpg" alt="" class="wp-image-12182" srcset="https://thecodebuzz.com/wp-content/uploads/2020/09/SC-OpenSCManager-Start-Service.jpg 1024w, https://thecodebuzz.com/wp-content/uploads/2020/09/SC-OpenSCManager-Start-Service-300x98.jpg 300w, https://thecodebuzz.com/wp-content/uploads/2020/09/SC-OpenSCManager-Start-Service-768x251.jpg 768w, https://thecodebuzz.com/wp-content/uploads/2020/09/SC-OpenSCManager-Start-Service-785x257.jpg 785w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p></p>



<h2 class="wp-block-heading" id="aioseo-stop-a-service">Stop a Service</h2>



<p></p>



<pre class="wp-block-verse"><strong>sc stop</strong>- Sends a STOP request to a service.
</pre>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="279" src="https://www.thecodebuzz.com/wp-content/uploads/2020/09/SC-OpenSCManager-Stop-service-1024x279.jpg" alt="SC- Service Console commands" class="wp-image-12183" srcset="https://thecodebuzz.com/wp-content/uploads/2020/09/SC-OpenSCManager-Stop-service-1024x279.jpg 1024w, https://thecodebuzz.com/wp-content/uploads/2020/09/SC-OpenSCManager-Stop-service-300x82.jpg 300w, https://thecodebuzz.com/wp-content/uploads/2020/09/SC-OpenSCManager-Stop-service-768x209.jpg 768w, https://thecodebuzz.com/wp-content/uploads/2020/09/SC-OpenSCManager-Stop-service-785x214.jpg 785w, https://thecodebuzz.com/wp-content/uploads/2020/09/SC-OpenSCManager-Stop-service.jpg 1066w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p></p>



<h2 class="wp-block-heading" id="aioseo-delete-a-service">Delete a Service</h2>



<pre class="wp-block-verse">&nbsp;<strong>delete </strong>- Deletes a service from SC Manager and  (from the registry).</pre>



<p></p>



<h2 class="wp-block-heading" id="aioseo-pause-a-service">Pause a Service</h2>



<p></p>



<pre class="wp-block-verse"><strong>pause </strong>- Sends a PAUSE control request to a service.</pre>



<p></p>



<h2 class="wp-block-heading" id="aioseo-other-useful-commands">Other Useful Commands</h2>



<p></p>



<pre class="wp-block-verse"><strong>query</strong>- Queries the status for a service, or enumerates the status for types of services.</pre>



<p></p>



<pre class="wp-block-verse"><strong>queryex</strong>- Queries the extended status for a service, or enumerates the status for types of services.</pre>



<p></p>



<pre class="wp-block-verse"><strong>interrogate</strong>- Sends an INTERROGATE control request to a service.</pre>



<p></p>



<pre class="wp-block-verse"><strong>continue</strong>-Sends a CONTINUE control request to a service.</pre>



<p></p>



<pre class="wp-block-verse"><strong>config</strong>-Changes the configuration of a service (persistent).</pre>



<pre class="wp-block-verse"><strong>description</strong>-Changes the description of a service.</pre>



<pre class="wp-block-verse"><strong>failure</strong>-Changes the actions taken by a service upon failure.</pre>



<pre class="wp-block-verse"><strong>failureflag</strong>-Changes the failure actions flag of a service.</pre>



<pre class="wp-block-verse"><strong>sidtype</strong>-Changes the service SID type of a service.</pre>



<pre class="wp-block-verse"> <strong>privs</strong>-Changes the required privileges of a service.</pre>



<pre class="wp-block-verse"><strong>managedaccount</strong>--Changes the service to mark the service account&nbsp; password as managed by LSA.</pre>



<pre class="wp-block-verse"><strong>qc</strong>-Queries the configuration information for a service.</pre>



<pre class="wp-block-verse"><strong>qdescription</strong>-Queries the description for a service.</pre>



<pre class="wp-block-verse"> <strong>qfailure</strong>-Queries the actions taken by a service upon failure.</pre>



<pre class="wp-block-verse">&nbsp;<strong>qfailureflag</strong>-Queries the failure actions flag of a service.</pre>



<pre class="wp-block-verse"> <strong>qsidtype</strong>-Queries the service SID type of a service.</pre>



<pre class="wp-block-verse"><strong>qprivs</strong>--Queries the required privileges of a service.</pre>



<pre class="wp-block-verse"><strong>qtriggerinfo</strong>-Queries the trigger parameters of a service.</pre>



<pre class="wp-block-verse"> <strong>qpreferrednode</strong>-Queries the preferred NUMA node of a service.</pre>



<pre class="wp-block-verse"><em><strong>qmanagedaccount</strong></em>-Queries whether a services uses an account with a password managed by LSA.</pre>



<pre class="wp-block-verse"> <strong>qprotection</strong>-Queries the process protection level of a service.</pre>



<pre class="wp-block-verse"> <strong>quserservice</strong>-Queries for a local instance of a user service template.</pre>



<pre class="wp-block-verse"><strong>control</strong>-Sends a control to a service.</pre>



<pre class="wp-block-verse"><strong>sdshow</strong>-Displays a service's security descriptor.</pre>



<pre class="wp-block-verse"><strong>sdset</strong>--Sets a service's security descriptor.</pre>



<pre class="wp-block-verse"><strong>showsid</strong>--Displays the service SID string corresponding to an arbitrary name.</pre>



<pre class="wp-block-verse"><strong>triggerinfo</strong>-Configures the trigger parameters of a service.</pre>



<pre class="wp-block-verse"><strong>preferrednode</strong>-Sets the preferred NUMA node of a service.</pre>



<pre class="wp-block-verse"><strong>GetDisplayName</strong>--Gets the DisplayName for a service.</pre>



<pre class="wp-block-verse"><strong>GetKeyName</strong>-Gets the ServiceKeyName for a service.</pre>



<pre class="wp-block-verse"><strong>EnumDepend</strong>- Enumerates Service Dependencies.</pre>



<p></p>



<p><strong>Note</strong>: You might get an error running SC commands on the console or CLI. To fix the issue run the command prompt in<em><strong> Admin mode</strong></em>.</p>



<p> </p>



<p>That&#8217;s All. Please sound off your comments below if any </p>



<p></p>



<hr>



<p class=""></p>



<p class="has-background" style="background-color:#b6d9ac;font-size:18px"><br>Please <strong><em>bookmark </em></strong>this page and <em><strong>share </strong></em>it with your friends.                                                    Please <a href="https://www.thecodebuzz.com/subscription/" target="_blank" rel="noreferrer noopener"><em><mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-luminous-vivid-orange-color"><strong>Subscribe</strong> </mark></em></a>to the blog to receive notifications on freshly published (2025) best practices and guidelines for software design and development.</p>




<br>



<hr>



<p class=""></p>



<p></p><p>The post <a href="https://thecodebuzz.com/understanding-sc-service-console-manager-commands/">Understanding SC- Service Console commands</a> first appeared on <a href="https://thecodebuzz.com">TheCodeBuzz</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://thecodebuzz.com/understanding-sc-service-console-manager-commands/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
