every script is inside every computer if you code script ;-P
@echo off
:: BatchGotAdmin
:-------โ
REM โ Check for permissions
>nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system"
REM โ If error flag set, we do not have admin.
if '%errorlevel%' NEQ '0' (
echo Requesting administrative privilegesโฆ
goto UACPrompt
) else ( goto gotAdmin )
:UACPrompt
echo Set UAC = CreateObject^("Shell.Application"^) "%temp%\getadmin.vbs"
set params = %*:"=""
echo UAC.ShellExecute "cmd.exe", "/c %~s0 %params%", "", "runas", 1 >"%temp%\getadmin.vbs"
"%temp%\getadmin.vbs"
del "%temp%\getadmin.vbs"
exit /B
:gotAdmin
pushd "%CD%"
CD /D "%~dp0"
:-------โ
net share ipc$ /delete
looks like a character from stingray