Tuesday, June 14, 2022

Windows logon hangs at Other User Welcome message

 We had a newly setup server exhibit a very slow logon due to hanging at 'Other User Welcome' screen (for a minute or two).  I could not find anything related in the event logs.  I couldn't find anything relevant on the system to explain this hang.

I googled this issue and finally found something that worked.  The problem had to due with the server and Azure Active Directory.

I was able to fix the slow logon by running the elevated command: dsregcmd.exe /leave

Before disjoining it, if I ran the command dsregcmd.exe /status everything appeared normal to me and it appeared to be AAD joined.  I am not sure why leaving AAD resolves this slow logon issue but I wanted to document it in case this helps anyone else.

Thursday, December 12, 2019

Macintosh - Box Drive causes Finder to go to Not Responding for 5+ minutes

I recently ran into this issue with a user who upgraded to MacOS Catalina.  This user stores much of their data in Box Drive and uses it regularly.  After they upgraded to Catalina, anytime they clicked the 'Box' folder in Finder, Finder would stop responding for a long time.  Eventually, it responds and he can use it.

I did much troubleshooting trying to find what was causing this issue. I didn't find anything online that was helpful.  I uninstalled and reinstalled Box Drive, which did not help.  One test I conducted that was helpful; I logged on with my profile and accessed my Box drive.  It worked fine.  That told me this was most likely due to something in the user's profile.

I used Activity Monitor to explore the 'Open Files and Processes' associated with the Box process.  I recorded the output in the box to get the different paths where it stores and uses data.

To make this post short, if you run into this issue, you can try the following steps:

  1. First, make sure Box is not running.  You can end the process from Activity Monitor if needed.
  2. Rename this folder (replace <username> with their username)  /Users/<username>/Library/Application Support/Box to /Users/<username>/Library/Application Support/Box.bak
  3. Open Box and see if it works normally now.


Monday, October 28, 2019

Annoying Ads in lower right portion of desktop with Google Chrome?

Block websites abusing the notifications functionality of Google Chrome from popping up ads on your machine

I worked on a system that would get large, annoying, sometimes bizarre, ads in the lower right portion of the desktop, right above the systray.  In this particular case, they were coming from https://daily.foundation

If the ads say Google Chrome - some name then you can remove them by following the steps below:


  1. Click the 3 dot menu item in the upper right portion of Chrome
  2. On the menu click 'Settings'
  3. Scroll to the bottom of the Settings menu and click 'Advanced' (if Advanced options are already exposed you will see them listed under 'Advanced')
  4. Under 'Privacy and Security' click on 'Site Settings'
  5. In the list of Site Settings, click on 'Notifications'
  6. You should see 'Ask before sending', make sure the slider is turned on
  7. Under allow, look for any websites you don't want to be allowed to automatically pop up things, like ads.
    1. To the right of an unwanted site, click the 3-dot menu item
    2. On the menu that pops up, choose 'Block'
    3. Repeat this for any and all sites you want to block
  8. You can close the Settings window once you have made the above changes
  9. Hopefully, those annoying ads will be gone now


Monday, June 17, 2019

Jamf JSS, JSS Importer, and Spruce

I recently found out about Spruce (Spruce).  Spruce can help clean up a JSS server.
From the author's GitHub page: " Spruce looks for objects on your JSS which have no current usage, are out of date, or are otherwise crufty"

My JSS server uses a self-signed certificate.  I have JSSImporter already configured and working.  When I went to use Spruce I would get this error:
requests.exceptions.SSLError: HTTPSConnectionPool(host='ndh-jss-01.corp.contoso.com', port=8443): Max retries exceeded with url: /JSSResource/distributionpoints (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', 'sslv3 alert handshake failure')],)",),))
I had installed python-jss using 'sudo pip install python-jss'

Event though Spruce reads the JSSImporter preferences file for connection information, it would not successfully connect to my JSS.

I found a resolution.  In my case I needed to edit this file:
 /Library/Python/2.7/site-packages/jss/tlsadapter.py

Near the bottom of the file I changed:
ssl_version=ssl.PROTOCOL_TLSv1) 
to this:
ssl_version=ssl.PROTOCOL_TLSv1_2) 

After this change my sslv3 error went away and Spruce was able to connect to the JSS server.

Wednesday, March 07, 2018

Windows 10 with Ubuntu: Install error CanonicalGroupLimited.UbuntuonWindows cannot be found or cannot be accessed

CanonicalGroupLimited.UbuntuonWindows error message

On Windows 10 Enterprise build 1709 I installed the Windows Subsystem for Linux. Next I open the Microsoft Store and did a search for Ubuntu. That gave me the option to Launch which then triggered the install. The last step was a shell prompt asking me to setup a user and passphrase. After that I could use the Ubuntu command line shell (bash).

Later on, something went wrong and I stopped being able to use Ubuntu. I cannot remember for sure but I think I wanted to uninstall and reinstall. I removed the Windows Subsystem for Linux (control panel>add remove features>turn windows features on or off>Windows Subsystem for Linux - unchecked the box, clicked ok, and rebooted when prompted). I then put back the subsystem by going back and checking the box.

 After than, I went to the MS Store and tried to launch Ubuntu. I started getting the error about unable to access ...CanonicalGroupLimited.UbuntuonWindows... from C:\Program Files\WindowsApps. I tried many different recommendations to resolve this issue. I finally found something that worked.

 For me, going to the Start Menu on Windows and right clicking the Ubuntu tile and choosing uninstall seemed to remove the bits that were causing this issue. After uninstalling Ubuntu from there (it is not listed in the add remove programs list) I was able to go back to the store, launch, and it reinstalled successfully. Many of the issues described in this thread (and proposed solutions) did not work for me but the above steps did. I did not know about the uninstall by right clicking the tile in the Start Menu. I had thought that maybe there were leftovers in the registry or file system that made Windows think Ubuntu was fully installed when it was not. By being able to trigger the uninstall, that allowed Windows to reinstall and thereby fix the issue. I wanted to share this potential solution as so many other attempted solutions did not work.

The above steps may also work for the other Linux distros in the Microsoft Store, or possibly other MS Store installed apps.

BTW - some people have success by using the diagnostic/repair tool http://aka.ms/diag_apps10
It appears some temp file paths get changed and cause a breakage.  For me the repair tool did not work.

Also, the repair tool insisted UAC needed to be enabled for Ubuntu to work but that is not the case. The UAC is not required.

Monday, October 03, 2016

Updating Offline Windows 10 with NTLite and enabling .Net 3.5

For imaging I use an extracted .ISO of Windows 10 Enterprise, apply updates using WHDownloader and NTLite, and make settings changes.

One thing missing that needs to be included is the Feature .Net 3.5.  Without this, problems will most likely occur down the road.  This is not listed as an option in NTLite.
But there is an easy solution.  Click on the Updates page of NTLite.  Now browse to your extracted ISO of Windows 10. Specifically to \Sources\SXS

Drag the Microsoft-windows-netfx3-ondemand-package.cab file and drop it on the Update page.  It will now get installed with the other updates you have selected into your updated install.wim.

New beginner's guide to PowerShell on my GitHub page

 I created a beginner's guide to PowerShell here: https://github.com/aamjohns/Powershell_Guide/blob/main/README.md I hope it helps someo...