+ 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
    Harpenden
    Posts
    2,262
    Thank Post
    51
    Thanked 276 Times in 214 Posts
    Blog Entries
    6
    Rep Power
    113

    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. #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.

  3. #3

    webman's Avatar
    Join Date
    Nov 2005
    Location
    North East England
    Posts
    8,403
    Thank Post
    637
    Thanked 961 Times in 661 Posts
    Blog Entries
    2
    Rep Power
    319

    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)

  4. #4
    apeo's Avatar
    Join Date
    Sep 2005
    Location
    Lost
    Posts
    1,612
    Thank Post
    95
    Thanked 115 Times in 111 Posts
    Rep Power
    42

    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.

  5. #5
    apeo's Avatar
    Join Date
    Sep 2005
    Location
    Lost
    Posts
    1,612
    Thank Post
    95
    Thanked 115 Times in 111 Posts
    Rep Power
    42

    Re: Lock dialog

    @webman: like the disclaimer.

  6. #6

    webman's Avatar
    Join Date
    Nov 2005
    Location
    North East England
    Posts
    8,403
    Thank Post
    637
    Thanked 961 Times in 661 Posts
    Blog Entries
    2
    Rep Power
    319

    Re: Lock dialog

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

  7. #7
    apeo's Avatar
    Join Date
    Sep 2005
    Location
    Lost
    Posts
    1,612
    Thank Post
    95
    Thanked 115 Times in 111 Posts
    Rep Power
    42

    Re: Lock dialog

    Yeah i know

  8. #8
    Norphy's Avatar
    Join Date
    Jan 2006
    Location
    Harpenden
    Posts
    2,262
    Thank Post
    51
    Thanked 276 Times in 214 Posts
    Blog Entries
    6
    Rep Power
    113

    Re: Lock dialog

    Thanks guys

    Guess I'll have to write a script then.

  9. #9

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,803
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224

    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.

  10. #10

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,803
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224

    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.

  11. #11

    webman's Avatar
    Join Date
    Nov 2005
    Location
    North East England
    Posts
    8,403
    Thank Post
    637
    Thanked 961 Times in 661 Posts
    Blog Entries
    2
    Rep Power
    319

    Re: Lock dialog

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

  12. #12

    plexer's Avatar
    Join Date
    Dec 2005
    Location
    Norfolk
    Posts
    13,344
    Thank Post
    624
    Thanked 1,584 Times in 1,421 Posts
    Rep Power
    414

    Re: Lock dialog

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

    Ben

  13. #13

    webman's Avatar
    Join Date
    Nov 2005
    Location
    North East England
    Posts
    8,403
    Thank Post
    637
    Thanked 961 Times in 661 Posts
    Blog Entries
    2
    Rep Power
    319

    Re: Lock dialog

    AD modifications are looking more and more like the safest option

  14. #14

    Gatt's Avatar
    Join Date
    Jan 2006
    Posts
    6,658
    Thank Post
    858
    Thanked 646 Times in 429 Posts
    Rep Power
    498

    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

  15. #15
    Norphy's Avatar
    Join Date
    Jan 2006
    Location
    Harpenden
    Posts
    2,262
    Thank Post
    51
    Thanked 276 Times in 214 Posts
    Blog Entries
    6
    Rep Power
    113

    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, 12:30 PM
  3. Anyone got a logitech Dialog 320 Microphone
    By russdev in forum Hardware
    Replies: 0
    Last Post: 7th March 2007, 10: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
  •