Benutzer-Werkzeuge

Webseiten-Werkzeuge


dos:logout-reboot-shutdown

Logout/Reboot/Shutdown/GodMode

reboot.cmd
%windir%\System32\shutdown.exe -f -r -t 30
logout.cmd
%windir%\System32\shutdown.exe /l
shutdwn.cmd
%windir%\System32\shutdown.exe -f -s -t 30

Icon auf dem Desktop für Abmelden-Neustart-Ausschalten

create_links_at_desktop.vbs
' VB Script Document
' will create a link to the Desktop/Opt for shutdown, reboot, logoff and more
' created with windows 10'
' script written by NoBBi
' Version 20181215a
'
' Übersicht der SHELL-Icons: http://help4windows.com/windows_7_shell32_dll.shtml

Set objShell = CreateObject("Wscript.Shell")
strDesktop = objShell.SpecialFolders("Desktop")
 
Dim objFSO, newDIR
strDestination = strDesktop & "\OPT"
Set objFSO = CreateObject("Scripting.FileSystemObject")  
if objFSO.Folderexists(strDestination) = false then
  Set newDIR = objFSO.CreateFolder(strDestination)
end if
 
Set objShortcut = objShell.CreateShortcut(strDestination & "\Abmelden.lnk") 
objShortcut.Arguments = "/l " 
objShortcut.Description = "Abmelden des aktiven Benutzers."
objShortcut.IconLocation = "C:\Windows\System32\SHELL32.dll, 44"
objShortcut.TargetPath = "C:\Windows\System32\shutdown.exe"   
objShortcut.WorkingDirectory = "."
objShortcut.Save
 
Set objShortcut = objShell.CreateShortcut(strDestination & "\Herunterfahren.lnk") 
objShortcut.Arguments = "/f /s /t 7" 
objShortcut.Description dos/logout-reboot-shutdown.txt · Zuletzt geändert: 2017/12/27 19:45 von Admin