→ 🚀What's New? Join Us for the Fall Product Launch! Register Now !

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Anonymous
Not applicable
Description: Chkdsk On Next Reboot
cmd.exe /K \\server\share$\Lansweeper\psexec.exe -c -f \\{computer} \\server\share$\Lansweeper\run_chkdsk.bat

\\server\share$\Lansweeper\run_chkdsk.bat
echo Y|chkdsk /F c:


Description: Delete User Profiles > 6 months
\\server\share$\Lansweeper\delprof.exe /q /i /c:\\{computer} /d:180


Description: Restore SAP Logon
cmd.exe /K \\server\share$\Lansweeper\saplogon.bat {computer}

\\server\share$\Lansweeper\saplogon.bat
copy \\server\share$\Lansweeper\saplogon.ini \\%1\c$\windows


Description: Uptime
cmd.exe /K \\server\share$\Lansweeper\uptime.exe {computer} /s


Description: Who's Logged On?
cmd.exe /K \\server\share$\Lansweeper\psloggedon.exe \\{computer}


All the tools used here can be downloaded from Microsoft.
12 REPLIES 12
Optilan
Engaged Sweeper
I like the delete user profiles older than 6 months one, think ill add that in.

Thanks for sharing Bull.
Optilan Communication Systems www.optilan.com
Hemoco
Lansweeper Alumni
Thanks,
I will add some of these actions to the 3.1 version of lansweeper
Next version will include {userdomain} and {username} parameters
76012
Engaged Sweeper II
Nice... Thanks for sharing.