From: JY on 14 Apr 2010 05:21 Hi, I'm uisng DriverPackagePreinstall to pre-install a PnP driver on freshly installed Vista 32-bit and Windows 7 32-bit systems (with Windows Updates done). I'm logged in as Administrator. When my application tries to pre-install the driver the error code returned is ERROR_ACCESS_DENIED. The only flag I use in the call is DRIVER_PACKAGE_LEGACY_MODE, but here I'm trying to pre-install a signed driver. What could be going wrong? TIA, Jy
From: Maxim S. Shatskih on 14 Apr 2010 07:38 Start CMD with "Run As Administrator" and try from there. -- Maxim S. Shatskih Windows DDK MVP maxim(a)storagecraft.com http://www.storagecraft.com "JY" <sd(a)nospamgroup.com> wrote in message news:BA385AD4-B22C-4326-9324-491BD4BB9875(a)microsoft.com... > Hi, > > I'm uisng DriverPackagePreinstall to pre-install a PnP driver on freshly > installed Vista 32-bit and Windows 7 32-bit systems (with Windows Updates > done). I'm logged in as Administrator. When my application tries to > pre-install the driver the error code returned is ERROR_ACCESS_DENIED. The > only flag I use in the call is DRIVER_PACKAGE_LEGACY_MODE, but here I'm > trying to pre-install a signed driver. > > What could be going wrong? > > TIA, > Jy
From: Mike [MSFT] on 15 Apr 2010 17:18 Depending on whether you logged in as an administrator or the local administrator account, Maxim's suggestion might help. One thing to try is to open an Admin cmd prompt, go to the directory where your driver is and do "pnputil -a yourdriver.inf" to see if it is a problem with your driver or how you are calling DriverPackagePreinstall. If that gives you an error you can try checking %windir%\inf\setupapi.dev.log to get more information. -Mike "Maxim S. Shatskih" <maxim(a)storagecraft.com.no.spam> wrote in message news:eFYVPc82KHA.3844(a)TK2MSFTNGP05.phx.gbl... > Start CMD with "Run As Administrator" and try from there. > > -- > Maxim S. Shatskih > Windows DDK MVP > maxim(a)storagecraft.com > http://www.storagecraft.com > > "JY" <sd(a)nospamgroup.com> wrote in message > news:BA385AD4-B22C-4326-9324-491BD4BB9875(a)microsoft.com... >> Hi, >> >> I'm uisng DriverPackagePreinstall to pre-install a PnP driver on freshly >> installed Vista 32-bit and Windows 7 32-bit systems (with Windows Updates >> done). I'm logged in as Administrator. When my application tries to >> pre-install the driver the error code returned is ERROR_ACCESS_DENIED. >> The >> only flag I use in the call is DRIVER_PACKAGE_LEGACY_MODE, but here I'm >> trying to pre-install a signed driver. >> >> What could be going wrong? >> >> TIA, >> Jy
|
Pages: 1 Prev: size of device context limit ? Next: max packet size a NIC is capable of |