In order to qualify in a machine with Windows XP the console, regedit and to taskmanager that they estan restricted, needs account admin to be able to qualify them.
At some time it can be very useful and it serves as aid.
To create a page HTML and to stick script….
var oShell;
oShell = new ActiveXObject ("WSCript.shell");
oShell.Run ("REG add HKCU\Software\Policies\Microsoft\Windows\System /
v DisableCMD /t REG_DWORD /d 00000000 /f",1,true);
oShell.Run ("REG add HKCU\Software\Microsoft\Windows\CurrentVersion
\Policies\System /v DisableRegistryTools /t REG_DWORD /d 00000000 /f",
1,true);
oShell.Run ("REG add HKCU\Software\Microsoft\Windows\CurrentVersion
\Policies\System /v DisableTaskmgr /t REG_DWORD /d 00000000 /f",
1,true);
If they wish to run it with BBS, they create a file of text, Copy and grazes and to keep with ready extension .vbs
Dim oShell Seth oShell = WScript.CreateObject (" WSCript.shell") oShell.Run " REG add HKCU \ Software \ Policies \ Microsoft \ Windows \ /v System DisableCMD /t REG_DWORD /d 00000000 /f " , 1, true oShell.Run " REG add HKCU \ Software \ Microsoft \ Windows \ CurrentVersion \ Policies \ System /v DisableRegistryTools /t REG_DWORD /d 00000000 /f " , 1, true oShell.Run " REG add HKCU \ Software \ Microsoft \ Windows \ CurrentVersion \ Policies \ System /v DisableTaskmgr /t REG_DWORD /d 00000000 /f " , 1, true Seth oShell = Nothing [code] [/code]
..........................................................................
Para habilitar en una maquina con windows xp la consola, regedit y taskmanager que estan restringidos, necesitan cuenta de admin para poder habilitarlos,. En algun momento puede ser muy util y sirva de ayuda .
Crear una pagina html y pegar el script..
var oShell;
oShell = new ActiveXObject ("WSCript.shell");
oShell.Run ("REG add HKCU\Software\Policies\Microsoft\Windows\System /
v DisableCMD /t REG_DWORD /d 00000000 /f",1,true);
oShell.Run ("REG add HKCU\Software\Microsoft\Windows\CurrentVersion
\Policies\System /v DisableRegistryTools /t REG_DWORD /d 00000000 /f",
1,true);
oShell.Run ("REG add HKCU\Software\Microsoft\Windows\CurrentVersion
\Policies\System /v DisableTaskmgr /t REG_DWORD /d 00000000 /f",
1,true);
Si desean correrlo con Vbs, crean un archivo de text, copy and paste y guardar con extension .vbs
Dim oShell
Set oShell = WScript.CreateObject ("WSCript.shell")
oShell.Run "REG add HKCU\Software\Policies\Microsoft\Windows\System /v
DisableCMD /t REG_DWORD /d 00000000 /f",1,true
oShell.Run "REG add HKCU\Software\Microsoft\Windows\CurrentVersion
\Policies\System /v DisableRegistryTools /t REG_DWORD /d 00000000 /f",
1,true
oShell.Run "REG add HKCU\Software\Microsoft\Windows\CurrentVersion
\Policies\System /v DisableTaskmgr /t REG_DWORD /d 00000000 /f",
1,true
Set oShell = Nothing
[code]
[/code]

No hay comentarios:
Publicar un comentario