{
	"id": "21cad8bd-8ff8-4e46-a719-86bb3a8d731c",
	"created_at": "2026-04-06T00:12:21.760049Z",
	"updated_at": "2026-04-10T03:21:04.434801Z",
	"deleted_at": null,
	"sha1_hash": "905d6c7f9ef8941b2c4fe7b88acf487cf1afc8d3",
	"title": "Adding Login Items",
	"llm_title": "",
	"authors": "",
	"file_creation_date": "0001-01-01T00:00:00Z",
	"file_modification_date": "0001-01-01T00:00:00Z",
	"file_size": 49690,
	"plain_text": "Adding Login Items\r\nPublished: 2016-09-13 · Archived: 2026-04-05 20:48:08 UTC\r\nThere are two ways to add a login item: using the Service Management framework, and using a shared file list\r\nLogin items installed using the Service Management framework are not visible in System Preferences and can\r\nonly be removed by the application that installed them.\r\nLogin items installed using a shared file list are visible in System Preferences; users have direct control over them.\r\nIf you use this API, your login item can be disabled by the user, so any other application that communicates with it\r\nit should have reasonable fallback behavior in case the login item is disabled.\r\nAdding Login Items Using the Service Management Framework\r\nApplications can contain a helper application as a full application bundle, stored inside the main application\r\nbundle in the Contents/Library/LoginItems directory. Set either the LSUIElement or LSBackgroundOnly key\r\nin the Info.plist file of the helper application’s bundle.\r\nUse the SMLoginItemSetEnabled function (available in OS X v10.6.6 and later) to enable a helper application. It\r\ntakes two arguments, a CFStringRef containing the bundle identifier of the helper application, and a Boolean\r\nspecifying the desired state. Pass true to start the helper application immediately and indicate that it should be\r\nstarted every time the user logs in. Pass false to terminate the helper application and indicate that it should no\r\nlonger be launched when the user logs in. This function returns true if the requested change has taken effect;\r\notherwise, it returns false . This function can be used to manage any number of helper applications.\r\nIf multiple applications (for example, several applications from the same company) contain a helper application\r\nwith the same bundle identifier, only the one with the greatest bundle version number is launched. Any of the\r\napplications that contain a copy of the helper application can enable and disable it.\r\nAdding Login Items Using a Shared File List\r\nThis method is available in OS X v10.5 and later. For specific details, see the appropriate functions in Launch\r\nServices Reference.\r\nDeprecated APIs\r\nIn previous versions of OS X, it is possible to add login items by sending an Apple event, by using the\r\nCFPreferences API, and by manually editing a property list file. These approaches are deprecated.\r\nIf you need to maintain compatibility with versions of OS X prior to v10.5, the preferred approach is to use Apple\r\nevents; for details, see LoginItemsAE. Using the CFPreferences API is an acceptable alternative. You should not\r\ndirectly edit the property list file on any version of OS X.\r\nhttps://developer.apple.com/library/content/documentation/MacOSX/Conceptual/BPSystemStartup/Chapters/CreatingLoginItems.html\r\nPage 1 of 2\n\nSource: https://developer.apple.com/library/content/documentation/MacOSX/Conceptual/BPSystemStartup/Chapters/CreatingLoginItems.html\r\nhttps://developer.apple.com/library/content/documentation/MacOSX/Conceptual/BPSystemStartup/Chapters/CreatingLoginItems.html\r\nPage 2 of 2",
	"extraction_quality": 1,
	"language": "EN",
	"sources": [
		"MITRE"
	],
	"references": [
		"https://developer.apple.com/library/content/documentation/MacOSX/Conceptual/BPSystemStartup/Chapters/CreatingLoginItems.html"
	],
	"report_names": [
		"CreatingLoginItems.html"
	],
	"threat_actors": [],
	"ts_created_at": 1775434341,
	"ts_updated_at": 1775791264,
	"ts_creation_date": 0,
	"ts_modification_date": 0,
	"files": {
		"pdf": "https://archive.orkl.eu/905d6c7f9ef8941b2c4fe7b88acf487cf1afc8d3.pdf",
		"text": "https://archive.orkl.eu/905d6c7f9ef8941b2c4fe7b88acf487cf1afc8d3.txt",
		"img": "https://archive.orkl.eu/905d6c7f9ef8941b2c4fe7b88acf487cf1afc8d3.jpg"
	}
}