Copying sys file into the System32/drivers

Hi,

I'm trying to load my driver into the WIndow Vista Beta 2. Seems that i cant copy my dirver file (aaa.sys) into the System32/drivers. Is there anyway to work around so that i can let the system to run my driver? Should i disable the UAC? How can i get the Administrator privileges?

The error msg that i got is:

"You need to provide administrator credentials to copy to this folder"

Thanks in Advance...

-Brian-

[463 byte] By [HfKok] at [2007-12-23]
# 1

I don't think disabling UAP is a good idea.

You can add a manifest file for your application.

And indicate in the manifest file that your application needs Administrator privilege.

Then when your applications is launched, system will ask the user to allow your application with Administrator privilege.

Try to search "manifest" ...

Minway at 2007-8-30 > top of Msdn Tech,Software Development for Windows Vista,General Windows Vista Development Issues...
# 2

Manifest can be applied to the sys file?

I just want to copy my aaa.sys file to the system32/drivers..

HfKok at 2007-8-30 > top of Msdn Tech,Software Development for Windows Vista,General Windows Vista Development Issues...
# 3

Do you have administrator privilege ?

If so, you should be able to copy files directly to the system directory (at least on my machine).

Or you can try to disable UAC.

Minway at 2007-8-30 > top of Msdn Tech,Software Development for Windows Vista,General Windows Vista Development Issues...
# 4

how can i make sure i got the full administrator privilege?

I tried to disable the UAC features and copy the sys file to the System32/drivers. But, i'm still getting the same issue.

Mayb i ask, which build are you using? Window Vista beta 2 (RC0)?

HfKok at 2007-8-30 > top of Msdn Tech,Software Development for Windows Vista,General Windows Vista Development Issues...
# 5

Check the you user group in the "Control Pannel".

And I'm using the Vista beta2 build 5384.

Minway at 2007-8-30 > top of Msdn Tech,Software Development for Windows Vista,General Windows Vista Development Issues...
# 6

Hi,

Thanks.. I'm able to copy my sys file into the system32/drivers after i reboot my com using the MSCONFIG method to disable the UAC.

But seems that i'm having problem to start the service :(

HfKok at 2007-8-30 > top of Msdn Tech,Software Development for Windows Vista,General Windows Vista Development Issues...

Software Development for Windows Vista

Site Classified