Technical FAQs

Ask a Question

How can windows users will generate password expiry alert while SCADA running.

With the help of the following DOS cmd we cah have elert messgae

net user %username% /domain | findstr /C:"Password expire"

You can call this command in Vijeo Citect with help of a batch file using function

Exec("C:\WINDOWS\system32\Run.bat")

Where Run.bat is a batch file with following codes:

@ECHO OFF
net user %USERNAME% /domain | findstr /C:"Password expires"
pause


Put this Run.bat file in C:\WINDOWS\system32.

You can call this function with a button or with help of events.

Was this helpful?
What can we do to improve the information ?