Ask Me Help Desk

Ask Me Help Desk (https://www.askmehelpdesk.com/forum.php)
-   Other Programming (https://www.askmehelpdesk.com/forumdisplay.php?f=437)
-   -   Lock CD Writing And USB Drives (https://www.askmehelpdesk.com/showthread.php?t=131363)

  • Sep 19, 2007, 12:37 PM
    jackstiller
    Lock CD Writing And USB Drives
    Did any one answer simple question... is there any way to LOCK CD Writing & USB Drives without using... any kind of software... I m talking about programming in any language... help full if it is in Dot Net...

    Waiting for reply...


    Regards.
    Jack
  • Sep 19, 2007, 01:24 PM
    retsoksirhc
    You mean lock as in like... encrypt what's on them, so nobody else can see it? Or lock a CD drive, like so it can't get ejected?
  • Sep 20, 2007, 08:59 AM
    jackstiller
    Quote:

    Originally Posted by retsoksirhc
    You mean lock as in like...encrypt what's on them, so nobody else can see it? Or lock a CD drive, like so it can't get ejected?


    I just want to say that... after locking Drive... nobody can use that... even it is there... u can eject... drive... play movie and all kind of stuff related to play CD but don't have the permission of Writing any data... and I want to do that by Programming, not by using any kind of software... for assistance you can search a software... lock my drive... I will let you understand better...


    Please help me...


    Regards,
    Jack
  • Sep 20, 2007, 09:13 AM
    NeedKarma
    Quote:

    Originally Posted by jackstiller
    nobody can use that....even it is there.....u can eject .....drive.....play movie and all kind of stuff related to play CD but dont have the permission of Writing any data.

    Uninstall any CD writing software and disable Microsoft's CD writing sewrvice (ImapiService)

    Good luck with the USB issue, admins have been trying to figure that one out for a while since it could be a security risk in companies.
  • Sep 20, 2007, 10:56 AM
    jackstiller
    Quote:

    Originally Posted by NeedKarma
    Uninstall any CD writing software and disable Microsoft's CD writing sewrvice (ImapiService)

    Good luck with the USB issue, admins have been trying to figure that one out for a while since it could be a security risk in companies.

    Yep... thank you for reply... well there is a software which actully hook the CD Writing service provided by Microsoft and lock that... then no CD writing software will able to write any kind of CD just give error like "Under Buffer Reader error" if Nero used.

    But I don't know how to code that how to hook the service of the windows and lock it with password... can you please tell me... if you know... and abut USB the same is with the USB Drive... can anybody tell me how to programme that...

    Wating for reply...

    Regards,
    Jack
  • Sep 21, 2007, 01:14 PM
    jstrike
    Registry Hack to Disable Writing to USB Drives :: the How-To Geek
    Works with XP SP2 and Vista. However if the other users have admin rights they can change it back.
  • Sep 21, 2007, 01:27 PM
    NeedKarma
    Quote:

    Originally Posted by jstrike
    Registry Hack to Disable Writing to USB Drives :: the How-To Geek
    Works with XP SP2 and Vista. However if the other users have admin rights they can change it back.

    Cool find! But when I look at the registry entry and I wonder how it knows it's only for USB interfaces.
  • Sep 21, 2007, 01:32 PM
    Curlyben
    Actually the USB one is quite straightforward.
    You can disable them completely by using hardware profiles ;)
    Microsoft Corporation
  • Sep 21, 2007, 01:43 PM
    jstrike
    Quote:

    Originally Posted by Curlyben
    Actually the USB one is quite straightforward.
    You can disable them completely by using hardware profiles ;)
    Microsoft Corporation

    Nice, but how do you stop the user from selecting a different profile when they boot?
    If you only have one profile are the administrators or people in the admin group bound by that profile since it's set at boot time?
  • Sep 21, 2007, 01:48 PM
    Curlyben
    I haven't used profiles in a live environment so I have no idea, but as it is directly hardware related, admins need to reboot to re-enable the USB's.

    Hey I covered this a while ago on my MSCE and as I haven't used it I've forgotten most of it ;)
  • Sep 21, 2007, 01:49 PM
    jstrike
    Here's a good thread on disabling write access to the CD/DVD drive:
    How to disable write access for CD/DVD drive? - microsoft.public.windowsxp.security_admin | Google Groups

    NeedKarma's solution is also mentioned in there.
  • Sep 21, 2007, 03:03 PM
    jackstiller
    Hi!

    Thanks for reply..

    actully... I tried all these but failed... I done the registry entry... but if any body whether he /she is guest he can remove by go to device manager... and delete the Usb interface... drive... this will put back USB ON... so... it didn't work... any other solution...

    and the registry entry to remove / lock USB is :-

    Go to : Run---Type Regedit----and then go to... "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servi ces\USBSTOR"

    and change the value of "Start" to 1 to disable USB Drive and put 0 to enable USB Drive

    Waiting for reply...

    Jack
  • Sep 21, 2007, 03:35 PM
    retsoksirhc
    You need to only enable your account to be able to edit the registry then, and password protect it.

  • All times are GMT -7. The time now is 08:06 PM.