Hello!
I have been learning how to write drivers for Windows XP for some time, and now I want to
write something for Windows Vista. First, I saw that I can’t use the free driver loader of OSR,
then I realized that I can’t open the DebugView. So, I wanted to ask if anyone can tell me
what is the difference, and how can I overcome it? Is there any difference in the driver itself,
or just the way it is installed?
Thanks in advance!
You can surely use DebugView and probably also OSR driver loader (haven’t tried). Everything you need is to run them under real administrator account. There are several possibilities. Start command promp as administrator and run tools from there. Turn off UAC (the best for the driver developer, IMO). Create shortcuts for necessary apps and enforce running as administrator.
You should probably read something about UAC; it is a bit surprising a driver developer asks such questions now. I guess Mark Russinovich had a good article how it works internally; use Google to find it.
Best regards,
Michal Vodicka
UPEK, Inc.
[xxxxx@upek.com, http://www.upek.com]
From: xxxxx@lists.osr.com[SMTP:xxxxx@lists.osr.com] on behalf of xxxxx@gmail.com[SMTP:xxxxx@gmail.com]
Reply To: Windows File Systems Devs Interest List
Sent: Thursday, September 27, 2007 9:30 PM
To: Windows File Systems Devs Interest List
Subject: [ntfsd] Developing Drivers for Windows Vista
Hello!
I have been learning how to write drivers for Windows XP for some time, and now I want to
write something for Windows Vista. First, I saw that I can’t use the free driver loader of OSR,
then I realized that I can’t open the DebugView. So, I wanted to ask if anyone can tell me
what is the difference, and how can I overcome it? Is there any difference in the driver itself,
or just the way it is installed?
Thanks in advance!
NTFSD is sponsored by OSR
For our schedule debugging and file system seminars
(including our new fs mini-filter seminar) visit:
http://www.osr.com/seminars
You are currently subscribed to ntfsd as: xxxxx@upek.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
I agree with Michal here about turning off UAC. The basic idea of how to do that is to run GPEDIT.MSC, and navigate to “Local Computer Policy\Computer Configuration\Windows Settings\Security Settings\Local Policies\Security Options.” At the very bottom of the list are a number of policies grouped under “User Account Control.” These are pretty self-explanatory, assuming you have done as Michal suggested and read up, but the basic ones to change are:
“Admin Approval Mode…” -> Enabled
“Allow UIAccess applications…” -> Enabled
“Behavior of the elevation prompt for administrators…” -> Elevate without prompting
Read up on the rest.
Good luck,
mm