<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Windows on shocksolution.com</title><link>https://shocksolution.com/tags/windows/</link><description>Recent content in Windows on shocksolution.com</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Wed, 23 Oct 2019 16:23:48 +0000</lastBuildDate><atom:link href="https://shocksolution.com/tags/windows/index.xml" rel="self" type="application/rss+xml"/><item><title>mount.cifs error 13 after update (CentOS/RedHat Linux 7.6)</title><link>https://shocksolution.com/posts/mount-cifs-error-13-after-update-centos-redhat-linux-7-6/</link><pubDate>Wed, 23 Oct 2019 16:23:48 +0000</pubDate><guid>https://shocksolution.com/posts/mount-cifs-error-13-after-update-centos-redhat-linux-7-6/</guid><description>&lt;figure class="ma0 w-75"&gt;&lt;img src="https://shocksolution.com/images/hidde-van-esch-m4N7onAg1oE-unsplash.jpg"&#10;&#9;&#9;&#9;alt="PERMISSION DENIED"&gt;&lt;figcaption&gt;&#10;&#9;&#9;&#9;&lt;p&gt;PERMISSION DENIED&lt;/p&gt;&#10;&#9;&#9;&lt;/figcaption&gt;&#10;&lt;/figure&gt;&#10;&#10;&lt;p&gt;PERMISSION DENIED (Photo by &lt;a href="https://unsplash.com/@holoz?utm_source=unsplash&amp;amp;utm_medium=referral&amp;amp;utm_content=creditCopyText"&gt;Hidde van Esch&lt;/a&gt; on &lt;a href="https://unsplash.com/s/photos/denied?utm_source=unsplash&amp;amp;utm_medium=referral&amp;amp;utm_content=creditCopyText"&gt;Unsplash&lt;/a&gt;)&lt;/p&gt;&#10;&lt;p&gt;If you recently updated your RedHat or CentOS 7.6 system, you may suddenly start getting &amp;ldquo;Permission Denied&amp;rdquo; errors when attempting to mount SMB shares via CIFS. Typical error messages in syslog look like this:&lt;/p&gt;&#10;&lt;div class="code-block"&gt;&#10; &lt;button class="code-copy" type="button" hidden aria-label="Copy code to clipboard"&gt;&#10; &lt;span class="code-copy-label" aria-hidden="true"&gt;Copy&lt;/span&gt;&#10; &lt;/button&gt;&#10; &lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;kernel: Status code returned 0xc000006d STATUS_LOGON_FAILURE&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;kernel: CIFS VFS: Send error in SessSetup = -13&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;kernel: CIFS VFS: cifs_mount failed w/return code = -13&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10; &lt;/div&gt;&lt;h2 id="configuration-that-triggered-the-problem"&gt;Configuration that triggered the problem&lt;/h2&gt;&#10;&lt;p&gt;&lt;em&gt;Synology NAS with latest operating system shares a volume via SMB&lt;/em&gt;CentOS 7 Linux server mounts SMB share using a local username and password (NOT domain credentials)&lt;em&gt;cifs-utils version 6.2 installed in May of 2019 (this by itself worked fine)&lt;em&gt;libsmbclient just updated to 4.9.1-6&lt;/em&gt;libmount just updated to 2.23.2-61&lt;/em&gt;CIFS mount options: vers=3.0,credentials=/root/credentials.txt,sec=ntlmsspi* File /root/credentials.txt contained a username and password that are LOCAL to the SMB server&lt;/p&gt;</description></item><item><title>Is there a "Primary Domain Controller" in Active Directory?</title><link>https://shocksolution.com/posts/is-there-a-primary-domain-controller-in-active-directory/</link><pubDate>Thu, 29 Jun 2017 14:08:52 +0000</pubDate><guid>https://shocksolution.com/posts/is-there-a-primary-domain-controller-in-active-directory/</guid><description>&lt;h2 id="the-historical-answer"&gt;The Historical Answer&lt;/h2&gt;&#10;&lt;p&gt;With Windows NT, prior to the advent of Active Directory, there was one Primary Domain Controller (DC) per domain, and every other DC was a Backup.&lt;/p&gt;&#10;&lt;h2 id="the-modern-answer"&gt;The Modern Answer&lt;/h2&gt;&#10;&lt;p&gt;When Active Directory was introduced with Windows 2000, domain controllers became fully multi-master. There is no primary domain controller. However, there are two caveats that may confuse you.&lt;/p&gt;&#10;&lt;h3 id="fsmo-operations-masters"&gt;FSMO Operations Masters&lt;/h3&gt;&#10;&lt;p&gt;Though Active Directory is multi-master, certain operations must take place in a way that ensure consistency across the domain controllers. For this reason, one DC will be designated as the Operations Master for each role. This is &lt;strong&gt;not&lt;/strong&gt;the same thing as a Primary Domain Controller, because there are currently 5 master roles, and a different DC could hold each role. To view the current Operations Masters, run the following at a Windows command prompt: &lt;code&gt;NetDOM /query FSMO&lt;/code&gt; In Powershell, you have to run two commands: &lt;code&gt;Get-ADDomain | Select-Object InfrastructureMaster, RIDMaster, PDCEmulator&lt;/code&gt; &lt;code&gt;Get-ADForest | Select-Object DomainNamingMaster, SchemaMaster&lt;/code&gt;&lt;strong&gt;References:&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>Synology DiskStation DS1515+ Review</title><link>https://shocksolution.com/posts/synology-diskstation-ds1515-review/</link><pubDate>Sun, 18 Dec 2016 20:19:48 +0000</pubDate><guid>https://shocksolution.com/posts/synology-diskstation-ds1515-review/</guid><description>&lt;p&gt;Summary: The &lt;a href="https://%3Cwww.synology.com/en-us/products/DS1515+%3E"&gt;Synology DS 1515+&lt;/a&gt; is a capable little NAS with a large feature set, but it has some software reliability issues and limited technical support.&lt;/p&gt;&#10;&lt;h2 id="hardware"&gt;Hardware&lt;/h2&gt;&#10;&lt;p&gt;The DS1515+ is a compact unit that feels sturdy. It holds five 2.5&amp;quot; or 3.5&amp;quot; drives, and 3.5&amp;quot; drives can be installed without any tools. You will need a Phillips-head screwdriver to install an additional RAM module, but that&amp;rsquo;s also a very simple process. The fans are also easily replaceable.&lt;/p&gt;</description></item><item><title>Failed to schedule Software Protection service for re-start: Error Code: 0x80041316</title><link>https://shocksolution.com/posts/failed-to-schedule-software-protection-service-for-re-start-error-code-0x80041316/</link><pubDate>Sat, 08 Oct 2016 17:35:20 +0000</pubDate><guid>https://shocksolution.com/posts/failed-to-schedule-software-protection-service-for-re-start-error-code-0x80041316/</guid><description>&lt;p&gt;This post documents how to resolve the following error message, which may appear for no particular reason, and flood the Windows event log: &lt;code&gt;Failed to schedule Software Protection service for re-start at 2116-09-14T16:54:27Z. Error Code: 0x80041316.&lt;/code&gt; The following steps will resolve the error on Windows Server 2012r2, but based on other links, similar steps should work for Windows 8, 8.1, or Server 2012.&lt;/p&gt;&#10;&lt;h2 id="root-cause"&gt;Root Cause&lt;/h2&gt;&#10;&lt;p&gt;The root cause, in my case, was a corruption in the XML files that control task scheduling for the Software Protection service. I am not sure what caused this error, but it appeared to start after a domain controller was not shut down cleanly. &lt;a href="https://support.microsoft.com/en-us/kb/3033200"&gt;Microsoft&amp;rsquo;s official documentation reports that another cause may be a mismatch between the permissions used to run the task and the permissions on the files that control the task&lt;/a&gt;. However, most people have reported that the problem is caused by corrupted XML files. Also, note that the Microsoft documentation is inaccurate when it states that the task must run as the &lt;strong&gt;NETWORK SERVICE&lt;/strong&gt;account. If the task is triggered by an interactive user logon, it should run as account&lt;strong&gt;Interactive&lt;/strong&gt;.&lt;/p&gt;</description></item><item><title>Making Windows work for Linux and OS X admins</title><link>https://shocksolution.com/posts/making-windows-work-for-linux-and-os-x-admins/</link><pubDate>Wed, 25 May 2016 04:10:17 +0000</pubDate><guid>https://shocksolution.com/posts/making-windows-work-for-linux-and-os-x-admins/</guid><description>&lt;p&gt;If you are a Linux or OS X power user, then you&amp;rsquo;re used to having all the necessary tools built into your OS. When you log into a Windows system (What! No command line?) you may feel lost. These tools and shortcuts will help you be productive on Windows systems.&lt;/p&gt;&#10;&lt;h2 id="windows-shortcuts"&gt;Windows Shortcuts&lt;/h2&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;Alt-x is a magic shortcut key on Windows 8 and Server 2012. It pops up a little menu in the lower right corner of the screen which contains just the items that an admin needs. Try it!&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h3 id="windows-programs"&gt;Windows Programs&lt;/h3&gt;&#10;&lt;p&gt;If you want Windows to work a little bit like Linux or OS X, you need to install a few of these free programs. Some are &lt;em&gt;gratis&lt;/em&gt;, and some are &lt;em&gt;libre&lt;/em&gt;.&lt;/p&gt;</description></item><item><title>Microsoft Baseline Security Analyzer Troubleshooting</title><link>https://shocksolution.com/posts/microsoft-baseline-security-analyzer-troubleshooting/</link><pubDate>Fri, 25 Mar 2016 03:30:36 +0000</pubDate><guid>https://shocksolution.com/posts/microsoft-baseline-security-analyzer-troubleshooting/</guid><description>&lt;p&gt;&lt;a href="https://%3Cwww.microsoft.com/en-us/download/details.aspx?id=7558%3E"&gt;Microsoft Baseline Security Analyzer (MBSA)&lt;/a&gt; is a useful tool for auditing the configuration and update status of Windows computers. Most of the time, its reports are useful and easy to understand. However, some of its responses are baffling, and some of its suggested solutions haven&amp;rsquo;t been updated since Server 2003. Here is my collection of odd MBSA reports, and how to resolve them.&lt;/p&gt;&#10;&lt;h2 id="internet-explorer"&gt;Internet Explorer&lt;/h2&gt;&#10;&lt;p&gt;MBSA Reports:&lt;/p&gt;&#10;&lt;div class="code-block"&gt;&#10; &lt;button class="code-copy" type="button" hidden aria-label="Copy code to clipboard"&gt;&#10; &lt;span class="code-copy-label" aria-hidden="true"&gt;Copy&lt;/span&gt;&#10; &lt;/button&gt;&#10; &lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;The use of Internet Explorer is not restricted for administrators on this server&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10; &lt;/div&gt;&lt;p&gt;Solution: &lt;a href="https://social.technet.microsoft.com/Forums/security/en-US/d6834f77-32c3-40e7-897f-c5d7f601d6b1/mbsa-23-internet-explorer-is-not-restricted-server-core"&gt;Enable IE Enhanced Security Configuration in the Server Manager&lt;/a&gt;&lt;/p&gt;</description></item></channel></rss>