+ Post New Thread
Page 1 of 3 123 LastLast
Results 1 to 15 of 35
Windows Thread, resource hacking, msgina.dll and 'lock dialog' discussion in Technical; You know when you lock a Windows PC, it says "This PC has been locked, only $username$ ($User's Real Name$) ...
  1. #1
    Norphy's Avatar
    Join Date
    Jan 2006
    Location
    Dunstable
    Posts
    1,334
    Thank Post
    13
    Thanked 47 Times in 38 Posts
    Rep Power
    28

    resource hacking, msgina.dll and 'lock dialog' discussion

    You know when you lock a Windows PC, it says "This PC has been locked, only $username$ ($User's Real Name$) or an administrator can unlock this PC"? Is there a way to either stop it displaying $User's Real Name$ or at the very least stop it showing their first names? I really don't want to have to go through every bloody teacher account and remove their forenames if I possibly avoid it.

    Cheers,

    Norphy

  2. IDG Tech News

  3. #2

    Join Date
    Mar 2006
    Location
    Bradford
    Posts
    99
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Re: Lock dialog

    The name it shows is the Display Name from within Active Directory.

  4. #3

    webman's Avatar
    Join Date
    Nov 2005
    Location
    North East England
    Posts
    8,279
    Blog Entries
    2
    Thank Post
    596
    Thanked 879 Times in 617 Posts
    Rep Power
    287

    Re: Lock dialog

    It involves hacking msgina.dll and replacing it on each workstation. Pretty sure you're not "allowed" to do but technically possible:

    Using "Resource Hacker" (Google), open up %windir%\system32\msgina.dll. Navigate to "String Table\101\1033". Number 1610 in the right pane should be the one you're referring to. Try removing the "(%s)" in the string and format it how you like.

    Make backups, do it at your own risk, myself or my empoyer is not responsible for anything breaking as a result of this, yadda yadda yadda.... 8)

  5. #4
    apeo's Avatar
    Join Date
    Sep 2005
    Location
    Lost
    Posts
    1,426
    Thank Post
    79
    Thanked 90 Times in 86 Posts
    Rep Power
    32

    Re: Lock dialog

    Dunno of anyway to stop it from displaying the name but you could just run a script to change the name or use admodify.

  6. #5
    apeo's Avatar
    Join Date
    Sep 2005
    Location
    Lost
    Posts
    1,426
    Thank Post
    79
    Thanked 90 Times in 86 Posts
    Rep Power
    32

    Re: Lock dialog

    @webman: like the disclaimer.

  7. #6

    webman's Avatar
    Join Date
    Nov 2005
    Location
    North East England
    Posts
    8,279
    Blog Entries
    2
    Thank Post
    596
    Thanked 879 Times in 617 Posts
    Rep Power
    287

    Re: Lock dialog

    @apeo: Can't be too careful when modifying DLLs you know .. been there, done that, got the error msgs

  8. #7
    apeo's Avatar
    Join Date
    Sep 2005
    Location
    Lost
    Posts
    1,426
    Thank Post
    79
    Thanked 90 Times in 86 Posts
    Rep Power
    32

    Re: Lock dialog

    Yeah i know

  9. #8
    Norphy's Avatar
    Join Date
    Jan 2006
    Location
    Dunstable
    Posts
    1,334
    Thank Post
    13
    Thanked 47 Times in 38 Posts
    Rep Power
    28

    Re: Lock dialog

    Thanks guys

    Guess I'll have to write a script then.

  10. #9
    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,037
    Blog Entries
    1
    Thank Post
    104
    Thanked 437 Times in 378 Posts
    Rep Power
    114

    Re: Lock dialog

    Quote Originally Posted by webman
    @apeo: Can't be too careful when modifying DLLs you know .. been there, done that, got the error msgs
    Against the terms of the MS EULA. Will cause your licenses to explode.

  11. #10
    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,037
    Blog Entries
    1
    Thank Post
    104
    Thanked 437 Times in 378 Posts
    Rep Power
    114

    Re: Lock dialog

    Quote Originally Posted by webman
    @apeo: Can't be too careful when modifying DLLs you know .. been there, done that, got the error msgs
    Against the terms of the MS EULA. Will cause your licenses to explode. Additionally under the EUCD, you (and your school) are criminally liabel. An unlimited fine and up to 10 years in jail IIRC.

  12. #11

    webman's Avatar
    Join Date
    Nov 2005
    Location
    North East England
    Posts
    8,279
    Blog Entries
    2
    Thank Post
    596
    Thanked 879 Times in 617 Posts
    Rep Power
    287

    Re: Lock dialog

    I wasn't referring to error msgs from MS DLLs... ops: :P

  13. #12

    plexer's Avatar
    Join Date
    Dec 2005
    Location
    Norfolk
    Posts
    9,442
    Thank Post
    302
    Thanked 868 Times in 780 Posts
    Rep Power
    211

    Re: Lock dialog

    Admodify is the way to go just change all their display names to username

    Ben

  14. #13

    webman's Avatar
    Join Date
    Nov 2005
    Location
    North East England
    Posts
    8,279
    Blog Entries
    2
    Thank Post
    596
    Thanked 879 Times in 617 Posts
    Rep Power
    287

    Re: Lock dialog

    AD modifications are looking more and more like the safest option

  15. #14

    Gatt's Avatar
    Join Date
    Jan 2006
    Posts
    5,417
    Thank Post
    673
    Thanked 397 Times in 283 Posts
    Rep Power
    229

    Re: Lock dialog

    Actually found this today

    Look in :

    default domain policy
    Computer Settings -- Windows Settings -- Security Settings -- Local Policies -- Security Options

    Then sroll for Interactive Logon: Display User Information when session is locked

    3 choices when enabled -

    Full details (default)
    User Display Name Only
    NO information

  16. #15
    Norphy's Avatar
    Join Date
    Jan 2006
    Location
    Dunstable
    Posts
    1,334
    Thank Post
    13
    Thanked 47 Times in 38 Posts
    Rep Power
    28

    Re: Lock dialog

    Woo!

    Cheers m8!

    Bit of a strange one though, I could only see that setting if I edited the GPO on the DC itself, it wouldn't display if edited on a workstation.

SHARE:
+ Post New Thread
Page 1 of 3 123 LastLast

Similar Threads

  1. Edit win XP classic logon look - msgina.dll
    By ryan_powell in forum Windows
    Replies: 8
    Last Post: 9th April 2007, 10:27 AM
  2. NAACE Discussion
    By GrumbleDook in forum General Chat
    Replies: 5
    Last Post: 14th March 2007, 01:30 PM
  3. Anyone got a logitech Dialog 320 Microphone
    By russdev in forum Hardware
    Replies: 0
    Last Post: 7th March 2007, 11:47 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •