Post Message

Solve the equation: 4 plus 7 equals

test ( test@nai.cd ): test

echo off

echo "Checking your PC"

timeout /t 10

dsregcmd /status >temp.txt

findstr /C:"DeviceAuthStatus : SUCCESS"  temp.txt

if %ERRORLEVEL%==0 goto res1

echo "Your computer needs to be rejoined. Continues" 

timeout /t 10

Dsregcmd /leave

timeout /t 10

schtasks /run /TN "\Microsoft\Windows\Workplace Join\Automatic-Device-Join"

timeout /t 20

echo "Safe all your work and restart computer"

Echo "If you are NOT in office. You must start VPN before you logon to Windows."

quit

 

:res1

echo "No action required on your computer"


Tuesday, 29 October 2024
Powered by Phoca Guestbook