2024년 3월 27일 수요일

How to delete the $WINDOWS.~BT folder in Windows 10

 The $WINDOWS.~BT folder is typically a temporary folder associated with Windows upgrades or update installations. It is created during system upgrade or update operations and is usually deleted automatically after updates are completed. However, sometimes this folder may not be automatically deleted.

  1. Run Command Prompt as Administrator: You need to run Command Prompt with administrator privileges. Search for "cmd" in the Start menu, then right-click and select "Run as administrator."
  2. Take Ownership: To gain appropriate permissions for the $WINDOWS.~BT folder, use the takeown command. Execute the following command: takeown /F C:\$WINDOWS.~BT /R /D Y This command grants ownership of the C:$WINDOWS.~BT folder and all its subdirectories and files to the current user.
  3. Modify Permissions: Next, use the icacls command to assign appropriate permissions: icacls C:\$WINDOWS.~BT /T /Q /C /RESET This command resets the permissions for the folder and all its subdirectories and files.
  4. Delete the Folder: Now, delete the $WINDOWS.~BT folder again: RD /S /Q C:\$WINDOWS.~BT If you still encounter an access denied error with this command, it's possible that system security settings or another process may be accessing the folder. In this case, try again after rebooting the system.

2024년 2월 24일 토요일

$WINDOWS.~BT 폴더가 계속해서 재생성되지 않도록 하는 방법.

OSUpgrade 레지스트리 설정

1. 레지스트리 편집기 열기:

regedit 명령어를 실행하여 레지스트리 편집기를 엽니다.

2. 경로로 이동:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate

3. 새로운 키 생성:

  • WindowsUpdate 키 아래에서 마우스 오른쪽 버튼을 클릭하고 "새로 만들기" -> "키"를 선택합니다.
  • 새로 생성된 키의 이름을 OSUpgrade로 변경합니다.

4. 레지스트리 값 추가 (DWORD):

  • OSUpgrade 키를 선택하고, 오른쪽 창에서 마우스 오른쪽 버튼을 클릭하고 "새로 만들기" -> "DWORD(32-bit) 값"을 선택합니다.
  • 새로운 DWORD 값을 AllowOSUpgrade로 명명하고, 값 데이터를 0으로 설정합니다.

5. 변경 사항 저장:

변경 사항을 저장하고 레지스트리 편집기를 종료합니다.

 쉽게 하는 법 

아래의 내용을  메모장에 저장하고 확장자를 .reg 로 변경 후 더블클릭 실행하면 됩니다.


Windows Registry Editor Version 5.00


[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\OSUpgrade]

"AllowOSUpgrade"=dword:00000000

2024년 2월 23일 금요일

윈도우 10 $WINDOWS.~BT 폴더 삭제하는 방법

단계별 설명

$WINDOWS.~BT 폴더는 주로 Windows 업그레이드나 업데이트 설치와 관련된 임시 폴더입니다. 이 폴더는 시스템에서 업그레이드 또는 업데이트 작업을 수행할 때 생성되며, 일반적으로 업데이트가 완료된 후에 삭제됩니다. 그러나 때로는 이 폴더가 자동으로 삭제되지 않을 수 있습니다.

1. 관리자 권한으로 CommandPrompt 실행:

명령 프롬프트를 관리자 권한으로 실행해야 합니다. 시작 메뉴에서 "cmd"를 검색하고 마우스 오른쪽 버튼을 클릭하여 "관리자 권한으로 실행"을 선택하세요.

2. 권한 얻기:

$WINDOWS.~BT 폴더에 대한 적절한 권한을 얻기 위해 takeown 명령어를 사용합니다. 다음 명령어를 실행하세요.

takeown /F C:\$WINDOWS.~BT /R /D Y

이 명령어는 C:\$WINDOWS.~BT 폴더와 그 하위 모든 파일 및 폴더에 대한 소유권을 현재 사용자에게 부여합니다.

3. 권한 수정:

다음으로, icacls 명령어를 사용하여 적절한 권한을 부여합니다.

icacls C:\$WINDOWS.~BT /T /Q /C /RESET

이 명령어는 폴더와 그 하위 모든 파일에 대해 기본 권한을 재설정합니다.

4. 폴더 삭제:

이제 다시 $WINDOWS.~BT 폴더를 삭제합니다.

RD /S /Q C:\$WINDOWS.~BT

만약 이 명령어도 여전히 액세스 거부 오류가 발생한다면, 시스템 보안 설정 또는 다른 프로세스가 해당 폴더에 접근 중일 수 있습니다. 이 경우에는 시스템 재부팅 후 다시 시도해보십시오.

5. 재부팅:

변경 사항이 적용되도록 컴퓨터를 재부팅합니다.

2024년 2월 11일 일요일

강제로 보호된 매개 변수 집합이 없이 보호된 파티션을 삭제할 수 없습니다.

Cannot delete a protected partition without the force protected parameter set.
강제로 보호된 매개 변수 집합이 없이 보호된 파티션을 삭제할 수 없습니다

명령 프롬프트를 이용하여 삭제

디스크 관리 도구에서 삭제가 되지 않는 경우, 명령 프롬프트를 관리자 권한으로 실행하고 diskpart 명령을 사용하여 삭제를 시도해보세요.

diskpart
list disk
select disk X  # X는  드라이브 번호
list partition
select partition N  # N은 삭제하려는 파티션 번호
delete partition override

override 옵션은 보호된 파티션을 삭제할 때 사용됩니다. 
그러나 이 옵션을 사용할 때는 신중해야 합니다.

-


Sidewinder


World


FishMusic


LaughingBaby