tag:blogger.com,1999:blog-32262567278502049962024-03-13T10:05:55.255-04:00T-Solve Technology CommentaryDave Mhttp://www.blogger.com/profile/09656190568637048469noreply@blogger.comBlogger421125tag:blogger.com,1999:blog-3226256727850204996.post-61632427265875440972020-11-05T12:26:00.001-05:002020-11-05T12:26:05.416-05:00Windows 10 machines with bitlocker on when you didn't enable it (finding the recovery key)<p> I had a Lenovo Carbon X1 laptop that was bitlocker encrypted that I did not turn on. As such, I did not have the recovery key. I found that when a machine is connected to Azure, the machine auto-encrypts and stores the recovery key in Azure.</p><p>I found this information here:<br /><a href="https://hardsoft-support.kayako.com/article/99-windows-10-bitlocker-turns-on-without-a-notice">https://hardsoft-support.kayako.com/article/99-windows-10-bitlocker-turns-on-without-a-notice</a></p><p>Short version of the above article:<br />1) go to <a href="https://manage.windowsazure.com/">https://manage.windowsazure.com/</a> and log in with your Azure connected email address<br />2) Go to users and find your device where you *should* see the recovery key.</p>Dave Mhttp://www.blogger.com/profile/09656190568637048469noreply@blogger.com0tag:blogger.com,1999:blog-3226256727850204996.post-62119416089398931182020-02-28T12:58:00.001-05:002020-02-28T12:58:43.021-05:00Windows 8 - User profile service failed the sign inI came across a Windows 8 laptop (yes in February 2020) that was running Windows 8, but when I created a new user and tried to log in, I got an error that said "User profile service failed the sign in" and the profile would not load at all.<br />
<br />
The fix was to log in with an existing user, go into the application event log and find errors during the log in process relating to a permissions error copying data from c:\users\default to the new profile and deleting the minimum amount necessary (not the default folder or c:\users\default\appdata - much more specific). <br />
<br />
I found this info here:<br />
<a href="https://answers.microsoft.com/en-us/windows/forum/windows_8-security/user-profile-service-failed-the-sign-in/17ad3f7c-3b2d-433f-a3d5-bf7f6a79df1a?auth=1&page=3">https://answers.microsoft.com/en-us/windows/forum/windows_8-security/user-profile-service-failed-the-sign-in/17ad3f7c-3b2d-433f-a3d5-bf7f6a79df1a?auth=1&page=3</a><br />
<br />
Here's the important text, in case that link gets removed/changed:<br />
<div>
<br /></div>
<div>
<div style="-webkit-font-smoothing: antialiased; background-color: white; border: 0px; box-sizing: inherit; font-family: "Segoe UI", SegoeUI, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 15px; min-height: 19px; overflow-wrap: break-word; padding: 0px; text-size-adjust: none; vertical-align: top;">
I have figured out what the problem is. Basically, something from the Default profile directory fails to copy (this contains the initial files that Windows uses to set up a user). The Default profile is found at:</div>
<div style="-webkit-font-smoothing: antialiased; background-color: white; border: 0px; box-sizing: inherit; font-family: "Segoe UI", SegoeUI, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 15px; min-height: 19px; overflow-wrap: break-word; padding: 0px; text-size-adjust: none; vertical-align: top;">
</div>
<div style="-webkit-font-smoothing: antialiased; background-color: white; border: 0px; box-sizing: inherit; font-family: "Segoe UI", SegoeUI, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 15px; min-height: 19px; overflow-wrap: break-word; padding: 0px; text-size-adjust: none; vertical-align: top;">
C:\Users\Default </div>
<div style="-webkit-font-smoothing: antialiased; background-color: white; border: 0px; box-sizing: inherit; font-family: "Segoe UI", SegoeUI, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 15px; min-height: 19px; overflow-wrap: break-word; padding: 0px; text-size-adjust: none; vertical-align: top;">
</div>
<div style="-webkit-font-smoothing: antialiased; background-color: white; border: 0px; box-sizing: inherit; font-family: "Segoe UI", SegoeUI, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 15px; min-height: 19px; overflow-wrap: break-word; padding: 0px; text-size-adjust: none; vertical-align: top;">
If you go to c:\users, you will not see the Default directory. </div>
<div style="-webkit-font-smoothing: antialiased; background-color: white; border: 0px; box-sizing: inherit; font-family: "Segoe UI", SegoeUI, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 15px; min-height: 19px; overflow-wrap: break-word; padding: 0px; text-size-adjust: none; vertical-align: top;">
</div>
<div style="-webkit-font-smoothing: antialiased; background-color: white; border: 0px; box-sizing: inherit; font-family: "Segoe UI", SegoeUI, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 15px; min-height: 19px; overflow-wrap: break-word; padding: 0px; text-size-adjust: none; vertical-align: top;">
To determine what fails to copy, go to the event viewer (this is on the start menu - right mouse on the start icon and a list of programs will display.). Open the Application Event log - (it will take a few moments for it to load the application event log - the Event Viewer application builds the logs and indexes before it will open completely. </div>
<div style="-webkit-font-smoothing: antialiased; background-color: white; border: 0px; box-sizing: inherit; font-family: "Segoe UI", SegoeUI, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 15px; min-height: 19px; overflow-wrap: break-word; padding: 0px; text-size-adjust: none; vertical-align: top;">
</div>
<div style="-webkit-font-smoothing: antialiased; background-color: white; border: 0px; box-sizing: inherit; font-family: "Segoe UI", SegoeUI, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 15px; min-height: 19px; overflow-wrap: break-word; padding: 0px; text-size-adjust: none; vertical-align: top;">
Scroll down the event log until you see warnings from the "User Profile General" under the Source column. EventID 1509 indicates what files are not being copied. In my case, the entry said:</div>
<div style="-webkit-font-smoothing: antialiased; background-color: white; border: 0px; box-sizing: inherit; font-family: "Segoe UI", SegoeUI, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 15px; min-height: 19px; overflow-wrap: break-word; padding: 0px; text-size-adjust: none; vertical-align: top;">
</div>
<div style="-webkit-font-smoothing: antialiased; background-color: white; border: 0px; box-sizing: inherit; font-family: "Segoe UI", SegoeUI, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 15px; min-height: 19px; overflow-wrap: break-word; padding: 0px; text-size-adjust: none; vertical-align: top;">
<em style="-webkit-font-smoothing: antialiased; border: 0px; box-sizing: inherit; margin: 0px; padding: 0px; text-size-adjust: none; vertical-align: top;">"Windows cannot copy file \\?\<span style="-webkit-font-smoothing: antialiased; border: 0px; box-sizing: inherit; margin: 0px; padding: 0px; text-decoration-line: underline; text-size-adjust: none; vertical-align: top;">C:\Users\Default\AppData\Local\Microsoft\</span>VSCommon\12.0\SQM\sqmdata-13304-039-00000.sqm to location .... This error may be caused by network problems or insufficient security rights.</em></div>
<div style="-webkit-font-smoothing: antialiased; background-color: white; border: 0px; box-sizing: inherit; font-family: "Segoe UI", SegoeUI, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 15px; min-height: 19px; overflow-wrap: break-word; padding: 0px; text-size-adjust: none; vertical-align: top;">
</div>
<div style="-webkit-font-smoothing: antialiased; background-color: white; border: 0px; box-sizing: inherit; font-family: "Segoe UI", SegoeUI, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 15px; min-height: 19px; overflow-wrap: break-word; padding: 0px; text-size-adjust: none; vertical-align: top;">
<em style="-webkit-font-smoothing: antialiased; border: 0px; box-sizing: inherit; margin: 0px; padding: 0px; text-size-adjust: none; vertical-align: top;"><span style="-webkit-font-smoothing: antialiased; border: 0px; box-sizing: inherit; font-weight: 600; margin: 0px; padding: 0px; text-size-adjust: none; vertical-align: top;">DETAIL - Access is denied.</span></em></div>
<div style="-webkit-font-smoothing: antialiased; background-color: white; border: 0px; box-sizing: inherit; font-family: "Segoe UI", SegoeUI, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 15px; min-height: 19px; overflow-wrap: break-word; padding: 0px; text-size-adjust: none; vertical-align: top;">
</div>
<div style="-webkit-font-smoothing: antialiased; background-color: white; border: 0px; box-sizing: inherit; font-family: "Segoe UI", SegoeUI, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 15px; min-height: 19px; overflow-wrap: break-word; padding: 0px; text-size-adjust: none; vertical-align: top;">
^^^^^</div>
<div style="-webkit-font-smoothing: antialiased; background-color: white; border: 0px; box-sizing: inherit; font-family: "Segoe UI", SegoeUI, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 15px; min-height: 19px; overflow-wrap: break-word; padding: 0px; text-size-adjust: none; vertical-align: top;">
Bingo - Access denied can be caused by a lot of things. So, instead of struggling with what is wrong, just delete the directory that is causing the problem in the first place. If it is critical, then running a repair on the application that fails should recover that information. In my case, I deleted</div>
<div style="-webkit-font-smoothing: antialiased; background-color: white; border: 0px; box-sizing: inherit; font-family: "Segoe UI", SegoeUI, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 15px; min-height: 19px; overflow-wrap: break-word; padding: 0px; text-size-adjust: none; vertical-align: top;">
</div>
<div style="-webkit-font-smoothing: antialiased; background-color: white; border: 0px; box-sizing: inherit; font-family: "Segoe UI", SegoeUI, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 15px; min-height: 19px; overflow-wrap: break-word; padding: 0px; text-size-adjust: none; vertical-align: top;">
<em style="-webkit-font-smoothing: antialiased; border: 0px; box-sizing: inherit; margin: 0px; padding: 0px; text-size-adjust: none; vertical-align: top;">VSCommon from </em><em style="-webkit-font-smoothing: antialiased; border: 0px; box-sizing: inherit; margin: 0px; padding: 0px; text-size-adjust: none; vertical-align: top;"><span style="-webkit-font-smoothing: antialiased; border: 0px; box-sizing: inherit; margin: 0px; padding: 0px; text-decoration-line: underline; text-size-adjust: none; vertical-align: top;">C:\Users\Default\AppData\Local\Microsoft\</span></em></div>
<div style="-webkit-font-smoothing: antialiased; background-color: white; border: 0px; box-sizing: inherit; font-family: "Segoe UI", SegoeUI, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 15px; min-height: 19px; overflow-wrap: break-word; padding: 0px; text-size-adjust: none; vertical-align: top;">
</div>
<div style="-webkit-font-smoothing: antialiased; background-color: white; border: 0px; box-sizing: inherit; font-family: "Segoe UI", SegoeUI, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 15px; min-height: 19px; overflow-wrap: break-word; padding: 0px; text-size-adjust: none; vertical-align: top;">
(Use Windows Explorer and enter in the address bar the parent directory for the offending files - I chose to enter C:\Users\Default\AppData\Local\Microsoft because I didn't want to screw with it HA HA)</div>
<div style="-webkit-font-smoothing: antialiased; background-color: white; border: 0px; box-sizing: inherit; font-family: "Segoe UI", SegoeUI, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 15px; min-height: 19px; overflow-wrap: break-word; padding: 0px; text-size-adjust: none; vertical-align: top;">
</div>
<div style="-webkit-font-smoothing: antialiased; background-color: white; border: 0px; box-sizing: inherit; font-family: "Segoe UI", SegoeUI, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 15px; min-height: 19px; overflow-wrap: break-word; padding: 0px; text-size-adjust: none; vertical-align: top;">
Once you do that, log in with the new account and it should work. If it doesn't go back to the event log and locate the new EventID 1509. </div>
<div style="-webkit-font-smoothing: antialiased; background-color: white; border: 0px; box-sizing: inherit; font-family: "Segoe UI", SegoeUI, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 15px; min-height: 19px; overflow-wrap: break-word; padding: 0px; text-size-adjust: none; vertical-align: top;">
</div>
<div style="-webkit-font-smoothing: antialiased; background-color: white; border: 0px; box-sizing: inherit; font-family: "Segoe UI", SegoeUI, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 15px; min-height: 19px; overflow-wrap: break-word; padding: 0px; text-size-adjust: none; vertical-align: top;">
<span style="-webkit-font-smoothing: antialiased; border: 0px; box-sizing: inherit; font-weight: 600; margin: 0px; padding: 0px; text-size-adjust: none; vertical-align: top;">DO NOT DELETE C:\Users\Default\AppData\Local\Microsoft</span>. Delete the directory that is after that is causing the problem. Deleting the Microsoft or any of the directories about it will cause you all kinds of grief with a resulting rebuild of the computer.</div>
<div style="-webkit-font-smoothing: antialiased; background-color: white; border: 0px; box-sizing: inherit; font-family: "Segoe UI", SegoeUI, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 15px; min-height: 19px; overflow-wrap: break-word; padding: 0px; text-size-adjust: none; vertical-align: top;">
</div>
<div style="-webkit-font-smoothing: antialiased; background-color: white; border: 0px; box-sizing: inherit; font-family: "Segoe UI", SegoeUI, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 15px; min-height: 19px; overflow-wrap: break-word; padding: 0px; text-size-adjust: none; vertical-align: top;">
Good Luck and don't panic. There is a solution, just a question of your patience to find it.</div>
</div>
Dave Mhttp://www.blogger.com/profile/09656190568637048469noreply@blogger.com2tag:blogger.com,1999:blog-3226256727850204996.post-72187142092871771642019-07-30T16:36:00.001-04:002019-07-30T16:36:39.926-04:00Quickbooks multi-user requires NETBOIS namesThis is a quick reminder for myself or anyone who is getting H202 errors or perhaps 6190 and 816 errors, the mapped drives on the remote computers need to refer to the server via NETBOIS name. Oddly, the NETBIOS name was not resolving (pre-empted by the DNS server to an external address) for a setup I worked on.<br />
<br />
My solution was to edit the HOSTS file to hardcode the NETBIOS name so the name could resolve. This fixed my problem.<br />
<br />
Quick big picture process for Quickbooks multi-user hosting.<br />
<br />
1) make sure the Quickbooks database server is installed on the server (this is part of the installation of QuickBooks).<br />
2) Share the folder that the QBW file is located (read and write)<br />
3) Run Quickbooks Database Server on the host machine and scan the folder where the QBW file is located<br />
4) On the other machines, map the share to a network drive using the NETBIOS name<br />
5) Open the QBW file on any computer and put it in multiuser mode.<br />
<br />
<br />Dave Mhttp://www.blogger.com/profile/09656190568637048469noreply@blogger.com2tag:blogger.com,1999:blog-3226256727850204996.post-46296225412210987272019-04-01T12:46:00.000-04:002019-04-01T14:19:00.945-04:00Installing Office 2019 Volume LicenseOffice 2019 Volume License installation has a new installation process. Here's the process I've successfully used.<br />
<br />
<br />
<ol>
<li>Download the Office Deployment Tool from here:<br /><a href="https://www.microsoft.com/en-us/download/details.aspx?id=49117">https://www.microsoft.com/en-us/download/details.aspx?id=49117</a></li>
<li>Create a new file called config.xml in the folder with the decompressed contents of the Office Deployment tool with the content referenced at the bottom of this post. Make sure to add your own Office license MAK key in the PIDKEY area.</li>
<li>From a DOS prompt, navigate to the folder where the files are stored and run:<br />setup.exe /download config.xml </li>
<li>Wait 30 minutes</li>
<li>From a DOS prompt, navigate to the folder where the files are stored and run:<br />setup.exe /configure config.xml</li>
</ol>
<div>
<br /></div>
<div>
Get the content for the confg.xml file from here:<br /><a href="https://community.spiceworks.com/topic/2164757-office-2019-no-msi-to-install-how-do-i-install-it">https://community.spiceworks.com/topic/2164757-office-2019-no-msi-to-install-how-do-i-install-it</a><br />
<br />
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
Dave Mhttp://www.blogger.com/profile/09656190568637048469noreply@blogger.com0tag:blogger.com,1999:blog-3226256727850204996.post-76598878671033347362019-01-10T17:33:00.000-05:002019-01-10T17:33:03.173-05:00tracking disk usage on a MacWhen looking to track disk usage on a PC, I often use <a href="https://www.jam-software.com/treesize_free/">TreeSizeFree</a> - which is awesome. But I struggled to find something like that in a Mac.<div>
<br /></div>
<div>
I have used and like the trial of <a href="https://daisydiskapp.com/">DaisyDisk</a>. It gives a graphical representation of all used files including hidden files and it can help you find things like Apple Mail usage or Outlook usage or itunes backups that can be eating up disk space within the Library folder. </div>
Dave Mhttp://www.blogger.com/profile/09656190568637048469noreply@blogger.com0tag:blogger.com,1999:blog-3226256727850204996.post-88937064007943729062018-11-01T16:23:00.001-04:002018-11-01T16:23:28.380-04:00Windows 7 compression bug fills up hard drive in Windows temp spaceA couple times, I've seen a Windows 7 computer with no free hard drive space and tons of space used in c:\windows\temp. The answer is in this article:<br />
<a href="https://www.computerworld.com/article/3112358/microsoft-windows/windows-7-log-file-compression-bug-can-fill-up-your-hard-drive.html">https://www.computerworld.com/article/3112358/microsoft-windows/windows-7-log-file-compression-bug-can-fill-up-your-hard-drive.html</a><br />
<br />
It's some sort of bug in Windows. The fix is:<br />
<br />
1) stop the Windows Module Installer service<br />
2) move all the files out of c:\windows\logs\cbs (I typically move them to c:\windows\logs\cbs.old)<br />
3) delete all the files in c:\windows\temp<br />
4) reboot<br />
<br />
<br />Dave Mhttp://www.blogger.com/profile/09656190568637048469noreply@blogger.com0tag:blogger.com,1999:blog-3226256727850204996.post-52686222975809251452018-10-09T15:01:00.003-04:002018-10-09T15:08:48.070-04:00Enabling modern authentication (ADAL) on Skype for Business By default, Skype for Business requires users to use App Passwords for logging into Skype for Business.<br />
<br />
I'm stealing the info from this post from this excellent tutorial:<br />
<a href="https://www.ronnipedersen.com/2017/07/11/enable-modern-authentication-for-skype-for-business-online">https://www.ronnipedersen.com/2017/07/11/enable-modern-authentication-for-skype-for-business-online</a><br />
<br />
I'm simplifying for my future use. <b>Important note</b> <b>- the DNS records as defined by Microsoft should be in place before going through this process. Particularly, there should be a CNAME record pointing lyncsicover.domainname.com to webdir.online.lync.com.</b><br />
<div>
<br /></div>
First, download the Visual Basic C++ 2017 redistributable from here:<br />
<a href="https://aka.ms/vs/15/release/VC_redist.x64.exe">https://aka.ms/vs/15/release/VC_redist.x64.exe</a><br />
<br />
This is needed for the Skype for Business Powershell installer.<br />
<br />
Then download the Skype for Business Powershell installer itself:<br />
<a href="https://download.microsoft.com/download/2/0/5/2050B39B-4DA5-48E0-B768-583533B42C3B/SkypeOnlinePowerShell.Exe">https://download.microsoft.com/download/2/0/5/2050B39B-4DA5-48E0-B768-583533B42C3B/SkypeOnlinePowerShell.Exe</a><br />
<br />
<br />
Then run PowerShell and run these commands:<br />
<b>$sfboSession = New-CsOnlineSession -UserName user@domain.com</b><br />
<b>Import-PSSession $sfboSession</b><br />
<br />
Then run:<br />
<b>Get-CsOAuthConfiguration</b><br />
<br />
You'll find a line for "ClientAdalAuthOverride" which will likely show "disabled" which is the behavior we want to change.<br />
<br />
Run this command:<br />
<b>Set-CsOAuthConfiguration -ClientAdalAuthOverride Allowed</b><br />
<b><br /></b>
This process allows ADAL (aka modern authentication). The tutorial I am replicating says this change can take up to 24 hours to take effect, but it often takes effect within one hour.<br />
<br />
<br />
<br />Dave Mhttp://www.blogger.com/profile/09656190568637048469noreply@blogger.com1tag:blogger.com,1999:blog-3226256727850204996.post-43476727023355136002018-09-10T18:54:00.000-04:002018-09-10T18:54:11.157-04:00Office 2016 won't activate with valid volume license keyIf Office 2016 (pre-installed or even a volume license that has been installed and then later been update) won't activate - here's the problem and the fix.<br />
<br />
What it looks like is that you choose to enter a product key, but then Office still won't activate. The problem is that the system still thinks there's a trial version on the system.<br />
<br />
Here's the fix . . .<br />
<br />
Run this from an elevated command prompt:<br />
<br />
(on a 32 bit system):<br />
cscript.exe "C:\Program Files\Microsoft Office\Office16\OSPP.vbs" /dstatus<br />
<br />
(on a 64 bit system)<br />
cscript.exe "C:\Program Files (x86)\Microsoft Office\Office16\OSPP.vbs" /dstatus<br />
<br />
You'll often see something like this (note that there are two versions listed here and one of them is in a grace period):<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://4.bp.blogspot.com/-h3L7s5DooDM/W5b0kMywW6I/AAAAAAAAM7k/5VQZdseKjLM45Tu-1QNVtNP3Wtbj6IhuwCLcBGAs/s1600/office-grace-version.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" data-original-height="417" data-original-width="829" height="200" src="https://4.bp.blogspot.com/-h3L7s5DooDM/W5b0kMywW6I/AAAAAAAAM7k/5VQZdseKjLM45Tu-1QNVtNP3Wtbj6IhuwCLcBGAs/s400/office-grace-version.png" width="400" /></a></div>
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
We can see that the trial version (in grace period) is on there simultaneously with our activated version. The fix is to remove the trial version's license. Here's the command to remove the trial version:<br />
<br />
(on a 32 bit system):<br />
cscript.exe "C:\Program Files\Microsoft Office\Office16\OSPP.vbs" /unpkey:KHGM9<br />
<br />
(on a 64 bit system)<br />
cscript.exe "C:\Program Files (x86)\Microsoft Office\Office16\OSPP.vbs" /unpkey:KHGM9<br /><br />
<br />
You might need to adjust the last 5 characters of the product key to match your specific situation.<br />
<br />
<br />
<br />Dave Mhttp://www.blogger.com/profile/09656190568637048469noreply@blogger.com0tag:blogger.com,1999:blog-3226256727850204996.post-4276550392024266462018-09-02T15:27:00.000-04:002018-09-02T15:27:10.085-04:00Pre-installed Office 2016 won't activate (keeps trying to activate even after entering the correct key)If you're working with a pre-installed Office 2016 (Microsoft Desktop Apps) and you want to activate that installation with a volume license key, you need to make some registry edits. Very, very annoying.<br />
<br />
This page goes over the process:<br />
<a href="https://support.office.com/en-us/article/office-repeatedly-prompts-you-to-activate-on-a-new-pc-a9a6b05f-f6ce-4d1f-8d49-eb5007b64ba1">https://support.office.com/en-us/article/office-repeatedly-prompts-you-to-activate-on-a-new-pc-a9a6b05f-f6ce-4d1f-8d49-eb5007b64ba1</a><br />
<br />
In essence, you delete these two keys:<br />
<br />
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Office\16.0\Common\OEM<br />
<br />
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\16.0\Common\OEM<br />
<br />
<br />
Delete the entire OEM keyDave Mhttp://www.blogger.com/profile/09656190568637048469noreply@blogger.com0tag:blogger.com,1999:blog-3226256727850204996.post-49833217697342008372018-09-01T15:26:00.000-04:002018-09-01T15:26:18.079-04:00Office 2016 installation fail - error 1935I've had trouble with working with pre-installed Microsoft Office 2016 and then uninstalling that version and then installing my own Office 2016.<br />
<br />
Per <a href="https://answers.microsoft.com/en-us/msoffice/forum/msoffice_install-mso_win10-mso_2016/office-2016-professional-plus-error-1935-during/63c027ab-edfb-4a0f-9fc4-4ba8bee0ad30">this page</a>, the answer is to download and run the <a href="https://www.microsoft.com/en-us/download/details.aspx?id=30135">.net framework repair tool</a>. This will solve the issue and allow you to install your own Office 2016 volume license.Dave Mhttp://www.blogger.com/profile/09656190568637048469noreply@blogger.com0tag:blogger.com,1999:blog-3226256727850204996.post-54190174227391556932018-08-23T14:02:00.000-04:002018-08-23T14:02:06.102-04:00Windows unable to check for updates - says service not started (even though the service is started)I've seen a few Windows 7 machines that have Windows Update problems where the machine says the service is not started even the service is started. When this happens, the computer can no longer check for updates and it'll go indefinitely without checking for updates. The fix is to wipe out the update cache and then check for updates again.<br />
<br />
The process as described <a href="https://blogs.technet.microsoft.com/mckittrick/windows-update-issues-clear-windows-update-cache/">here</a>:<br />
<br />
Stop the Windows Update process<br />
Delete the content from c:\windows\softwaredistribution<br />
Start the Windows Update process<br />
<div>
<br /></div>
<div>
Check for Updates.</div>
<div>
<br /></div>
<div>
I also recommend that you make sure the system is set to install updates for all Microsoft products as well. To do that, open Internet Explorer and put microsoft.com in the Compatibility View sites. Then go to <a href="http://update.microsoft.com/microsoftupdate">http://update.microsoft.com/microsoftupdate</a> in IE. </div>
<div>
<br /></div>
<div>
<br /></div>
Dave Mhttp://www.blogger.com/profile/09656190568637048469noreply@blogger.com0tag:blogger.com,1999:blog-3226256727850204996.post-2186654758784346822018-05-25T15:29:00.002-04:002018-05-25T15:29:45.736-04:00Fix for CredSSP terminal server errorsAs of May 2018, I'm seeing several instances of errors connecting to terminal servers due to CredSSP errors. Microsoft released a fix that needs to be applied to both the client and the server. If one is patched, the other needs to be patched. If one is patched and the other is not, the connection will fail.<br />
<br />
The download will vary based on the OS of the unpatched system. Here's the link<br />
<br />
<a href="https://portal.msrc.microsoft.com/en-us/security-guidance/advisory/CVE-2018-0886">https://portal.msrc.microsoft.com/en-us/security-guidance/advisory/CVE-2018-0886</a><br />
<br />
Here's what the error looks like:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://4.bp.blogspot.com/-_CdIvFYXO2k/WwhkCjHAlEI/AAAAAAAAMyE/aarnViGNJzw9qUWgkaKm3gv01Kk54GpbgCLcBGAs/s1600/credssp.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" data-original-height="193" data-original-width="469" height="163" src="https://4.bp.blogspot.com/-_CdIvFYXO2k/WwhkCjHAlEI/AAAAAAAAMyE/aarnViGNJzw9qUWgkaKm3gv01Kk54GpbgCLcBGAs/s400/credssp.png" width="400" /></a></div>
<br />Dave Mhttp://www.blogger.com/profile/09656190568637048469noreply@blogger.com0tag:blogger.com,1999:blog-3226256727850204996.post-50132927320942346772018-02-08T15:32:00.000-05:002018-06-20T16:08:42.747-04:00Storing Mac primary data storage folders within cloud storage foldersOne of my favorite methods of backup is redirecting the primary data storage folders to a cloud service (like Dropbox or Google Drive). On a Mac, the process is not intuitive. Here's my process.<br />
<br />
You need to perform the steps once for each folder you want to move. So if you want to move three folders (desktop, documents, pictures), you'll need to perform the steps three times. The steps involved two commends.<br />
<br />
First, you move the data to the new location. Then you create a symbolic link to the new location. In the examples below are a series of commands for desktop, documents, pictures, music, and movies. The commands with %username% and %Company% would be altered to match the real world situation.<br />
<br />
<b>iMac:~ username$</b> sudo mv ~/Documents "/Users/%username%/Dropbox (%Company%)/laptopdata/Documents"<br />
<b>iMac:~ username$</b> sudo rm -rf ~/Documents/<br />
<b>iMac:~ username$</b> ln -s "/Users/%username%/Dropbox (%Company%)/laptopdata/Documents" ~<br />
<b>iMac:~ username$</b> sudo mv ~/Desktop "/Users/%username%/Dropbox (%Company%)/laptopdata/Desktop"<br />
<b>iMac:~ username$</b> sudo rm -rf ~/Desktop/<br />
<b>iMac:~ username$</b> ln -s "/Users/%username%/Dropbox (%Company%)/laptopdata/Desktop" ~<br />
<b>iMac:~ username$</b> sudo mv ~/Movies "/Users/%username%/Dropbox (%Company%)/laptopdata/Movies"<br />
<b>iMac:~ username$</b> sudo rm -rf ~/Movies/<br />
<div>
<b>iMac:~ username$</b> ln -s "/Users/%username%/Dropbox (%Company%)/laptopdata/Movies" ~</div>
<b>iMac:~ username$ </b>sudo mv ~/Pictures "/Users/%username%/Dropbox (%Company%)/laptopdata/Pictures"<br />
<b>iMac:~ username$</b> sudo rm -rf ~/Pictures/<br />
<div>
<b>iMac:~ username$</b> ln -s "/Users/%username%/Dropbox (%Company%)/laptopdata/Pictures" ~</div>
<b>iMac:~ username</b>$ sudo mv ~/Music "/Users/%username%/Dropbox (%Company%)/laptopdata/Music"<br />
<b>iMac:~ username$</b> sudo rm -rf ~/Music/<br />
<div>
<b>iMac:~ username$</b> ln -s "/Users/%username%/Dropbox (%Company%)/laptopdata/Music" ~</div>
<div>
<br /></div>
Dave Mhttp://www.blogger.com/profile/09656190568637048469noreply@blogger.com0tag:blogger.com,1999:blog-3226256727850204996.post-26270904646332530622018-01-23T17:35:00.002-05:002018-01-23T17:35:42.037-05:00IPS error initiated by Fortigate firewallIn this case, we had a user who had no internet access and got this screen when web browsing.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://1.bp.blogspot.com/-nLQ2-p1QrC0/Wmel5CIMw_I/AAAAAAAAMZA/6Noxl_X2s-8IQL7EAUiRgt6Lw7Paw8BgQCLcBGAs/s1600/IPS.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" data-original-height="304" data-original-width="831" height="234" src="https://1.bp.blogspot.com/-nLQ2-p1QrC0/Wmel5CIMw_I/AAAAAAAAMZA/6Noxl_X2s-8IQL7EAUiRgt6Lw7Paw8BgQCLcBGAs/s640/IPS.png" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
We found that the Fortigate 60D we had was causing this. The cause seems to have been multiple invalid DNS lookups. We didn't find any error logs that suggested that problem, but this is what this IPS block is typically caused by. In the end, we fixed this by changing the user's LAN IP address, but we also could have seen the blocked IP addresses via these commands from the CLI:<br />
<br />
OS 5.0:<br />
get user ban list<br />
<br />
OS 5.2<br />
diagnose firewall ip_host list<br />
<br />
To delete an entry, you'd enter this command:<br />
diagnose firewall ip_host delete src4/src6 <ipv4 ipv6=""></ipv4><br />
<br />
Exmaple:<br />
diagnose firewall ip_host delete src4 10.10.10.21<br />
<br />
The information from this page came from here:<br />
<a href="http://kb.fortinet.com/kb/documentLink.do?externalID=FD36211">http://kb.fortinet.com/kb/documentLink.do?externalID=FD36211</a><br />
<br />
<br />Dave Mhttp://www.blogger.com/profile/09656190568637048469noreply@blogger.com0tag:blogger.com,1999:blog-3226256727850204996.post-72586745071352817952017-10-31T15:25:00.000-04:002017-10-31T15:25:53.074-04:00Ruckus daemon.err wsgclient errors every 5 seconds in the logs (firmware 104.0.0.0.1347)I'm running a Ruckus R600, and I was getting errors every 5 seconds in the logs that looked like this:<br />
<br />
---<br />
Oct 4 13:37:15 RuckusAP daemon.err wsgclient[528]: communicatorInit:364 Init connection failed, ret:124, connectRetry:86990<br />
<br />
Oct 4 13:37:15 RuckusAP daemon.err wsgclient[528]: registration:594 Failed to init socket! ret:124 url:https://RuckusController/wsg/ap<br />
<br />
Oct 4 13:37:20 RuckusAP daemon.err wsgclient[528]: crResloveAddrInfo:152 getaddrinfo failed, ret:-2/Name or service not known<br />
<br />
Oct 4 13:37:20 RuckusAP daemon.err wsgclient[528]: cmrInit:138 Call 'crDefSocketInit()' failed, ip: port:443, ret:124/CR initial socket failed<br />
<br />
<br />
---<br />
<br />
I worked with Ruckus support and found that the Ruckus was reaching out to a cloud server that it was not registered with and receiving these errors. Ruckus said that these errors were normal and not a problem. They walked me through the fix. You fix it by SSLing to the Ruckus (I use Putty for this) and then log in and run these commands (the commands I'm typing are in <b>bold</b>):<br />
<br />
Please login: super<br />
password :<br />
Copyright(C) 2016 Ruckus Wireless, Inc. All Rights Reserved.<br />
<br />
** Ruckus R600 Multimedia Hotzone Wireless AP: 971603500291<br />
<br />
rkscli: <b>set scg disable</b><br />
OK<br />
rkscli: <b>set discovery-agent</b><br />
Commands starting with 'set discovery-agent' :<br />
set discovery-agent : set controller discovery agent {options}<br />
-> disable/enable<br />
-- Configure Controller Discovery Agent Info<br />
<br />
rkscli: <b>set discovery-agent disable</b><br />
OK<br />
<div>
<br /></div>
Dave Mhttp://www.blogger.com/profile/09656190568637048469noreply@blogger.com1tag:blogger.com,1999:blog-3226256727850204996.post-56323287766939630982017-10-25T17:35:00.000-04:002017-10-25T17:36:14.915-04:00Submitting phishing and spam emails to Office365 for analysisI found this link for how you can forward emails that are spam or phishing that are not caught by the Office365 junk filter for further analysis:<br />
<br />
<a href="https://technet.microsoft.com/en-us/library/jj200769%28v=exchg.150%29.aspx?f=255&MSPPError=-2147217396">https://technet.microsoft.com/en-us/library/jj200769%28v=exchg.150%29.aspx?f=255&MSPPError=-2147217396</a>Dave Mhttp://www.blogger.com/profile/09656190568637048469noreply@blogger.com0tag:blogger.com,1999:blog-3226256727850204996.post-24410008894704296812017-10-20T08:54:00.001-04:002017-10-20T08:54:33.640-04:00Remove HP Client Security for Windows 7 to Windows 10 upgradresI was doing a Windows 7 to Windows 10 upgrade the other day on an HP EliteBook 840 and after a series of failures (error code 0xc1900208 - the eventual solution was to remove HP Client Security. It's an incompatible app.Dave Mhttp://www.blogger.com/profile/09656190568637048469noreply@blogger.com0tag:blogger.com,1999:blog-3226256727850204996.post-61337381764110774942017-10-03T16:55:00.000-04:002017-10-03T16:55:17.163-04:00Visual Basic script to delete calendar appointments with a specific subjectI had a user on Outlook for Mac 2016 who had thousands of duplicate appointments (created by an Outlook bug). Here was my fix . . .<br />
<br />
I set up the user's account in my Outlook.<br />
<br />
I pressed alt-F11 and expanded Project1 and then expanded Microsoft Outlook object and then expanded this Outlook session. I double clicked on this Outlook session and put in this text in the right hand pane where DESIRED SUBJECT is the subject of the messages you want to remove.<br />
<br />
When done, I clicked on the play button in the toolbar (green triangle) to run the script.<br />
<br />
<br />
Option Explicit<br />
<br />
Sub deleteOutlookAppt()<br />
Dim olApp As Object 'Outlook.Application<br />
Dim olNS As Object 'Outlook.Namespace<br />
Dim olAptItemFolder As Object 'Outlook.Folder<br />
Dim olAptItem As Object 'Outlook.AppointmentItem<br />
Dim i As Long<br />
<br />
Set olApp = CreateObject("Outlook.Application")<br />
Set olNS = olApp.Session<br />
Set olAptItemFolder = olNS.GetDefaultFolder(9) '9=olFolderCalendar constant<br />
<br />
For i = olAptItemFolder.Items.Count To 1 Step -1<br />
Set olAptItem = olAptItemFolder.Items(i)<br />
If olAptItem.Subject Like "DESIRED SUBJECT" Then<br />
olAptItem.Delete<br />
End If<br />
Next i<br />
<br />
Set olAptItem = Nothing<br />
Set olAptItemFolder = Nothing<br />
Set olApp = Nothing<br />
<br />
End Sub<br />
<div>
<br /></div>
<br />Dave Mhttp://www.blogger.com/profile/09656190568637048469noreply@blogger.com0tag:blogger.com,1999:blog-3226256727850204996.post-52364067462396138632017-09-17T19:04:00.001-04:002017-09-17T19:04:14.755-04:00default password for NEC SV8100 and SV9100 DT700 and DT800 phonesOn IP phones for the NEC SV8100 and NEC SV9100 phone systems (these are DT700 and DT800 phones), the default login for the phones is:<br />
<br />
ADMIN (I've read this is case sensitive)<br />
<span style="background-color: white; color: #333333; font-family: "Open Sans", Arial, sans-serif; font-size: 16px;">66333222 </span>Dave Mhttp://www.blogger.com/profile/09656190568637048469noreply@blogger.com0tag:blogger.com,1999:blog-3226256727850204996.post-92230126552403946342017-08-11T10:57:00.000-04:002018-04-24T14:41:42.057-04:00Slow computer troubleshootingHere's the list of things I do when troubleshooting a slow computer:<br />
<br />
1) Run a malwarebytes scan and remove anything found<br />
2) Install all applicable driver updates<br />
3) Run "sfc /scannow" from an elevated command prompt<br />
4) Install all applicable Windows updates<br />
5) Install all applicable Office updates, if installed separately (true for some versions of Office 2016)<br />
6) Check amount of free disk space (ideally at least 20 GB free)<br />
7) Check for adware/crapware that is installed. Remove by normal add/remove programs<br />
8) Check CPU usage and disk usage for conditions above 99%<br />
<br />Dave Mhttp://www.blogger.com/profile/09656190568637048469noreply@blogger.com0tag:blogger.com,1999:blog-3226256727850204996.post-26272365094210692972017-07-07T09:33:00.001-04:002017-07-07T09:33:31.225-04:00Storing Mac data storage folders (desktop, documents, etc) in a cloud syncing folder (Dropbox, Google Drive, etc)This page talks about methods for moving data storage locations to cloud syncing folders which allows for real time backup of those data storage locations. I use this process often for smaller clients who need/want backup on the cheap. This is particularly easy if they're already using Dropbox or Google Drive or have an Office365 account with OneDrive storage.<br />
<br />
<a href="https://www.howtogeek.com/204595/how-to-move-special-folders-on-os-x-to-cloud-storage/">https://www.howtogeek.com/204595/how-to-move-special-folders-on-os-x-to-cloud-storage/</a><br />
<br />
<br />Dave Mhttp://www.blogger.com/profile/09656190568637048469noreply@blogger.com1tag:blogger.com,1999:blog-3226256727850204996.post-15069275555319318072017-06-23T12:34:00.000-04:002017-06-23T12:34:03.782-04:00Backup and Restore Sticky Notes in Windows 10Here's the process that I found for moving Sticky Notes from a Windows 7 machine to a Windows 10 machines that has the anniversary update. It's a specific process, and here it is (link):<br />
<br />
<a href="http://www.winhelponline.com/blog/recover-backup-sticky-notes-data-file-windows-10/">http://www.winhelponline.com/blog/recover-backup-sticky-notes-data-file-windows-10/</a><br />
<br />
<br />Dave Mhttp://www.blogger.com/profile/09656190568637048469noreply@blogger.com1tag:blogger.com,1999:blog-3226256727850204996.post-48316382961456668472017-05-30T11:43:00.000-04:002017-05-30T11:43:08.571-04:00Replicating Windows 10 Start Menu layoutI found <a href="https://www.groovypost.com/howto/make-the-windows-10-start-menu-duplicate-among-all-user-accounts/">this great post</a> on how to replicate the Windows 10 Start Menu to other profiles on the same computer.<br />
<br />
In brief, run this command from powershell to export the start menu as you've configured it:<br />
Export-Startlayout -path C:\Windows\Temp\SMenu.xml<br />
<br />
Then run this command from powershell to apply that layout to all other profiles:<br />
Import-StartLayout -LayoutPath C:\Windows\Temp\SMenu.xml -MountPath $env:SystemDrive\<br />
<br />Dave Mhttp://www.blogger.com/profile/09656190568637048469noreply@blogger.com0tag:blogger.com,1999:blog-3226256727850204996.post-70938044991035318452017-05-24T13:31:00.000-04:002017-05-24T13:31:45.071-04:00Creating a new Windows profile on Windows 10 (or Windows 8, Windows 7, or Vista)This is what I consider best practice for creating a new Windows profile on Windows 10. Typically, I do this if I think the Windows profile is corrupt in some way and I think a new profile will solve the problem. All of this assumes that you have the user's log in password.<br />
<br />
Step 1: Note the default printer and default browser for the existing profile (or any other things that may be unique to the profile, but those are the two big ones). You might note which programs have been logged in with credentials you don't have as well - Dropbox, Google Drive, Skype, etc<br />
<br />
Step 2: Log in with an account that has local administrator privileges.<br />
<br />
Step 3: Edit the registry and go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList<br />
<br />
Look at the various keys in there and find the one with the value that you want to delete. For example, in the screen shot below, the value c:\users\dave is in the key that begins with S-1-15-21. You delete the entire entry that begins with S-1-15-21.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://2.bp.blogspot.com/-oMQKEeIBopE/WSXCPCnNWHI/AAAAAAAALKY/d2D_hDqskf0XWiVgUbMAZZgWh2i_n82AACLcB/s1600/delete-profile-reg-key.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" data-original-height="531" data-original-width="952" height="355" src="https://2.bp.blogspot.com/-oMQKEeIBopE/WSXCPCnNWHI/AAAAAAAALKY/d2D_hDqskf0XWiVgUbMAZZgWh2i_n82AACLcB/s640/delete-profile-reg-key.PNG" width="640" /></a></div>
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
Step 4: Rename the profile that is going to be deleted. In this example, I'd rename c:\users\dave to c:\users\dave-old<br />
<br />
Step 5: Reboot and then log in as the user. You'll find a brand new profile is created and you can access all the old data in the renamed profile from step 4.<br />
<br />
Step 6: Set up the profile as needed including, but not limited to:<br />
<span style="background-color: white; color: #222222; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: 13.2px;">1) set up Outlook</span><br />
<span style="background-color: white; color: #222222; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: 13.2px;">2) move back data from old profile to new profile:</span><br />
<span style="background-color: white; color: #222222; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: 13.2px;"> a) desktop</span><br />
<span style="background-color: white; color: #222222; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: 13.2px;"> b) documents</span><br />
<span style="background-color: white; color: #222222; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: 13.2px;"> c) all the other stuff that is in c:\users\%username%</span><br />
<span style="background-color: white; color: #222222; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: 13.2px;">3) set up backup</span><br />
<span style="background-color: white; color: #222222; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: 13.2px;">4) set up VPN</span><br />
<span style="background-color: white; color: #222222; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: 13.2px;">5) add back signature using old sent items</span><br />
<div style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;">
6) add printers (if necessary) and set correct default printer</div>
<div style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;">
<span style="background-color: transparent;">7) </span><span style="font-size: 13.2px;">restore browser settings</span></div>
<div style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;">
<span style="font-size: 13.2px;">8) Remind the user that he/she will need to log in to services you don't have the password to (Dropbox, Skype, Google Drive, etc)</span></div>
<div>
<span style="background-color: white; color: #222222; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: 13.2px;"><br /></span></div>
Dave Mhttp://www.blogger.com/profile/09656190568637048469noreply@blogger.com0tag:blogger.com,1999:blog-3226256727850204996.post-53721591362288159432017-03-23T10:30:00.000-04:002017-03-23T10:30:17.039-04:00How to remove entries from a Fortigate IPS block listIf you find that you've got an IP address on the block list that is incorrect, you can remove the entry via CLI. From the CLI, you can run this command to get the list of blocked IP addresses:<br />
<br />
diagnose firewall ip_host list<br />
<div>
<br /></div>
<div>
If the IP address 123.123.123.123 was on the block list, here's how you'd remove it:</div>
<div>
<br /></div>
<div>
diagnose firewall ip_host delete src4 123.123.123.123</div>
<div>
<br /></div>
<div>
<br /></div>
Dave Mhttp://www.blogger.com/profile/09656190568637048469noreply@blogger.com0