Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Advanced Batch scripting Question ;)

Featured Replies

  • Author

Here is my Finished Script,

like promised for all here is the Batch. The only thing that was missing was the MSN Explorer and the other Progs.

@echo off
echo.
echo !--------------------------------------------------!
echo Kreiere Lokad User und Setze Passwoerter fuer Admins
echo !--------------------------------------------------!
echo.
copy "x:\Path\Path of Netuser.exe" %WINDIR%
net user UsEr PaSsWORd! /add /active:yes /expires:never /passwordchg:no /fullname:"UsEr" /comment:"UsEr"
netuser.exe UsEr /pwnexp:y
net localgroup "Administratoren" lokad /add
net localgroup "Benutzer" UsEr /delete
net user Administrator PassWORd
netuser.exe Administrator /pwnexp:y
ping -n 5 127.0.0.1>nul
del %WINDIR%\netuser.exe

cls
echo.
echo !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
echo !----------------------------------!
echo !Wichtig ist die ein Text
echo !----------------------------------!
echo !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
SET Choice0=
SET /P Choice0= (J/N)?
IF /I '%Choice0%'=='J' GOTO continue

cls
echo.
echo !---------------!
echo Deaktiviere Audio
echo !---------------!
copy "x:\Path\Path to devcon.exe" %WINDIR%
devcon /r disable =media
ping -n 10 127.0.0.1>nul
echo !-------------!
echo Deaktiviere USB
echo !-------------!
devcon /r disable =usb
ping -n 10 127.0.0.1>nul
echo.
echo !------------!
echo Deaktiviere CD
echo !------------!
devcon /r disable =cdrom
ping -n 10 127.0.0.1>nul
del %WINDIR%\devcon.exe
:continue

cls
echo.
echo -----------------------
echo Deinstalliere Messenger
echo -----------------------

RunDLL32 advpack.dll,LaunchINFSection %systemroot%\inf\msmsgs.inf,BLC.Remove

cls
echo.
echo !!!!!!!!!!!!!!!!!!!!!!!!!!
echo --------------------------
echo Deaktiviere WinXP Firewall
echo --------------------------
echo !!!!!!!!!!!!!!!!!!!!!!!!!!
netsh firewall set opmode disable

cls
echo.
echo -----------------
echo Setze WSUS Client
echo -----------------
copy "x:\Path\Path to misc.reg" %WINDIR%
regedit %WINDIR%\misc.reg
del %WINDIR%\miscs.reg

cls
echo.
echo -------------------
echo Setze Energie Werte
echo -------------------
echo.
powercfg /setactive desktop
echo !---------------------------------!
echo Monitor wird eingestellt auf 20min.
echo !---------------------------------!
powercfg /change desktop /monitor-timeout-ac 20
echo.
echo !------------------------------!
echo Standby wird eingestellt auf NIE
echo !------------------------------!
powercfg /change desktop /standby-timeout-ac 0
echo.
echo !--------------------------!
echo Ruhezustand wird Deaktiviert
echo !--------------------------!
powercfg /change desktop /hibernate-timeout-ac 0
powercfg /hibernate off


cls
echo.
echo.
echo. ---------\\\\\\\\\\\\\\\\\\\\\\\\\\\/////////////////////////////---------
echo. ---------# +---------------------------+ #---------
echo. ---------# !PC ist Eingestellt fuer Text! #---------
echo. ---------# +---------------------------+ #---------
echo. ---------///////////////////////////\\\\\\\\\\\\\\\\\\\\\\\\\\\\\---------
echo. ---------Der PC wird nach dem Bestaetigen Neustarten fuer weitere---------
echo. ---------------------System relevante installationen----------------------
echo. ---------\\\\\\\\\\\\\\\\\\\\\\\\\\\/////////////////////////////---------
pause

cls
echo.
echo. Logo is in Ascii
echo.
echo Bitte Warten...
ping -n 10 127.0.0.1>nul
shutdown -t 10 -c "System startet jetzt Neu" -r

Thank to all that gave me the Tips and Hints required to meke a nice funktioning batch.

Best regards @ all from Val.

You fixed your %choice%, but why are you're still copying, using, and deleting?

copy "x:\Path\Path of Netuser.exe" %WINDIR%
<snip>
net user <snip>
del %WINDIR%\netuser.exe
<snip>
copy "x:\Path\Path to devcon.exe" %WINDIR%
devcon <snip>
del %WINDIR%\devcon.exe
<snip>
copy "x:\Path\Path to misc.reg" %WINDIR%
regedit %WINDIR%\misc.reg
del %WINDIR%\miscs.reg

  • Author

thanks now ive noticed what a fool i am. ****........ ;)

I was thinking on executing it on a local machine this would be necessary. Nope i was wrong.... the files are on a central server were all the clients have access. AAAAAhhhhhhh

OK shoot me- > JOKE :D

Best regards Val.

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.