Jump to content

Uac Disable Enable


kalpsizkral
 Share

Recommended Posts

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

bu kodla uac yi kapatıyorum tamma ama ben ilk açılışta eğer kapalı değilse projeyi açmamasını istiyom bir dialog açmasınıo istiyom orda uacyi şimdi kapatmak için bi bton olsun ona tıklayıp uacyi kapattıktan sonra otomatik projem açılsın istiyorum otokur v3 te gördüm çok hoşşuma gitti kintaro abim veya ams ustaları bunu yapamadım nasıl yapılıur Edited by kalpsizkral
Link to comment
Share on other sites

OtoKur'da kullandığım UAC kontrolu şuydu:

[codebox]uacKontrol = Registry.GetValue(HKEY_LOCAL_MACHINE, "Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\System", "ConsentPromptBehaviorAdmin", false)
if uacKontrol == "5" or test == "2" then
proceed = Dialog.Message("UAC Kontrol", "Kullanıcı Hesabı Denetimi (UAC) açık durumda; bu haldeyken OtoKur doğru şekilde çalışmayabilir. \r\n\r\nLütfen UAC'yi kapatın ve daha sonra OtoKur'u yeniden başlatın.\r\n\r\nKullanıcı Hesaplarını şimdi açmak için Evet'i, bu işlemi daha sonra yapmak için Hayır'ı tıklayınız.\r\n\r\(Not: UAC'yi kapadıktan sonra bilgisayarı başlatmayı unutmayınız.) ", MB_YESNO, MB_ICONSTOP, MB_DEFBUTTON1);
if proceed == IDYES then
File.Run(_SystemFolder.."\\UserAccountControlSettings.exe", "", _SystemFolder, SW_SHOWNORMAL, false)
Application.Exit() else
if proceed == IDNO then
Application.Exit() else
end
end
end[/codebox]

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...