Hi,
I installed the wdk 6.0 6001.18001 on Windows Vista SP1,
then I compiled the exmaple of the ramdisk.
After I installed the driver, i noticed that the disk are not accessible
via the explorer nor the cmd.
But if I launch the cmd via the administrator rights, i can access the
ramdisk drive.
How I can do to get it worked around normal user?

Thanx,
Pierluigi

Re: Ramdisk with Vista SP1 by Eliyas

Eliyas
Tue May 06 19:57:43 CDT 2008

Change the ACL on the WDFDEVICE created by the ramdisk sample by calling
WdfDeviceInitAssignSDDLString. You can also specify security descriptor in
the INF. Read this section in MSDN for more info:
http://msdn.microsoft.com/en-us/library/ms791124.aspx


-Eliyas


"Pierluigi" <pimirto@hotmail.it> wrote in message
news:79CB4E35-DCB1-4E39-A238-ABA2C3CE61D2@microsoft.com...
> Hi,
> I installed the wdk 6.0 6001.18001 on Windows Vista SP1,
> then I compiled the exmaple of the ramdisk.
> After I installed the driver, i noticed that the disk are not accessible
> via the explorer nor the cmd.
> But if I launch the cmd via the administrator rights, i can access the
> ramdisk drive.
> How I can do to get it worked around normal user?
>
> Thanx,
> Pierluigi
>

Re: Ramdisk with Vista SP1 by Doron

Doron
Wed May 07 00:49:27 CDT 2008

if this is an FDO WDFDEVICE, change the ACL using the INF's AddReg section
so the ACL is applied to all devices in the stack (if you only ACL the FDO,
you can still open the stack with a different ACL by opening the PDO by
name)

d

--
Please do not send e-mail directly to this alias. this alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.


"Eliyas Yakub [MSFT]" <eliyasy@online.microsoft.com> wrote in message
news:6E3F2861-071C-4EAB-91F8-0A84404017F3@microsoft.com...
> Change the ACL on the WDFDEVICE created by the ramdisk sample by calling
> WdfDeviceInitAssignSDDLString. You can also specify security descriptor in
> the INF. Read this section in MSDN for more info:
> http://msdn.microsoft.com/en-us/library/ms791124.aspx
>
>
> -Eliyas
>
>
> "Pierluigi" <pimirto@hotmail.it> wrote in message
> news:79CB4E35-DCB1-4E39-A238-ABA2C3CE61D2@microsoft.com...
>> Hi,
>> I installed the wdk 6.0 6001.18001 on Windows Vista SP1,
>> then I compiled the exmaple of the ramdisk.
>> After I installed the driver, i noticed that the disk are not accessible
>> via the explorer nor the cmd.
>> But if I launch the cmd via the administrator rights, i can access the
>> ramdisk drive.
>> How I can do to get it worked around normal user?
>>
>> Thanx,
>> Pierluigi
>>