55 Guide , disableDiagnosticServices ,
66 disableBluetooth , disableMaps ,
77 msiModeUtility , disableXbox ,
8- nvidiaPI , restart
8+ nvidiaPI , restart ,
9+ disableWinDef , Enable
910)
1011
1112"""Code By Chinmay Varier"""
2728
2829cpuOptimization = Label (ROOT , text = "Apply CPU Optimizations" , bg = "#cba4ff" )
2930cpuOptimization .config (font = ("Times" , 20 , "italic" ))
30- cpuOptimization_canvas = MC .create_window (Fh - 95 , 10 , anchor = 'nw' , window = cpuOptimization )
31+ MC .create_window (Fh - 95 , 10 , anchor = 'nw' , window = cpuOptimization )
3132cpuButton = Button (ROOT , text = "Confirm" , command = cpuButton , bg = "#00FFFF" , width = 20 )
32- cpuButton_canvas = MC .create_window (Fh - 20 , 50 , anchor = 'nw' , window = cpuButton )
33+ MC .create_window (Fh - 20 , 50 , anchor = 'nw' , window = cpuButton )
3334
3435PowerSaving = Label (ROOT , text = "Apply USB Optimizations" , bg = "#cba4ff" , font = ("Times" , 20 , "italic" ))
35- PowerSaving_canvas = MC .create_window (Fh - 95 , 120 , anchor = 'nw' , window = PowerSaving )
36+ MC .create_window (Fh - 95 , 120 , anchor = 'nw' , window = PowerSaving )
3637PowerSavingButton = Button (ROOT , text = "Confirm" , command = powerSavingForUsb , bg = "#00FFFF" , width = 20 )
37- PowerSavingButton_canvas = MC .create_window (Fh - 20 , 160 , anchor = 'nw' , window = PowerSavingButton )
38+ MC .create_window (Fh - 20 , 160 , anchor = 'nw' , window = PowerSavingButton )
3839
3940DisableDiagnosticServices = Label (ROOT , text = "Disable Diagnostics and Telemetry Services" , font = ("Times" , 20 , "italic" ), bg = "#cba4ff" )
40- DisableDiagnosticServices_canvas = MC .create_window (Fh - 190 , 230 , anchor = 'nw' , window = DisableDiagnosticServices )
41- DisableDiagnosticServicesButton = Button (ROOT , text = "Cofirm" , bg = "#00FFFF" , width = 20 , command = disableDiagnosticServices )
42- DisableDiagnosticServicesButton_canvas = MC .create_window (Fh - 20 , 270 , anchor = 'nw' , window = DisableDiagnosticServicesButton )
41+ MC .create_window (Fh - 190 , 230 , anchor = 'nw' , window = DisableDiagnosticServices )
42+ DisableDiagnosticServicesButton = Button (ROOT , text = "Cofirm" , bg = "#00FFFF" , width = 10 , command = disableDiagnosticServices )
43+ revertDg = Button (ROOT , text = "Revert" , bg = "#FF0000" , width = 10 , command = lambda : Enable ("Diagnostics Telemtry Services" ))
44+ MC .create_window (Fh + 50 , 270 , anchor = 'nw' , window = revertDg )
45+ MC .create_window (Fh - 50 , 270 , anchor = 'nw' , window = DisableDiagnosticServicesButton )
4346
4447DisableBlueTooth = Label (ROOT , text = "Disable BlueTooth Services" , font = ("Times" , 20 , "italic" ), bg = "#cba4ff" )
45- DisableBlueTooth_canvas = MC .create_window (Fh - 105 , 340 , anchor = 'nw' , window = DisableBlueTooth )
46- DisableBlueToothBtn = Button (ROOT , text = "Confirm" , bg = "#00FFFF" , width = 20 , command = disableBluetooth )
47- DisableBlueToothbtn_canvas = MC .create_window (Fh - 20 , 380 , anchor = "nw" , window = DisableBlueToothBtn )
48+ MC .create_window (Fh - 115 , 340 , anchor = 'nw' , window = DisableBlueTooth )
49+ DisableBlueToothBtn = Button (ROOT , text = "Confirm" , bg = "#00FFFF" , width = 10 , command = disableBluetooth )
50+ enableBt = Button (ROOT , text = "Revert" , bg = "#FF0000" , width = 10 , command = lambda : Enable ("Bluetooth Services" ))
51+ MC .create_window (Fh + 50 , 380 , anchor = 'nw' , window = enableBt )
52+ MC .create_window (Fh - 50 , 380 , anchor = "nw" , window = DisableBlueToothBtn )
4853
4954DisableMaps = Label (ROOT , text = "Disable MS Maps" , font = ("Times" , 20 , "italic" ), bg = "#cba4ff" )
50- DisableMaps_canvas = MC .create_window (Sh - 50 ,10 , anchor = 'nw' , window = DisableMaps )
51- DisableMapsBtn = Button (ROOT , text = "Confirm" , bg = "#00FFFF" , width = 20 , command = disableMaps )
52- DisableMapsBtn_canvas = MC .create_window (Sh - 20 ,50 , anchor = 'nw' , window = DisableMapsBtn )
55+ MC .create_window (Sh - 63 ,10 , anchor = 'nw' , window = DisableMaps )
56+ DisableMapsBtn = Button (ROOT , text = "Confirm" , bg = "#00FFFF" , width = 10 , command = disableMaps )
57+ enableMaps = Button (ROOT , text = "Revert" , bg = "#FF0000" , width = 10 , command = lambda : Enable ("Download Maps Manager" ))
58+ MC .create_window (Sh + 50 ,50 ,anchor = 'nw' , window = enableMaps )
59+ MC .create_window (Sh - 50 ,50 , anchor = 'nw' , window = DisableMapsBtn )
5360
5461xbox = Label (ROOT , text = "Disable Xbox Services" , font = ("Times" , 20 , 'italic' ), bg = "#cba4ff" )
55- xbox_canvas = MC .create_window (Sh - 75 , 120 , anchor = 'nw' , window = xbox )
56- xboxBtn = Button (ROOT , text = "Confirm" , bg = "#00FFFF" , width = 20 , command = disableXbox )
57- xboxbtn_canvas = MC .create_window (Sh - 20 , 160 , anchor = 'nw' , window = xboxBtn )
62+ MC .create_window (Sh - 90 , 120 , anchor = 'nw' , window = xbox )
63+ xboxBtn = Button (ROOT , text = "Confirm" , bg = "#00FFFF" , width = 10 , command = disableXbox )
64+ revertXbox = Button (ROOT , text = "Revert" , bg = "#FF0000" , width = 10 , command = lambda : Enable ("Xbox Services" ))
65+ MC .create_window (Sh + 50 , 160 , anchor = 'nw' , window = revertXbox )
66+ MC .create_window (Sh - 50 , 160 , anchor = 'nw' , window = xboxBtn )
5867
5968MsiMode = Label (ROOT , text = "Open Msi Mode Utility" , font = ("Times" , 20 , 'italic' ), bg = "#cba4ff" )
60- MsiMode_canvas = MC .create_window (Sh - 80 , 230 , anchor = 'nw' , window = MsiMode )
69+ MC .create_window (Sh - 80 , 230 , anchor = 'nw' , window = MsiMode )
6170MsiModebtn = Button (ROOT , text = "Confrim" , bg = "#00FFFF" , width = 20 , command = msiModeUtility )
62- MsiModebtn_canvas = MC .create_window (Sh - 20 , 270 , anchor = 'nw' , window = MsiModebtn )
71+ MC .create_window (Sh - 20 , 270 , anchor = 'nw' , window = MsiModebtn )
6372
6473nvPI = Label (ROOT , text = "Open Nvidia Profile Inspector" , font = ("Times" , 20 , 'italic' ), bg = "#cba4ff" )
65- nvPI_canvas = MC .create_window (Sh - 117 , 340 , anchor = 'nw' , window = nvPI )
74+ MC .create_window (Sh - 117 , 340 , anchor = 'nw' , window = nvPI )
6675nvPIBtn = Button (ROOT , text = "Confirm" , bg = "#00FFFF" , width = 20 , command = nvidiaPI )
67- nvPIBtn_canvas = MC .create_window (Sh - 20 , 380 , anchor = 'nw' , window = nvPIBtn )
76+ MC .create_window (Sh - 20 , 380 , anchor = 'nw' , window = nvPIBtn )
77+
78+ DisableWinDef = Label (ROOT , text = "Disable Windows Defender" , font = ("Times" , 20 , 'italic' ), bg = "#cba4ff" )
79+ MC .create_window (800 - 113 , 440 , anchor = 'nw' , window = DisableWinDef )
80+ DisableWinDefbtn = Button (ROOT , text = "Confirm" , bg = "#00FFFF" , width = 10 , command = disableWinDef )
81+ enableWinDef = Button (ROOT , text = "Revert" , bg = "#FF0000" , width = 10 , command = lambda : Enable ("Windows Defender" ))
82+ MC .create_window (800 + 50 , 480 , anchor = 'nw' , window = enableWinDef )
83+ MC .create_window (800 - 50 , 480 , anchor = 'nw' , window = DisableWinDefbtn )
6884
6985restart = Button (ROOT ,text = "Restart Computer" , bg = "#b187f4" , command = restart , width = 80 , height = 1 ,font = ("Times" , 20 , 'italic' ))
7086restart_canvas = MC .create_window (0 + 200 , 765 , anchor = 'nw' , window = restart )
71- guideButton = Button (ROOT , text = "Guide" , bg = "#ffa781" , command = lambda : Guide (ROOT ), width = 80 , height = 1 , font = ("Times" , 20 , " italic" ))
87+ guideButton = Button (ROOT , text = "Guide" , bg = "#ffa781" , command = lambda : Guide (ROOT ), width = 80 , height = 1 ,font = ("Times" , 20 , ' italic' ))
7288guideButton_canvas = MC .create_window (0 + 200 , 830 , anchor = 'nw' , window = guideButton )
7389
74-
7590ROOT .mainloop ()
0 commit comments