How about you setup your security properly so that normal users can’t
run defrag?
-Jeff
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Anurag Sarin
Sent: Wednesday, October 13, 2004 12:30 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] Cancel Defrag
“Why would you want to do this” or “What are you tryng to achieve by
doing this”…
Well doing this leads to more security flaws which I don’t want to go
deep into . But want a solution to be harmless but stops the user from
defrag or looks like defrag is going on but nothing actually happens is
even better 
anurag
-----Original Message-----
From: Mats PETERSSON [mailto:xxxxx@3dlabs.com]
Sent: Wednesday, October 13, 2004 9:29 PM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] Cancel Defrag
As usual in this forum, it’s a question of “Why would you want to do
this” or “What are you tryng to achieve by doing this”…
There may be ways to stop this, but the risk is that you also affect
other applications which have much better reasons for existance than
DeFrag (such as disk repair software, or backup software).
–
Mats
xxxxx@lists.osr.com wrote on 10/13/2004 04:53:08 PM:
Hello all,
I am making a filter driver in Win2k .
I have dispatch routines of CREATE, WRITE, SET_INFORMATION and
DIRECTORY_CONTROL .
I want to stop the user to Defrag the system . I do not want to crash
the system , but some thing like cancel the request with no harm done
to any one.
Can some body help me - give Ideas as what to trap and what to cancel
?
regards
Anurag
Questions? First check the Kernel Driver FAQ at http://www.
osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: unknown lmsubst tag
argument:
‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com
ForwardSourceID:NT000054FA
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@divassoftware.com To
unsubscribe send a blank email to xxxxx@lists.osr.com
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: unknown lmsubst tag argument:
‘’ To unsubscribe send a blank email to xxxxx@lists.osr.com
***********************************************************************************
This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secured or error-free as information could be intercepted, corrupted, lost, destroyed, received late or incomplete, or could contain viruses. The sender therefore does not accept liability for any error or omission in the contents of this message, which arises as a result of e-mail transmission. If verification is required, please request a hard-copy version from the sender.
***********************************************************************************