Sunday, 20 April 2014

How to enable default admin account in window

1.Select below code

@echo off
pushd %~dp0
cls

:_main
title K.J
mode con cols=41 lines=9
cls
echo.
echo 1) Administrator account status Enabled
echo 2) Administrator account status Disabled
echo 3) UAC OFF
echo 4) UAC ON
echo X) Exit
echo.

:_set
set _ok=
set /p _ok=.  Enter your choice :
if "%_ok%" == "1" goto _Active
if "%_ok%" == "2" goto _Remove
if "%_ok%" == "3" goto _UACOFF
if "%_ok%" == "4" goto _UACON
if "%_ok%" == "x" goto _end
if "%_ok%" == "X" goto _end
goto _main

:_Active
cls
echo.
echo Windows Logoff 03sec
ping -n 2 localhost >nul
cls
echo.
echo Windows Logoff 02sec
ping -n 2 localhost >nul
cls
echo.
echo Windows Logoff 01sec
ping -n 2 localhost >nul
cls
echo.
echo Windows Logoff 00sec
ping -n 2 localhost >nul
cls
echo.
echo System Logoff
ping -n 2 localhost >nul
cls
echo.
net user Administrator /active:yes
ping -n 2 localhost >nul
logoff
exit

:_Remove
cls
echo.
echo Windows Logoff 03sec
ping -n 2 localhost >nul
cls
echo.
echo Windows Logoff 02sec
ping -n 2 localhost >nul
cls
echo.
echo Windows Logoff 01sec
ping -n 2 localhost >nul
cls
echo.
echo Windows Logoff 00sec
ping -n 2 localhost >nul
cls
echo.
echo System Logoff
ping -n 2 localhost >nul
cls
echo.
net user Administrator /active:no
ping -n 2 localhost >nul
logoff
exit

:_UACOFF
cls
echo.
echo Please wait.
ping -n 2 localhost >nul
regedit /s UACOFF.reg
exit

:_UACON
cls
echo.
echo Please wait.
ping -n 2 localhost >nul
regedit /s UACON.reg
exit

:_end
cls
exit

2.Copy & paste on notepad.
3.Save this notepad file  with bat extension.
4.Run this file .










5.To enable admin account type 1 press enter.

6. your default admin account is enabled.

Done !!!!!!!!!!!!



Say thanks if  helpful

No comments:

Post a Comment

How to install dotnet 3.5 using window CD

1.Install power iso reader 2.Mound window image on it 3.Run CMD as administrator 4.copy paste below attached comand to CMD (select text...