Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Remove 'Screen locked by' in Apple Remote Desktop Apps
Since the advent of Apple Remote Desktop 2.0, when an administrator locks a screen, the locked screen tells who did it. While this can be a useful feature, there are times when I would prefer that a user does not know which machine is controling theirs, or that anyone is controling them at all.

Specifically, I wanted the lock screen picture to be a kernel panic picture, but no one would believe the kernel panic was real if below the picture were the words "Screen locked by..." After rooting around in the application, I found what I was looking for.

Here's how to do it:
  1. Make sure Apple Remote Desktop is not running, and navigate to the folder containing the application.
  2. Control-click on the application and choose "Show Package Contents" from the pop-up menu.
  3. In the window that opens, navigate to Contents/Resources/English.lproj (or whatever language you're using).
  4. Find the file "LockScreenTask.strings" and create a backup copy in a safe place.
  5. Open the original "LockScreenTask.strings." If you have the Developer Tools instaled, it will open in Xcode; otherwise, you can open it in TextEdit.
  6. You should see the following:
    /* Localized versions of task strings */
    
    taskString = "Lock Screen";
    taskDescription = "Lock Screen";
    longTaskDescription = "Lock screens on target computers";
    actionString = "Lock Screen";
    lockedByString = "\r\rScreen locked by %@";
    lockedByStringNoText = "Screen locked by %@";
    defaultPictureName = "Lock Screen Picture";
    // Task progress
    kLockScreenRequestingOne = "Locking screen";
    kLockScreenRequestingMany = "Locking screens";
  7. Change the line lockedByStringNoText = "Screen locked by %@"; to lockedByStringNoText = "";. Now "Screen locked by" will not appear when you lock the screen of a client computer if you don't type a message, but it will still appear if you do.
  8. If that's not sufficient, replace the line lockedByString = "rrScreen locked by %@"; with lockedByString = "rr";. Now the "Screen locked by..." message won't appear even if you send them a message.
  9. Save your work, launch ARD, and you're done.
And that's all there is to it.

[robg adds: I haven't asked the author, but if I had to guess, I'd say that this knowledge was used in a prank to make someone believe they'd had a kernel panic. I'm certainly not against a good prank, but if you're in a position of network admin with Remote Desktop control, you should be very careful about how and when you pull such stunts :).]
    •    
  • Currently 1.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (2 votes cast)
 
[16,883 views]  

Remove 'Screen locked by' in Apple Remote Desktop | 7 comments | Create New Account
Click here to return to the 'Remove 'Screen locked by' in Apple Remote Desktop' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Remove 'Screen locked by' in Apple Remote Desktop
Authored by: matx666 on Apr 20, '05 10:33:25AM

I'm pretty sure that in ARD v.1 that it also shows "screen locked by" and this hint is useful to all ARD admins. I use a custom "locked screen" pic with ARD and i don't need a cheesey bit of text saying: 'locked by "computer name"' as well. My locked screen image provides tech support email contact info and a message that the machine inaccessible to them.



[ Reply to This | # ]
Remove 'Screen locked by' in Apple Remote Desktop
Authored by: matx666 on Apr 20, '05 10:44:59AM

Addendum, about a custom "Lock Screen Pic" which is a great way to lock computers with a nice pretty and informative picture. Works in ARD v.1 and v.2.

1. Make an informative pic (PICT, TIFF, GIF, JPEG)
2. Name the picture "Lock Screen Picture".
3. Put "Lock Screen Picture" file in /Library/Preferences/ on clients.



[ Reply to This | # ]
Remove 'Screen locked by' in Apple Remote Desktop
Authored by: mark hunte on Apr 20, '05 01:36:18PM
The part about
" ....., or that anyone is controling them at all. "

is that activity legal, as in privacy laws and the work place.

---
mh

[ Reply to This | # ]

Remove 'Screen locked by' in Apple Remote Desktop
Authored by: bfad on Apr 20, '05 04:43:45PM

It's legal if you own the machine...



[ Reply to This | # ]
Remove 'Screen locked by' in Apple Remote Desktop
Authored by: eaprince on Apr 20, '05 10:34:32AM

I *hope* this is a prank. I would hesitate to use the kernel panic image for real as someone may well decide to 'fix' it by a forced reboot while the ARD admin is running an update. This could be . . . inconvenient. Especially for those who had to clean up the resulting mess.

---
--Erik
eaprince@excite.nospam.com



[ Reply to This | # ]
Remove 'Screen locked by' in Apple Remote Desktop
Authored by: robg on Apr 20, '05 01:48:27PM

Yea, the KP picture is why I assumed it was a prank. And I didn't mean to imply that this was only useful for a prank (as noted in another comment) -- just that since a KP picture was being used, I couldn't see a valid reason for sending that as the screen lock picture!

-rob.



[ Reply to This | # ]
Shouldn't this have been submitted...
Authored by: jomy on Apr 21, '05 07:24:33PM

Shouldn't this have been submitted...
to www.macosxpranks.com instead?

Come on Rob, I smell another book deal! ;)



[ Reply to This | # ]