Showing posts with label Windows. Show all posts
Showing posts with label Windows. Show all posts

Monday, May 19, 2025

Windows'ta Kayıp "New → Text Document" Sorunu ve Çözümü

Bazı Windows sistemlerinde sağ tık → New (Yeni) menüsünde "Text Document" (Metin Belgesi) seçeneği kaybolabiliyor. Bu sorun, özellikle Notepad++ gibi üçüncü parti yazılımlar yüklendikten sonra veya yanlış registry düzenlemeleri sonrasında ortaya çıkabiliyor. Bu yazıda bu problemi nasıl teşhis edip, sistemsel olarak kalıcı bir şekilde çözebileceğinizi anlatıyorum.

Sorunun Belirtileri

  • Sağ tık menüsünde "New → Text Document" seçeneği görünmüyor.

  • .txt dosyasına çift tıklayınca "yetki hatası" veya "uygulama ilişkilendirme" hatası geliyor.

  • assoc ve ftype komutları boş veya bozulmuş çıkıyor.

Adım Adım Çözüm

1. Komut Satırıyla File Association'ı Düzeltme

Admin haklarıyla CMD açıp aşağıdaki komutları girin:

assoc .txt=txtfile
ftype txtfile="%SystemRoot%\system32\NOTEPAD.EXE" "%1"

Bu komutlar .txt uzantısını "txtfile" sınıfına bağlar ve bu sınıfın Notepad ile açılmasını sağlar.

2. Registry Anahtarını Temizle ve Düzelt

regedit ile şu konuma gidin:

HKEY_CLASSES_ROOT\.txt

Bu anahtarın içinde şu şekilde görünmelidir:

  • (Default) değeri: txtfile

Eğer alt klasörler varsa (ShellNew, OpenWithProgids, vs) ve bozuklarsa, tamamını silin. Sadece yukarıdaki (Default) anahtarı kalmalı.

Not: Bozulmuş ShellNew anahtarı, "New → Text Document" menüsünün görünmemesine neden olur.

3. Yeniden Başlat

Registry düzenlemelerinin ardından sisteminizi yeniden başlatın. Artık:

  • .txt dosyaları Notepad ile açılır.

  • Sağ tık → New menüsünde "Text Document" seçeneği geri gelir.

Sonuç

Bu işlem, bozuk file association durumlarında %100 çalışan bir çözümdür. assoc, ftype ve registry düzeltmeleri birlikte ele alındığında, Windows'taki tüm metin dosyası işleyişi normale döner.

İlgili .reg Yedeği (Opsiyonel)

Aşağıdaki gibi bir .reg dosyası oluşturup saklayabilirsiniz:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.txt]
@="txtfile"

Friday, October 11, 2024

Windows Explorer 'Yeni' Menüsünde 'Metin Belgesi' Seçeneğinin Kaybolması ve Çözümü.

Sorun:
Windows Explorer'da sağ tıklama menüsünde "Yeni" altında "Metin Belgesi" seçeneği kayboldu.

Çözüm Adımları:

Kayıt Defteri Düzenleyicisini Aç:

Windows + R tuşlarına basarak Çalıştır penceresini aç.
"regedit" yazıp Enter tuşuna bas.

Kayıt Defteri Düzenlemeleri:

Aşağıdaki yolu kontrol et:
HKEY_CLASSES_ROOT\.txt
Sağ taraftaki (Varsayılan) değerinin txtfile olduğundan emin ol. Eğer yoksa, bu değeri ekle.

Aşağıdaki yolu kontrol et:
HKEY_CLASSES_ROOT\txtfile\ShellNew
Eğer ShellNew yoksa, txtfile anahtarının altında sağ tıklayarak Yeni > Anahtar
seçeneğini kullan ve adını ShellNew olarak belirle.

ShellNew altına sağ tıklayıp Yeni > Dize Değeri seçeneğiyle NullFile adlı bir dize oluştur ve değerini boş bırak.

Sistem Dosyalarını Onarma (Opsiyonel):

Eğer sorun çözülmezse, DISM ve SFC araçlarıyla sistem dosyalarını onarmayı deneyebilirsin:
Komut İstemi (Yönetici) ile şu komutları sırasıyla çalıştır:

DISM /Online /Cleanup-Image /RestoreHealth
sfc /scannow

.reg Dosyası ile Otomatik Çözüm (Alternatif):
Bir .reg dosyası oluşturup aşağıdaki kodu kaydedip çalıştırarak sorunu düzeltebilirsin:

Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\.txt]
@="txtfile"
"Content Type"="text/plain"
[HKEY_CLASSES_ROOT\.txt\ShellNew]
"NullFile"=""
[HKEY_CLASSES_ROOT\txtfile]
@="Text Document"
[HKEY_CLASSES_ROOT\txtfile\ShellNew]
"NullFile"=""

Thursday, September 12, 2024

Windows god mode.

 new folder--> name-->  God mode.{ED7BA470-8E54-465E-825C-99712043E01C}

Monday, September 2, 2024

Classic context menu in Win11.

You can use a small registry hack to revert to the classic context menu if you're not fond of Windows 11's fast context menu.  Open a Command Prompt window. Type the following command line and press Enter:

reg add HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32 /ve /d "" /f

Friday, February 2, 2024

Monday, January 29, 2024

Xps viewer installation in Windows 11.

Apps > Add an optional feature > search xps click checkbox > next > install.

Updated:

System > Optional features > xps.

 https://www.youtube.com/watch?v=nSZ8-jTkuvU

Thursday, November 23, 2023

Irfanwiew Windows 11 file association problem.

Hi, I am Dave, I will help you with this.
1- There is a bug reported by many people that IrfanView cannot be set as the default image viewer.
Right click the IrfanView icon and select 'Run as Administrator' then in IrfanView, go to Options - Set file associations - Extensions and there you can set it as default for your preferred image types.

2- With regards to uninstalling the Photos app, open PowerShell by right clicking its icon and selecting 'Run as Administrator' and run this command, then restart (not shut down) your PC to apply the change.

get-appxpackage *Microsoft.Windows.Photos* | remove-appxpackage

Thursday, December 29, 2022

Windows XP setup on older systems like Pentium 4 with SATA chipset.

Great tutorial about installing Windows XP on AHCI/IDE SATA HDD's in older systems like mine Asus p4 p800x. This configuration would normally give a 007b BSOD error. I solved this problem with the method in the link.