================================================== ========================== MASALAH YANG DILAPORKAN - Tidak dapat mengambil kepemilikan folder NTFS melalui metode standar
Properti Folder \ Keamanan TAB \ Tombol Lanjut \ Ubah Pemilik
.
MASALAH YANG DILAPORKAN - TIDAK DAPAT MENGHAPUS FOLDER atau FILE,
.
========
SKENARIO
Saya mendapatkan setiap kali saya mencoba untuk melakukan fungsi APAPUN dengan folder NTFS yang disebut 'templates'.
HASIL SAAT INI - INFO: Akses ditolak. ("G: \ OLD Drive \ Program Files \ Microsoft Visual Studio x \ VC \ VCWizards \ CodeWiz.NET \ Component \ templates")
============
TEST1 - GAGAL
Ikuti petunjuk terlampir di bawah solusi yang diusulkan -
Unduh PsExec.exe dari Sysinternals
C:\Windows\system32>TAKEOWN /F "G:\OLD Drive\Program Files" /R /D Y
===================================
HASIL (lihat INFO dalam pernyataan terakhir)
SUCCESS: The file (or folder): "G:\OLD Drive\Program Files" now owned by user "P
CDGROUP\PCD$".
SUCCESS: The file (or folder): "G:\OLD Drive\Program Files\Microsoft Visual Stud
io 8" now owned by user "PCDGROUP\PCD$".
SUCCESS: The file (or folder): "G:\OLD Drive\Program Files\Microsoft Visual Stud
io 8\VC" now owned by user "PCDGROUP\PCD$".
SUCCESS: The file (or folder): "G:\OLD Drive\Program Files\Microsoft Visual Stud
io 8\VC\VCWizards" now owned by user "PCDGROUP\PCD$".
SUCCESS: The file (or folder): "G:\OLD Drive\Program Files\Microsoft Visual Stud
io 8\VC\VCWizards\CodeWiz" now owned by user "PCDGROUP\PCD$".
SUCCESS: The file (or folder): "G:\OLD Drive\Program Files\Microsoft Visual Stud
io 8\VC\VCWizards\CodeWiz\.NET" now owned by user "PCDGROUP\PCD$".
SUCCESS: The file (or folder): "G:\OLD Drive\Program Files\Microsoft Visual Stud
io 8\VC\VCWizards\CodeWiz\.NET\Component" now owned by user "PCDGROUP\PCD$".
INFO: Access is denied. ( "G:\OLD Drive\Program Files\Microsoft Visual Studio 8\
VC\VCWizards\CodeWiz\.NET\Component\templates" )
C:\Windows\system32>
==========
KESIMPULAN
Masalah tidak terselesaikan
===============
TEST2 - SUKSES
CAVEAT - Saya hanya dapat berhasil di sini karena folder tersebut berada pada drive yang bukan boot utama saya (c :) dan dengan demikian dapat diambil secara offline dengan aman. Saya memastikan semua jendela ditutup sebelum bertindak.
Microsoft Windows [Version 10.0.10586]
(c) 2015 Microsoft Corporation. All rights reserved.
C:\Windows\system32> cd "G:\OLD Drive\Program Files\Microsoft Visual Studio 8\VC\VCWizards\CodeWiz\.NET\Component"
C:\Windows\system32>G:
G:\OLD Drive\Program Files\Microsoft Visual Studio 8\VC\VCWizards\CodeWiz\.NET\Component>chkdsk /f
The type of the file system is NTFS.
Cannot lock current drive.
Chkdsk cannot run because the volume is in use by another
process. Chkdsk may run if this volume is dismounted first.
ALL OPENED HANDLES TO THIS VOLUME WOULD THEN BE INVALID.
Would you like to force a dismount on this volume? (Y/N) Y
Volume dismounted. All opened handles to this volume are now invalid.
Volume label is DATABAK.
Stage 1: Examining basic file system structure ...
986368 file records processed.
File verification completed.
12 large file records processed.
0 bad file records processed.
Stage 2: Examining file name linkage ...
1261166 index entries processed.
Index verification completed.
0 unindexed files scanned.
0 unindexed files recovered to lost and found.
cd..
G:\OLD Drive\Program Files\Microsoft Visual Studio 8\VC\VCWizards\CodeWiz\.NET\
rd Component
================================================== ====
HASIL - Folder Komponen berhasil dihapus