Posts

Showing posts from July, 2020

Mac OS Catalina ISO create

Download mac os Open terminal In this step, copy and paste these command one by one. Create a DMG Disk Image hdiutil create -o /tmp/Catalina -size 8500m -volname Catalina -layout SPUD -fs HFS+J Mount it to your macOS hdiutil attach /tmp/Catalina.dmg -noverify -mountpoint /Volumes/Catalina Create macOS Catalina Installer sudo /Applications/Install\ macOS\ Catalina.app/Contents/Resources/createinstallmedia --volume /Volumes/Catalina --nointeraction Unmount Catalina Disk hdiutil detach /volumes/Install\ macOS\ Catalina Convert the DMG file to an ISO file hdiutil convert /tmp/Catalina.dmg -format UDTO -o ~/Desktop/Catalina.cdr Rename and Move to Desktop mv ~/Desktop/Catalina.cdr ~/Desktop/Catalina.iso

Microsoft Auto Update by JAMF Configuration profile

Create Profile and one plist file with below details 1- Preference domain = com.microsoft.autoupdate2 2 {ChannelName=Production, SendAllTelemetryEnabled=true, DisableInsiderCheckbox=false, HowToCheck=AutomaticDownload, EnableCheckForUpdatesButton=true}

JAMF Server upgrade process.

Upgrading JSS Upgrading the JAMF Software Server (JSS) involves the following steps: 1. Prepare to upgrade. 2. Run the JSS Installer. 3. Finalize the upgrade and revert server settings. Note: The JSS Installer cannot be used to upgrade the JSS v8.1 or earlier. Prepare the JSS Installer Download the JSS Installer from JAMF Nation. 1. Connect to JAMF Nation 2. Go to My Assets. 3. Show Alternative Download (Click for Which OS want to download default for mac available.) 4. Down load the file in the server. (Both main server and DMZ if using DMZ) Note- If upgrading from version 9 to 10.5 first need to upgrade to 10.0 then 10.5. Step 1: Prepare to Upgrade Ensure the following: • You are logged in as a local administrator, not as a domain administrator. • Apache Tomcat is stopped. Tom Cat Start using command line On Mac Stop--sudo launchctl unload /Library/LaunchDaemons/com.jamfsoftware.tomcat.plist Start-- sudo launchctl load /Library/LaunchDaemons/com.jamfsoftware....

Important JAMF Port open for communication

APN and activation server to MAC and IOS devices and MAC and IOS Devices to APN (Below destination are by default allowed on network) SOURCE>> All Mac and IOS Devices DESTIONATION >> • 35-courier.push.apple.com 5223 • albert.apple.com 443 • mdmenrollment.apple.com 443 • 1-courier.push.apple.com5223 • gdmf.apple.com 8443 • deviceenrollment.apple.com • identity.apple.com • iprofiles.apple.com APN to JAMF server and JAMF to APN SOURCE>> On primes JAMF server DESTNATION>> • gateway.sandbox.push.apple.com 2195 • gateway.push.apple.com 2195 • feedback.push.apple.com 2196 • feedback.sandbox.push.apple.com 2196 • app.pendo.io 443 For VPP apps install through JAMF SOURCE>> On primes JAMF server DESTNATION>> • itunes.apple.com 80 • vpp.itunes.apple.com 80 • uclient-api.itunes.apple.com 443 For JAMF Nation connection for APN and Patch management SOURCE>> On primes JAMF server DESTNATION>> • jpp.jamfcloud.com 443 • j...

Install Software by script downloading software from website and navigating to folder

{\rtf1\ansi\ansicpg1252\cocoartf2513 \cocoatextscaling0\cocoaplatform0{\fonttbl\f0\fswiss\fcharset0 Helvetica;} {\colortbl;\red255\green255\blue255;} {\*\expandedcolortbl;;} \paperw11900\paperh16840\margl1440\margr1440\vieww10800\viewh8400\viewkind0 \pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural\partightenfactor0 \f0\fs24 \cf0 #!/bin/bash\ \ \ #Go to shared\ \ cd /Volumes/Macintosh\\ HD/Users/\ \ #download tcl zip\ \ curl -LO http://downloads.sourceforge.net/tcl/tcl8.6.5-src.tar.gz \ \ \ #Unzip files\ tar -xvf tcl8.6.5-src.tar.gz\ \ #Go to TCL\ cd /Volumes/Macintosh\\ HD/Users/Shared/tcl8.6.5/unix\ \ #run the command\ ./configure\ \ exit 0\ \ #download expect zip\ \ curl -LO http://prdownloads.sourceforge.net/expect/expect5.45.tar.gz\ \ \ #Unzip files\ tar -xvf expect5.45.tar.gz\ \ #Go to Expect\ cd /Volumes/Macintosh\\ HD/Users/Shared/expect5.45\ \ #run the command\ ./configure\ \ exit 0\ \ \ \ \ }

JAMF IMPO

{\rtf1\ansi\ansicpg1252\cocoartf2512 \cocoatextscaling0\cocoaplatform0{\fonttbl\f0\froman\fcharset0 Times-Roman;} {\colortbl;\red255\green255\blue255;\red0\green0\blue233;} {\*\expandedcolortbl;;\cssrgb\c0\c0\c93333;} \paperw11900\paperh16840\margl1440\margr1440\vieww10800\viewh8400\viewkind0 \deftab720 \pard\pardeftab720\partightenfactor0 {\field{\*\fldinst{HYPERLINK "https://www.jamf.com/jamf-nation/discussions/33780/enable-automatic-software-updates-in-macos-catalina"}}{\fldrslt \f0\fs24 \cf2 \expnd0\expndtw0\kerning0 \ul \ulc2 \outl0\strokewidth0 \strokec2 https://www.jamf.com/jamf-nation/discussions/33780/enable-automatic-software-updates-in-macos-catalina}} \f0\fs24 \cf2 \expnd0\expndtw0\kerning0 \ul \ulc2 \outl0\strokewidth0 \strokec2 \ \ \ {\field{\*\fldinst{HYPERLINK "https://github.com/rtrouton/profiles/blob/master/EnableAutomaticDownloadandInstallationofAppleSoftwareUpdates/EnableAutomaticDownloadandInstallationofAppleSoftwareUpdates.mobileconfig"}}{\fld...

Ghost Record Delete

1. After verifying the behavior above, log into MySQL as root: (Mac File Path)- /usr/local/mysql/bin/mysql -u root -p (Note: Password should be blank by default) 2. Next select the jamfsoftware Database: use jamfsoftware; ( It may different for your databasde name) 3. Next do a count on the computers table: a. OS X: select count(*) from computers; b. iOS: select count(*) from mobile_devices; 4. Next do a count on the computers_denormalized table: a. OS X: select count(*) from computers_denormalized; b. iOS: select count(*) from mobile_devices_denormalized; 5. Compare the counts and if the computers_denormalized/mobile_devices_denormalized count is not the same as the records count proceed to step 6, if it is, further troubleshooting is required to determine the root cause of your error. 6. If there is a ghost record(s) in the JSS, go into that record in the JSS and click on it, and take note of the id number(s) in the URL(s). 7. Verify that that ghost record(s) is/are actuall...

Delete Auto Complete list in outlook mac

1- Compose New Email 2- Type the email ID you and click the X to empty from auto complete list in outlook mac a 3- Now check if the email id is available in auto complete list or not

SQL Command for JAMF to repair data base and delete ghost entry

On Sql window :mysqlcheck --repair On command prompt cd C:\Program Files\MySQL\ On command prompt mysqlcheck -repair jamfsoftware -u root -p On command prompt mysqlcheck -u root -p --repair jamfsoftware On command prompt mysqlcheck -u root -p --optimize jamfsoftware On Sql window: select count(*) from computers; On Sql window: select count(*) from mobile_devices; On Sql window: select count(*) from computers_denormalized; On Sql window: select count(*) from mobile_devices_denormalized; On terminal : curl -k -u jssUser:jssPassword -H "Content-Type: text/xml"  https://jamfprourl/JSSResource/computers/id/117 -X DELETE curl -su username:password "https://server.name.here/JSSResource/computers/id/1024" -X DELETE On terminal : curl -s -k -u jamfadmin:Pradeep@1989 "https://jamf.expo2020.ae:8443/JSSResource/computers/id/117” -X DELETE On terminal : curl -s -k -u jamfadmin -p "https://jamf.expo2020.ae:8443/JSSResource/computers/id/117” -X DELETE ...

Gathered Symantec Details by command

#!/bin/sh # File Name: GatherSymantecInfo.command Version=4.0.8 # Author: Corey Swertfager, Symantec Corporation # Created: 05/07/2009 # Modified: 06/27/2019 # # Usage: See ShowHelp() function. # # Summary: See ShowHelp() function. # # History: 1.00 - Created. # 1.01 - Now makes tools executable before running them. # Added table of contents to report. # Added SymSharedSettingsd -V output. # Added listing of files in Symantec's support folders. # Added display of the last 300 lines in system.log. # Added display of the last 20 lines in: # /Library/Application Support/Symantec/Daemon/error.log # Added date and time to beginning of report. # Added zip program to SupportDir. # Report is now zipped. # 1.02 - Added /private/tmp and /private/var/tmp file listings. # Added display of Syman...