Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. AlbertP321

    Vista WriteFile problem

    Thank you for your reply, ArkM. Here is my CreateFile, tmpHandle = CreateFile( szDriveName, GENERIC_READ | GENERIC_WRITE, FILE_SHARE_READ | FILE_SHARE_WRITE, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_SYSTEM, NULL); I have tried no-buffering but...
  2. AlbertP321

    Vista WriteFile problem

    Hi, I'm porting a win32 program from XP to Vista. The program is doing read and write with hard disk and is sector based. In the very beginning the program does, Read and write to sector 0, then Write to very end of the hard disk Steps are very traditional, CreateFile...
  3. AlbertP321

    Admin can't change permissions?

    Thank you for your reply, linney. I did some research and found it's not possible to switch back to TrustedInstaller. Once you change owner from TrustedInstaller to administrator or someone else, you cannot change it back. The reason, TrustedInstaller is not a user account actually. It's a...
  4. AlbertP321

    Admin can't change permissions?

    Thank you for the info, s0121. In addition to TAKEOWN, ICACLS command modifies read/write permission. So a batch file containing TAKEOWN and ICACLS will do the job on a whole hard disk automatically. I got another question. After I changed owner on some files and did copy/rename/delete..., how...
  5. AlbertP321

    Admin can't change permissions?

    Hi, I'm a new comer here. I got a problem on permission of file copy. I have logged into real admin (enabled from User Group), not filtered admin (built-in admin during Vista install). Under the admin, I'm trying to copy out files from C:\Windows folder then copy them back. This is a system...

Part and Inventory Search

Back
Top