Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

What the special batch file you make for your self and for your customers when setup windows ?

<p>write this script or give us a link to your best batch file , and thank you for interest</p>

user-image
Question added by Deleted user
Date Posted: 2014/10/20

find it here when i format a computer

 

------------------------------------------------------------------------------------------------------------------

@ echo offEcho Starting Messenger Serviceecho.net start messengerEcho Disabling Automatic Update Service Serviceecho.sc config wuauserv start= DisabledEcho Stopping Automatic Update Service Serviceecho.net stop wuauservEcho Disabling Firewallecho.netsh firewall set opmode mode=DISABLEEcho Enabling Remote Desktop Connectionecho.reg add "HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d0 /freg add "HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\WindowsUpdate\\Auto Update" /v AUOptions /t REG_DWORD /d1 /f RUNDLL32.EXE user32.dll,UpdatePerUserSystemParametersreg delete HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\RunMRU /va /fEcho Disabling Guest Userecho.net user guest /active:noEcho Connecting PN of192.168.10.6 for Z: Driveecho.net use z: \\\\192.168.10.6\\pn /P:Yes /USER: pass /p:yespause

------------------------------------------------------------------------------------------------------------------

------------------------------------------------------------------------------------------------------------------

 

 

to set the ip address of computer

 

@ECHO offclscolor e2:startECHO.ECHO NOTE: To set the IP Address of your computer please type last digits belowECHO.:pingECHO.ECHO.set /p choice=               192.168.10.ECHO.rem if not '%choice%'=='' set choice=%choice:~0;1% ( don`t use this command, because it takes only first digit in the case you type more digits. After that for example choice is choice2 and you get "bye"if '%choice%'=='' ECHO "%choice%" is not valid please try againif '%choice%'=='%choice%' goto helloECHO.goto start:hellonetsh interface ip set address "Local Area Connection" static192.168.10.%choice%255.255.255.0192.168.10.11netsh interface ip set dns name="Local Area Connection" static192.168.10.6netsh interface ip add dns name="Local Area Connection"192.168.10.1 index=2goto end:endpauseexit

------------------------------------------------------------------------------------------------------------------

------------------------------------------------------------------------------------------------------------------

 Make changes as per your requirement

 

Livin Jose
by Livin Jose , IT Infrastructure And Networking Specialist , Azadea

Hi Hesham,

 

Could you be more specific about your requirement. The applications and programs that you need to run based on your requirement. Do you want to apply any of the policies during the start up? Printer allocation , shared drives or anything like that or you need to set up an application to run when the user logs on?

Ahmed Mohamad Mohamad Elsherbeny
by Ahmed Mohamad Mohamad Elsherbeny , Head of team , Egypt Penetration Testers

Really !!!

More Questions Like This

Do you need help in adding the right keywords to your CV? Let our CV writing experts help you.