Category Archives: Labs

Posts about computer labs and classrooms at Williams College

Windows 10 – SMB Guest access denied by default

Windows 10 now, by default, denies an SMB client from connecting to an SMB server with “guest access”.  See: https://support.microsoft.com/en-us/help/4046019/guest-access-in-smb2-disabled-by-default-in-windows-10-and-windows-ser The temporary fix is to change the registry to allow guest account access With windows regedit I set : HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters … Continue reading

Posted in Labs, Software | Tagged , | Comments Off on Windows 10 – SMB Guest access denied by default

Windows 10 – Remote Desktop Access for AD group

To allow users in an AD group to access windows 10 desktops remotely … 1) Create the group as a global group in the AD 2) Create an OU for computers that will be in the “Remote Access Pool” 3) … Continue reading

Posted in Labs | Tagged | Comments Off on Windows 10 – Remote Desktop Access for AD group

Mac – JAMF manual agent installation

Sometimes, (in my case when using DEP enrollment on a slow wifi connection) the Jamf agent doesn’t get installed properly during DEP enrollment. To fix that here is what I did: I first ran the following commands to manually download … Continue reading

Posted in Labs, Software | Tagged , , | Comments Off on Mac – JAMF manual agent installation

MacOS – Add Active Domain group to local mac group

In testing, we found that remote connections from windows clients to the built-in macOS VNC server were not encrypted in any way. To resolve this we decided to use RealVNC as the screen sharing server on Macs. Also, since we … Continue reading

Posted in Articles, Labs | Tagged , , | Comments Off on MacOS – Add Active Domain group to local mac group

Windows – Windows to Go – Portable Windows on an external disk

“Windows To Go” is a portable windows environment that Microsoft developed. While Microsoft says they are no longer developing this, it is still available for use on recent versions of windows 10. For the Microsoft overview see: https://docs.microsoft.com/en-us/windows/deployment/planning/windows-to-go-overview I have … Continue reading

Posted in Labs, Software | Tagged , | Comments Off on Windows – Windows to Go – Portable Windows on an external disk

MacOS – Disabling Sleep option from Finder menu

We find that if people manually sleep a mac running Mojave (10.14.5) from the Finder menu that mac is then nearly impossible to wake up. So, at least on lecterns, I am using this command to disable the sleep menu … Continue reading

Posted in Labs | Tagged , | Comments Off on MacOS – Disabling Sleep option from Finder menu

MacOS – Script – Getting the logged in user

loggedInUser=$( scutil <<< "show State:/Users/ConsoleUser" | awk '/Name :/ && ! /loginwindow/ { print $3 }' ) For more details see: https://scriptingosx.com/2019/09/get-current-user-in-shell-scripts-on-macos/

Posted in Labs | Tagged , , | Comments Off on MacOS – Script – Getting the logged in user

Windows 10 – Creating Image for Windows to Go external disks

In 2018 we started using “Windows to Go” on externally boot-able disks to provide the “windows” half of a dual-boot mac. To make this work you need to do the following … 1) Purchase really fast external SSD drives of … Continue reading

Posted in Articles, Labs | Tagged , , | Comments Off on Windows 10 – Creating Image for Windows to Go external disks

Mac – Installing Spartan ’18 from JAMF

To install Spartan ’18 with a network license server correctly as a push from Jamf: 1) First create a package that installs the Spartan ’18 application to the /Applications folder and push that from Jamf 2) Create a script (example … Continue reading

Posted in Labs, Software | Tagged , | Comments Off on Mac – Installing Spartan ’18 from JAMF