Is there some command to make sure people cannot see the windows key with some app?

Discussion in 'Windows 7' started by msr, Jul 26, 2010.

  1. msr

    msr MDL Senior Member

    Dec 27, 2007
    413
    54
    10
    I have installed win 7 and office 2007 on a computer, is there any way to make sure a person cannot see the keys or bring up these keys from some app, and use them again.

    Can the keys for win 7 and office 2k7 stay hidden even though activated.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. killercat

    killercat MDL Member

    May 28, 2010
    179
    3
    10
    im curious too ^^
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. MasterDisaster

    MasterDisaster MDL Expert

    Aug 29, 2009
    1,256
    674
    60
    In Windows 7, slmgr -cpk will clear the product key info in the registry.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. urie

    urie Moderator
    Staff Member

    May 21, 2007
    9,039
    3,388
    300
    #4 urie, Jul 26, 2010
    Last edited: Jul 26, 2010
    Yes put password in bios section so they cant even boot up your machine. Other than that you've had it if you want to give them access to use your machine even setting them up as another user with restrictions so they cant run any other software than what you've allowed won't work. they could still boot with USB device and grab the keys with dos based keyfinder of even boot with a PE cd and get keys.

    Edit I forgot as MasterDisaster said with slmgr activations type key can be removed.
     
  5. MasterDisaster

    MasterDisaster MDL Expert

    Aug 29, 2009
    1,256
    674
    60
    #5 MasterDisaster, Jul 26, 2010
    Last edited by a moderator: Apr 20, 2017
    The cpk technique can be used for other MS software too, but it requires careful editing in the registry

    for example, export the key and edit the digitalproductID part with a notepad
    Code:
    "DigitalProductId"=hex:a4,00,00,00,03,00,00,00,35,35,30,33,34,2d,32,39,32,2d,\
      30,30,30,30,30,30,37,2d,38,35,32,30,38,00,aa,00,00,00,58,31,35,2d,33,39,36,\
      34,34,00,00,00,00,00,00,00,cd,50,c7,8f,86,09,0f,1d,8e,7c,b3,a3,03,b8,00,00,\
      00,00,00,00,74,a7,d0,4b,e0,0c,4f,7b,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,5a,90,89,bd
    
    The highlighted part needs to be changed to zeroes for clearing the key.

    The key gathering programs look for that specific offset (0x34-0x41) to decode the base24 bytes
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. msr

    msr MDL Senior Member

    Dec 27, 2007
    413
    54
    10
    Thx does that only clear win 7 key and not office key?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. MasterDisaster

    MasterDisaster MDL Expert

    Aug 29, 2009
    1,256
    674
    60
    Yes, it clears Windows 7 key only.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. msr

    msr MDL Senior Member

    Dec 27, 2007
    413
    54
    10
    but leaves activation does it?

    Also what would i put to get rid of office key ofr 2k7 office pro?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. urie

    urie Moderator
    Staff Member

    May 21, 2007
    9,039
    3,388
    300
    Small question wouldn't system restore not replace registry entries ?
     
  10. MasterDisaster

    MasterDisaster MDL Expert

    Aug 29, 2009
    1,256
    674
    60
    Activation remains intact.

    For office 2007 you'll need to do some manual editing to the registry entry.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. MasterDisaster

    MasterDisaster MDL Expert

    Aug 29, 2009
    1,256
    674
    60
    #11 MasterDisaster, Jul 26, 2010
    Last edited: Jul 26, 2010
    Yes, system restore will restore the registry.

    But if you make new restore point and delete all previous points then the registry cannot be replaced.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. ailef

    ailef MDL Senior Member

    Nov 30, 2007
    299
    16
    10
    what's the difference bewteen slmgr -cpk and -cpky ?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. Dre009

    Dre009 MDL Addicted

    Oct 26, 2009
    602
    233
    30