- Instead, you need to download OS X Mavericks from the Mac App Store. Although you see it is OS X 10.9.1, Apple updated that installer in order to upgrade your Mac to the most recent OS X Mavericks version, so you do not need to update OS X again after upgrading. See my first comment.
- How to install apps silently in macOS devices. Hexnode MDM allows store apps purchased via Apple’s Volume Purchase Program (VPP) and enterprise apps to be easily deployed on macOS devices. To push apps to the devices without user intervention, it is necessary to ensure that your organization is enrolled in the Volume Purchase Program.
Select the appropriate download option (for example, 32-bit, 64-bit, or Mac OS) and then click Download. Click Save File if prompted. Navigate to the save file location on your workstation and double-click the installer file. On the Mac OS, you must double-click the installer file after you mount the disk image.
There have been previoushints on how to reset earlier versions of Mac OS X to delete users so that it boots to the Setup Assistant again. This can be useful if you are passing on or selling your computer to someone else. The most recent hint was posted in 2007 for Mac OS X 10.5 and there were significant corrections included in the comments. There is also a command that changed in 10.7 (also in the older hint’s comments) and even with the modifications suggested in the comments, the hint is still incomplete.So instead of adding yet another modification in the comments of a hint related to 10.5, I thought I would submit a new hint brining everything together from the old hint, its comments, changes needed for 10.7, and the missing items I have found. This provides a current version of the hint for 10.7 and presumably 10.8, though I have not been able to test on Mountain Lion.
1: Remove references to, and the stored passwords for, your local WiFi network.
- In the Finder, choose Go > Utilities.
- Open Keychain Access in the Utilities folder.
- If you don’t have a list of keychains on the left, choose View > Show Keychains.
- On the keychains list on the left, select the System keychain. There should be an AirPort network password item in the list for your local WiFi network. Select it and press Delete. Confirm that you want to delete the item and quit Keychain Access.
- Go to System Preferences > Network
- Select Wi-Fi from the list on the left and click the Advanced button on the bottom right.
- In the‘Preferred Networks: list, select your network and click the minus button below the list.
- Click OK and then Apply button in the main Network Preferences window.
- Click Turn Wi-Fi Off, then click it again to turn Wi-Fi back on. It should not connect to your network anymore (and should ask for a password if you try).
3: Boot your Mac into single user mode by restarting and holding down Command-S at startup.
4: Mount the filesystem in write mode and delete the USERNAME home directory.
$ mount -uw /
$ rm -R /Users/USERNAME/
5: Load OpenDirectory so we can remove the system’s record of USERNAME.
$ launchctl load /System/Library/LaunchDaemons/com.apple.opendirectoryd.plist
6: Find the UID of USERNAME.
Silent Install Mac Os App That Requires A User Interface
$ dscl . -read /Users/USERNAME GeneratedUID
In the next step, type in this UID where you see GENERATEDUID written.
7: Remove USERNAME from the systemwide admin group and then remove USERNAME’s record.
$ dscl . -delete /Groups/admin GroupMembers GENERATEDUID
$ dscl . -delete /Groups/admin GroupMembership USERNAME
$ dscl . -delete /Users/USERNAME
8: Remove the Setup Assistant flag so that it runs when the Mac is started up.
$ rm /var/db/.AppleSetupDone
9:[optional] Remove the cache files and virtual memory swapfile.
$ rm -R /Library/Caches/*
$ rm -R /var/vm/swapfile*
Silent Install Mac Os App That Requires A Username
10:
$ shutdown -h now
If you want to check that the Setup Assistant will run, you can turn on your Mac. When the Setup Assistant starts, just press cmd-Q on the keyboard and you will be prompted to shut down. Your Mac has been reset.
[kirkmc adds: I'm running this hint because it contains a lot of useful information. But I wonder why one can't simply erase the hard disk and re-run the installer to get everything back to its initial state. That seems a lot easier to me…]
Whether your IT department locked down your Mac or you grabbed one from eBay that the seller forgot to “clean up”, you may encounter a big problem when trying to install software as a non-admin.
Here’s a possible workaround.
If you’re trying to install software on your Mac the first thing you should do is simply contact your IT department. They can use login to your computer remotely and installed the software for you. You may not like having to wait for IT but it’s not you’re computer so you shouldn’t install stuff on it. Also, you could unwittingly end up installing something that looks benign but is actually nefarious.
That being said, in an emergency there are two possible solutions:
- Drag and Drop
- Single User Mode
When you see the application installation login window you can either beg for the admin password or try a little workaround that I’m about to show you.
First see if you can just drag the app icon into the Applications folder.
If that fails, you could try Control clicking the app and choosing Open Package Details to see if you can modify the info.plist file or whatevever.
There was on old hack that worked on older versions of Mac OS X that let you modify a string in info.plist which effectively disabled authentication. Well I haven’t found a way to get this work in Mac OS X Yosemite so I’m going to assume it doesn’t work anymore.
One other possibility is to boot the Mac to Single User Mode and use the Directory Services Command Line tool to join your non-admin account to the administrator group.
Reboot and hold down Command + s until you see a black screen appear with a bunch of white text.
Silent Install Mac Os App That Requires A User Manual
After a few seconds you’ll at something that resembles a Unix prompt.
First we need to mount the root file system so type
This mounts the root file system for read-write access.
Silent Install Mac Os App That Requires A User Manager
Then type:
Replace <usernameToBeGivenRoot> with your non-admin username.
If you need to list the users and groups you can type:
Press Enter, type reboot and login with your non-admin account.
Ultimately, you shouldn’t try to “hack around” the password security mechanisms that prevent you from installing software. These features are here for a reason and unless you really know what you’re doing some of the tutorials out there can leave you with a broken PC and a chagrined look on your face when you call IT and they ask you what happened.