mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-05-12 04:31:04 +00:00
Update security.js
This commit is contained in:
parent
f6ec022378
commit
04c69b6b7a
|
@ -30,6 +30,12 @@ function setDisableAntiSpyware(x) {
|
||||||
REG.write(REG.HKLM, path, key, __BOOL_TO_DWORD__(x), REG.DWORD);
|
REG.write(REG.HKLM, path, key, __BOOL_TO_DWORD__(x), REG.DWORD);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
function getDisableAntiSpyware() {
|
||||||
|
var path = "SOFTWARE\\Policies\\Microsoft\\Windows Defender";
|
||||||
|
var key = "DisableAntiSpyware";
|
||||||
|
return REG.read(REG.HKLM, path, key, REG.DWORD);
|
||||||
|
}
|
||||||
|
|
||||||
// Trun on/off Registry Editor (regedit)
|
// Trun on/off Registry Editor (regedit)
|
||||||
function setDisableRegistryTools(x) {
|
function setDisableRegistryTools(x) {
|
||||||
var path = "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System";
|
var path = "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System";
|
||||||
|
|
Loading…
Reference in New Issue
Block a user