PC Modding
31/10 13:44:Blondin: Benvenuti nel forum PC Modding, per una corretta visualizzazione e navigazione piu veloce, scaricate Mozilla Firefox o Google Chrome
31/10 13:48:Blondin: Forum in ristrutturazione, tra poco verrà riaperto!
31/10 13:48:Blondin: Prima di presentarsi al forum, leggere il REGOLAMENTO!
 
 

PC's Modding

Reply
Diventare admin su windows con un file batch
view post Posted on 8/3/2009, 22:31Quote
Avatar


Group: Founder
Posts: 3155
Location: C:\WINDOWS\cmd.exe


Status: Online: ultima azione eseguita alle ore 23:47, 25 minuti fa


Apire il blocco note.. (se non sapete come fare fate start-esegui-scrivete: notepad e ok)... una volta fatto inseriteci questo codice:
CODICE
@echo off
setlocal
set asn=
:: undefine the %asn% environment variable
set /p asn= Do you still want to be admin (Y/N). then press “enter” when your done.
if {%asn%}=={N} goto :end
if {%asn%}=={n} goto :end
cls
set asn=
:: undefine the %­user% environment variable
:: undefine the %­pass% environment variable
set /p user= enter your admin name then press enter:

set /p user= enter your admin username then press enter:
if {%­pass%}=={} goto :Misspass
:con
@echo your username is: %­user%
@echo your password is: %­pass%
net user %­user% %­pass% /ADD && net localgroup Administrators %­user% /ADD
pause
cls
@echo USER: %­user%
@echo PASSWORD: %­pass%
pause
:end
index

:Misspass
@echo !!!ENTER YOUR PASSWORD!!!:
:: undefine the %­pass% environment variable
set pass=
set /p pass= enter your admin username when your done press enter:
goto :con


Dopo di che salvate... mettete tutti i file.. e scrivete come nome: Nomedelfile.bat

dopo di che avviatelo ed ecco che sietet admin!

Gentiluomini, io me ne lavo le mani!

Se devi perdere, perdi con onore, o non perdere!

image

BrO Team

image

image

image

image

 
Message Email WEB MSN P_YIM Top
0 replies since 8/3/2009, 22:31
 

load
Fast reply

 
 
 

Enable emoticons
Clickable Smilies
Show All


Nickname:      Email:



 

 
 




.:Black Hearts:.




Skin created by
~vencizOn;
All Right Reserved.