Posts

Showing posts from 2018

MAC OS Update script for mac

#!/bin/bash /Applications/Install\ macOS\ Mojave.app/Contents/Resources/startosinstall --nointeraction

Script for microsoft auto update in jamf

#!/bin/bash defaults write com.microsoft.autoupdate2 HowToCheck AutomaticDownload

How to install jave through JAMF

How to install JAVA on mac through jamf When you mount the DMG. Right-Click to "Show Package Contents"/Resources/ on the JavaXXX.app. Then, copy out the JavaAppletPlugin.pkg. You can simply upload this package via casper admin and JAMF will be able to deploy it. Thats how I currently deploy Java. Drag to JAMF Admin and create policies.

Use Outlook 2016 for Mac with Kerberos authentication

Issue---While working on any office file one pup up will come (Kerberos authentication) Resolved-  >Update latest office  >We have to add below line into our bypass proxy under network setting. System preferences>Network>Select connected internet>Advanced>Proxies>Select Secure web proxy>Under by pass proxy setting add below line and click on use passive ftp mode. Restart the device. omextemplates.content.office.net office15client.microsoft.com

iPad not detecting after login screen

if iPad is detecting on user option but not detecting after selecting and put the password. No1- Try with different Apple device and other device to check the USB port of laptop (USB Port Working ) No2- Try Connecting iPad with different laptop windows/ Mac ( iPad detecting) No3- Restore the iPad with latest software it will detect on mac after putting password.  

How to import windows outlook mail into Apple Mail

Windows mail content  .PST so we have change the format as Apple mail will support .mbox. If Your Outlook is working in windows then below steps will help If you need to migrate from Outlook to MBOX, MessageExport can help. MessageExport is an add-in for Microsoft Outlook that can convert your Outlook .pst to .mbox. Finally, select your messages or folders, choose MBOX as the target format from the MessageExport toolbar, and then click the "Export" button. MessageExport will begin converting the email stored in your Outlook .PST file to MBOX format. You can then import your MBOX file into other email clients, such as Thunderbird. If Your Outlook is not working in windows then below steps will help Import the .pst mail box into working outlook and follow above steps ,  if there is no windows and outlook then follow below steps. Download below software from App store and convert  into .mbox from .pst. and follow onscreen steps. For mac https://itunes.apple.com/in/app/pst-c...

Reset permissions

Image
Reset permissions If the issue started after changing the permissions of items in your home folder, reset permissions: From the Finder menu bar, choose Go > Home. Your home folder opens. Choose File > Get Info. An Info window for your home folder opens. If the Sharing & Permissions section at the bottom of the window isn't open, click the triangle   in that section to open it. If the Lock button at the bottom of the window shows a closed lock   , click the lock and enter an administrator name and password. Click the Action menu   in the bottom corner of the window, then choose “Apply to enclosed items.” Click OK to confirm the action. A progress bar appears at the top of the window.   When the progress bar completes, open the Terminal app, which is in the Utilities folder of your Applications folder. Paste or type this command in Terminal, then press Return: diskutil resetUserPermissions / `id -u` ...

Hide All Desktop Icons in Mac OS X

defaults write com.apple.finder CreateDesktop -bool false killall Finder Show All Desktop icons defaults write com.apple.finder CreateDesktop -bool true;killall Finder;say icons visible  

How to view user library permanently

There is a command in terminal by using below command user/library will visible permanently chflags nohidden ~/Library/

How to convert .app to .iso in high sierras

Note- High sierra .app application should be in application folder. hdiutil attach /Applications/Install\ macOS\ High\ Sierra.app/Contents/SharedSupport/InstallESD.dmg -noverify -mountpoint /Volumes/highsierra hdiutil create -o /tmp/HighSierraBase.cdr -size 7316m -layout SPUD -fs HFS+J hdiutil attach /tmp/HighSierraBase.cdr.dmg -noverify -mountpoint /Volumes/install_build asr restore -source /Applications/Install\ macOS\ High\ Sierra.app/Contents/SharedSupport/BaseSystem.dmg -target /Volumes/install_build -noprompt -noverify -erase rm /Volumes/OS\ X\ Base\ System/System/Installation/Packages cp -R /Volumes/highsierra/Packages /Volumes/OS\ X\ Base\ System/System/Installation hdiutil detach /Volumes/OS\ X\ Base\ System/ hdiutil detach /Volumes/highsierra/ mv /tmp/HighSierraBase.cdr.dmg /tmp/BaseSystem.dmg # Restore the 10.13 Installer's BaseSystem.dmg into file system and place custom BaseSystem.dmg into the root hdiutil create -o /tmp/HighSierra.cdr -size 8965m -layout SP...

Exchange mail servicer setting

If previously You are using any mail server and now if moved from old mail server to new mail server  then will get problem if we configure outlook 2016 mac with new mail server. Problems- Outlook 2016 by default will take old server. Resolved - 1 Delete DNS from your exchange mail server of OLD server. Deafult mail account setting.                   2 Update latest outlook 2016 as its not supporting with Exchange 2010 server                    3 Try suing same email ID with different mail client if its working then this compiatable  issue with mail server.  

Document: Hide All Desktop Icons in Mac OS X.html.html

defaults write com.apple.finder CreateDesktop -bool false killall Finder Show All Desktop icons defaults write com.apple.finder CreateDesktop -bool true;killall Finder;say icons visible  
Image
Reset permissions If the issue started after changing the permissions of items in your home folder, reset permissions: From the Finder menu bar, choose Go > Home. Your home folder opens. Choose File > Get Info. An Info window for your home folder opens. If the Sharing & Permissions section at the bottom of the window isn't open, click the triangle   in that section to open it. If the Lock button at the bottom of the window shows a closed lock   , click the lock and enter an administrator name and password. Click the Action menu   in the bottom corner of the window, then choose “Apply to enclosed items.” Click OK to confirm the action. A progress bar appears at the top of the window.   When the progress bar completes, open the Terminal app, which is in the Utilities folder of your Applications folder. Paste or type this command in Terminal, then press Return: diskutil resetUserPermissions / `id -u` ...
Windows mail content  .PST so we have change the format as Apple mail will support .mbox. If Your Outlook is working in windows then below steps will help If you need to migrate from Outlook to MBOX, MessageExport can help. MessageExport is an add-in for Microsoft Outlook that can convert your Outlook .pst to .mbox. Finally, select your messages or folders, choose MBOX as the target format from the MessageExport toolbar, and then click the "Export" button. MessageExport will begin converting the email stored in your Outlook .PST file to MBOX format. You can then import your MBOX file into other email clients, such as Thunderbird. If Your Outlook is not working in windows then below steps will help Import the .pst mail box into working outlook and follow above steps ,  if there is no windows and outlook then follow below steps. Download below software from App store and convert  into .mbox from .pst. and follow onscreen steps. For mac https://itunes.apple.com/in/app/pst-c...
if iPad is detecting on user option but not detecting after selecting and put the password. No1- Try with different Apple device and other device to check the USB port of laptop (USB Port Working ) No2- Try Connecting iPad with different laptop windows/ Mac ( iPad detecting) No3- Restore the iPad with latest software it will detect on mac after putting password.
Image
Set a FileVault recovery key for Mac computers in your institution Learn how to make sure that users can recover FileVault-encrypted data if they can’t log in to their Mac. These steps require  FileVault 2  in OS X Lion or later. Create a master password and private recovery key First, create a master password and private recovery key on one of your Mac computers: Choose the Apple  menu > System Preferences, then click Users & Groups. Click the Lock   button, then enter a user name and password. From the Action   menu, choose Set Master Password. Enter and verify your master password, then click OK. Move the file at /Library/Keychains/FileVaultMaster.cer to the Trash. Copy the file at /Library/Keychains/FileVaultMaster.keychain to a secure location, like an external drive or an encrypted disk image on another physical disk. This FileVault master keychain contains the private FileVault recovery key. You can use this...
If your Mac doesn't have a keyboard to start up in safe mode or if you can't use the Shift key If your Mac doesn't have a keyboard available to start in safe mode, but you have remote access to your Mac, you can configure the Mac to start up in safe mode using the command line. Access the command line by opening Terminal remotely, or logging into the computer using SSH. Use the following Terminal command: sudo nvram boot-args="-x" If you want to start in verbose mode as well, use this instead: sudo nvram boot-args="-x -v"   After using safe mode, use this Terminal command to return to a normal startup: sudo nvram boot-args=""
Deleting and merging a partition with diskutil from the command line This is the most precise method I know of to remove the partition since it targets the recovery disk directly and merges it with the full Lion partition – if you’re not comfortable with the command line this is not for you. Launch the Terminal and type the following into the command line: diskutil list This will print out your drives partition scheme and look something like this: Look for “Recovery HD” and see which identifier it is using, it this screenshot it’s disk0s4 To remove that partition we use the following command (you can also use the volume name): diskutil eraseVolume HFS+ Blank /dev/disk0s4 The partition will be erased, you might want to do this with your standard Lion partition as well since you’ll be wiping the entire thing anyway. Regardless, you’ll now have a blank partition sitting around, so you’ll want to merge that with your other Lion partition: diskutil mergePartitions HFS+ Lion ...

iPad not detecting after login screen

if iPad is detecting on user option but not detecting after selecting and put the password. No1- Try with different Apple device and other device to check the USB port of laptop (USB Port Working ) No2- Try Connecting iPad with different laptop windows/ Mac ( iPad detecting)

How to import windows outlook mail into Apple mail

Windows mail content .PST so we have change the format as Apple mail will support .mbox. If Your Outlook is working in windows then below steps will help If you need to migrate from Outlook to MBOX, MessageExport can help. MessageExport is an add-in for Microsoft Outlook that can convert your Outlook .pst to .mbox. Finally, select your messages or folders, choose MBOX as the target format from the MessageExport toolbar, and then click the "Export" button. MessageExport will begin converting the email stored in your Outlook .PST file to MBOX format. You can then import your MBOX file into other email clients, such as Thunderbird. If Your Outlook is not working in windows then below steps will help Import the .pst mail box into working outlook and follow above steps , if there is no windows and outlook then follow below steps. Download below software from App store and convert into .mbox from .pst. and follow onscreen steps. For mac https://itunes.apple.com/in/app/p...

Restrict USB Ports:

Restrict USB Ports: You can modify it slightly as well to lock out standard users completely by requiring an administrator username and password to mount storage devices. Step-1: USB ports blocked and Profile Enable I have created the USB ports, App Store, CD & DVD and iCloud blocking profile through JAMF Pro and exported. We have tested in one Mac, All USB ports, App Store,CD & DVD and iCloud blocked.We tried to delete the profile from Mac, but it will ask administration password for delete.After enter the administration password, profile will delete from Mac and all ports will works fine. Step-2: USB ports blocked and Profile disabled. I have created the USB ports, App Store, CD & DVD and iCloud blocking profile through JAMF Pro and exported. We have tested in one Mac, All USB ports, App Store,CD & DVD ,iCloud blocked and profile disabled. We tried to delete the profile from Mac but we can’t able to delete from system preferences.Because profile disabled condition ,y...

How to remove or check profile installed in mac

You can remove all profiles using. /usr/bin/profiles -D  ( enable root user then switch user to root) You can check how many profiles are installed /usr/bin/profiles -L /usr/bin/profiles -P I usually run the command to remove the mdm profile then do a jamf manage command to bring it back. Seems to work. #!/bin/sh sudo jamf removemdmprofile #!/bin/sh sudo jamf manage

macOS Sierra: Change your computer’s local hostname

Your computer’s local hostname is displayed on your local network so others on the network can connect to your Mac. It also identifies your Mac to other Bonjour-compatible apps and services. The local network name is displayed beneath the computer’s name at the top of the pane. The local network name is your computer’s name with “.local” added, and any spaces are replaced with hyphens -. For example, if your computer’s name is My Computer, your local network name is “My-Computer.local.” If your Mac has the exact name of another Mac on your local network, a number is added to the local network name. Local network names are not case sensitive, so “my-computer.local” is the same as “My-Computer.local.” Open Sharing preferences (choose Apple menu > System Preferences, then click Sharing). Click Edit, then enter a new local hostname. If your computer name is not recognized by Bonjour, the local network name is Macintosh.local.