Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- echo Podaj nazwe uzytkownika:
- set /P UzytkPC=
- echo Podaj nazwe komputera:
- set /P NazwaPC=
- echo Podaj nowa nazwe komputera:
- set /P nNazwaPC=
- echo Podaj nazwe grupy roboczej:
- set /P grupaPC=
- set nGrupaPC=SP1
- echo Zmieniam nazwe komputera...
- WMIC computersystem where caption="%NazwaPC%" rename "%nNazwaPC%"
- echo Zmieniam grupe robocza...
- wmic computersystem where name="%computername%" call joindomainorworkgroup name="%nGrupaPC%"
- echo Usuwam konto Computer-art.pl...
- net user computer-art.pl /Del
- echo Zmieniam nazwe administratora na SP1...
- wmic useraccount where name="%UzytkPC%" rename "SP1"
- echo Tworze uzytkownika Wizard...
- net user /Add Wizard
- echo Zmieniam wlasności konta Wizard...
- new localgroup administrators Wizard /add
- echo Zmieniam haslo uzytkownika SP1...
- net user SP1 Tp6PMs:V&/3+
- pause
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement