Dear Dave Kreskowiak, Thanks for reply.. As I stated in the post, that Dll doing disk operations like Disk Partitioning,Reading data from sectors,Writing and Deleting. Fortunately all other operations, except Partitioning working well (in both Windows Application and Web application). Privileges of Administrator given by Impersonation. But that Partitioning working well in a Windows Application developed in C. problem with only dotnet application(C#). Thanks..