17.8 C
New York
Saturday, September 21, 2024

macos – Are there command line instruments to delete hidden login iterms from backgrounditems.btm?


I’m working MacOS Massive Sur. I put in some apps downloaded on-line. I came upon many apps had been began robotically at startup.

I found out they had been began from the file backgrounditems.btm which is situated at ~/Library/Utility Help/com.apple.backgroundtaskmanagementagent/. The file shops Login Gadgets.

By working a python script downloaded on-line, I can see many Login Gadgets registerd within the file backgrounditems.btm and they’re NOT proven in System Preferences > Customers > myuser > Login Iterms.

I attempted the command osascript -e 'inform software "System Occasions" to delete login merchandise "identify"' to delete the hidden login iterm, however failed with error message “36:73: execution error: System Occasions obtained an error: Can’t get login merchandise “myapp.app”. (-1728)”

These hidden login iterms are additionally NOT proven after I use the command osascript -e 'inform software "System Occasions" to get the identify of each login merchandise'.

I found out the file is in a binary plist format.

Then I attempted two instruments.

One is the default cml software plutil. One other one is a thirdy occasion software ProperTree. Each can convert and open the binary plist as XML plain plist. However even with a plain plist format, it is kinda arduous to grasp it. The essential sections are nonetheless coded in base64 format in xml.

I can decode base64 with many instruments, however I nonetheless really feel it is kinda an excessive amount of work for this objective.

So my query is the way to take away these undesirable login iterms to cease them autostart at my login. Command Line Approach is prefered. I believe some GUI apps resembling ccleaner could do the job, however I do not need to set up some GUI apps which can be autostarted themselves. Mainly, I do not need to set up an autostart iterm to take away autostart objects.

Does anybody know a better method to take away hidden login objects from the file?

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles