Technical professionals. Trusted advisors. Certified expertise.

HCS Blog

Problem-solving by Apple Certified Professionals
Feb
02

Enable the Managed Client Debug Log for OS X

Enable the Managed Client Debug Log for OS X

Launch Terminal.app

Type the following commands:

sudo defaults write /Library/Preferences/com.apple.MCXDebug debugOutput -2

sudo defaults write /Library/Preferences/com.apple.MCXDebug collateLogs 1

sudo touch /var/db/MDM_EnableDebug

* Log is written to: /Library/Logs/ManagedClient/ManagedClient.log

Feb
02

Re-enroll a Mac into the Device Enrollment Program (DEP) without erasing.

Re-enroll a Mac into the Device Enrollment Program (DEP) without erasing

Launch Terminal.app


Type the following commands:

sudo rm /var/db/.AppleSetupDone

sudo rm -rf /var/db/ConfigurationProfiles/

sudo rm /Library/Keychains/apsd.keychain


Restart the Mac and re-enroll via DEP

Nov
05

OS X Server: Caching Service Registration

The Caching Service updates it's registration with Apple every 55 minutes, as registrations expire on Apple's side after 1 hour. This mechanism not only allows for a crashed Caching server to be removed from registry but also to track changes in the public IP.

Changing the Only cache content for local networks setting causes an immediately re-registration, removing the local network range from the registration payload when the setting is turned off.

On Stop
When the Caching Server stops it deregisters with lcdn-registration.apple.com allowing clients to download updates from Apple servers again.

Nov
05

OS X Server: Performance Mode

The –perfmode option indicates whether or not the performance mode has been enabled, dedicating resources to binaries within the Server app:

serverinfo --perfmode

If the performance mode has not been enabled then the output will be as such:

Server performance mode is NOT enabled.
To enable performance mode, you can also use serverinfo. This is the only task that the command does that can make any changes to the system and as such is the only time you need to elevate privileges:

sudo serverinfo —setperfmode 1

Or set the boolean value back to 0 to disable.

sudo serverinfo —setperfmode 0

Nov
05

serverdiagnose Command to Troubleshoot OS X Server

Command to Troubleshoot OS X Server

Location of executable: /Applications/Server.app/Contents/ServerRoot/usr/sbin

Continue reading

Locations


New York

Connecticut
Florida
Louisiana
Chicago

Corporate Headquarters
New York

80 Orville Drive Suite 100
Bohemia, NY 11716
Tel: (866) 518-9672
This email address is being protected from spambots. You need JavaScript enabled to view it.

Connecticut

65 High Ridge Road #510
Stamford, CT 06905
Tel: (866) 518-9672
This email address is being protected from spambots. You need JavaScript enabled to view it.

Florida

3321 SW 194th Terrace
Miramar, FL 33029
Tel: (866) 518-9672
This email address is being protected from spambots. You need JavaScript enabled to view it.

Louisiana

218 Barksdale Drive
Broussard LA 70518
This email address is being protected from spambots. You need JavaScript enabled to view it.

Chicago

4 Knollwood Place
Joliet, IL 60433
This email address is being protected from spambots. You need JavaScript enabled to view it.

London

10 Grosvenor Court
Rayners Road
London SW15 2AX UK

Stay Connected

© Copyright 2023, HCS Technology Group. All Rights Reserved.