أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.
<p>write this script or give us a link to your best batch file , and thank you for interest</p>
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
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?
Really !!!