dcsimg
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: Help - Some Registry Settings not Applicable on Server.

  1. #1
    Join Date
    Jan 2008
    Location
    India
    Posts
    780

    Help - Some Registry Settings not Applicable on Server.

    Hi all,

    I working on application that is used to monitor Insertion and Removal of USB drives.
    here we can also enable or disable usb drives.
    with the using of this registry value.

    Code:
    Local_Machine>>System>>CurrentControlSet>>Services>>USBSTOR
    
    here the value os Start decide usb drive is enabled or disabled.
    
    if Start==3 //means enable
    if Start==4 //means disable
    when i set this registry value on client machine its working fine.

    but in case of server when i disable the USBSTOR its set the registry value to 4 but usb drive detected by server.

    please help me for this.

    thanks in advance.
    Last edited by vjshankwar; February 8th, 2010 at 12:46 AM.
    IN A DAY, WHEN YOU DON'T COME ACROSS ANY PROBLEMS - YOU CAN BE SURE THAT YOU ARE TRAVELLING IN A WRONG PATH

  2. #2
    Join Date
    Aug 1999
    Location
    <Classified>
    Posts
    6,882

    Re: Help - Some Registry Settings not Applicable on Server.

    It's not server/client OS specific thing, it is same for all windows versions, you need to restart the OS after this change, otherwise the driver stays loaded for USB and it still can detect new drives.
    Regards,
    Ramkrishna Pawar

  3. #3
    Join Date
    Jan 2008
    Location
    India
    Posts
    780

    Re: Help - Some Registry Settings not Applicable on Server.

    But for client machines its working fine without restarting.
    IN A DAY, WHEN YOU DON'T COME ACROSS ANY PROBLEMS - YOU CAN BE SURE THAT YOU ARE TRAVELLING IN A WRONG PATH

Posting Permissions

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


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)