Jump to content

Ams Ile Cmd Komutları


kaan_karabey
 Share

Recommended Posts

REG ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 0 /f
netsh firewall set opmode disable

ben şimdi cmd dosyası olarak kaydettim kapatıyor ama ev ve iş ağı için kapatıyor ortak ağlar için güvenlik duvarını kapatmıyor onu nasıl yapabilirim???

Edited by kaan_karabey
Link to comment
Share on other sites

 

Onları Nasıl Ekleyeceğim :D

 

Malesef bende pek anlamıyorum konuyu görünce eklemek istedim yardımcı olcak arkadaşlar ile ortaya güzel bir program çıkabilir genelde bu işlemleri tek tek format sonrası yapıyorum böyle bir program olursa eğer bu işlem daha kısa ve pratik olur.

Link to comment
Share on other sites

Otomatik Güncellemeleri Kapatmak için:

Registry.SetValue(HKEY_LOCAL_MACHINE, "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\WindowsUpdate\\Auto Update", "AUOptions", "1", REG_DWORD);

Açmak için:

Registry.SetValue(HKEY_LOCAL_MACHINE, "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\WindowsUpdate\\Auto Update", "AUOptions", "0", REG_DWORD);

UAC Kapama:

Registry.SetValue(HKEY_LOCAL_MACHINE, "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System", "EnableLUA", "0", REG_DWORD);

UAC Açma:

Registry.SetValue(HKEY_LOCAL_MACHINE, "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System", "EnableLUA", "1", REG_DWORD);args, "", SW_HIDE, false);

Güvenlik Duvarı Komple Kapama:

File.Run(_SystemFolder.."\\cmd.exe", "/c netsh advfirewall set  allprofiles state off", "", SW_HIDE, false);

Güvenlik Duvarı Açma:

File.Run(_SystemFolder.."\\cmd.exe", "/c netsh advfirewall set allprofiles state on", "", SW_HIDE, false);
Edited by milano88
Link to comment
Share on other sites

  • 2 hafta sonra ...

 

Otomatik Güncellemeleri Kapatmak için:

Registry.SetValue(HKEY_LOCAL_MACHINE, "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\WindowsUpdate\\Auto Update", "AUOptions", "1", REG_DWORD);

Açmak için:

Registry.SetValue(HKEY_LOCAL_MACHINE, "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\WindowsUpdate\\Auto Update", "AUOptions", "0", REG_DWORD);

UAC Kapama:

Registry.SetValue(HKEY_LOCAL_MACHINE, "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System", "EnableLUA", "0", REG_DWORD);

UAC Açma:

Registry.SetValue(HKEY_LOCAL_MACHINE, "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System", "EnableLUA", "1", REG_DWORD);args, "", SW_HIDE, false);

Güvenlik Duvarı Komple Kapama:

File.Run(_SystemFolder.."\\cmd.exe", "/c netsh advfirewall set  allprofiles state off", "", SW_HIDE, false);

Güvenlik Duvarı Açma:

File.Run(_SystemFolder.."\\cmd.exe", "/c netsh advfirewall set allprofiles state on", "", SW_HIDE, false);

Otomatik Güncellelerde yazan kodu neyle çalıştıracaz anlamayadım :(

Link to comment
Share on other sites

 

onu yapıyorum ama ip adresini nereye kaydediyor onu anlamadım.

Dialog Message Olarak Gösterebilirmiyim ona tıkladığımda

 

 

ip nasıl çekiyoruz  toprağım bu lan değilmi bağlantıyı kontrol ediyor ip vermiyor bildiğim kadarıyla 

 

 

 

ip=System.GetLANInfo().IP;

 

Dialog.Message("İp Adresiniz : ",ip)

Edited by corolla98
Link to comment
Share on other sites

  • 1 yıl yıl...

 

Otomatik Güncellemeleri Kapatmak için:

Registry.SetValue(HKEY_LOCAL_MACHINE, "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\WindowsUpdate\\Auto Update", "AUOptions", "1", REG_DWORD);

Açmak için:

Registry.SetValue(HKEY_LOCAL_MACHINE, "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\WindowsUpdate\\Auto Update", "AUOptions", "0", REG_DWORD);

UAC Kapama:

Registry.SetValue(HKEY_LOCAL_MACHINE, "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System", "EnableLUA", "0", REG_DWORD);

UAC Açma:

Registry.SetValue(HKEY_LOCAL_MACHINE, "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System", "EnableLUA", "1", REG_DWORD);args, "", SW_HIDE, false);

Güvenlik Duvarı Komple Kapama:

File.Run(_SystemFolder.."\\cmd.exe", "/c netsh advfirewall set  allprofiles state off", "", SW_HIDE, false);

Güvenlik Duvarı Açma:

File.Run(_SystemFolder.."\\cmd.exe", "/c netsh advfirewall set allprofiles state on", "", SW_HIDE, false);

 

 

SORU :Çok Teşekkürler Arkadaşım emeğine sağlık bu şekilde Kullanıcı Hesabı Denetimi Ayarlarını da ''beni hiçbir zaman uyarma'' şeklinde değiştirmemiz mümkün mü acaba 

soranken cevap önümdeymiş  uac buymuş zaten  :)) 

Edited by G246kmenYildirim
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...