![Black Box Optinet FE408005AA User Manual Download Page 122](http://html.mh-extra.com/html/black-box/optinet-fe408005aa/optinet-fe408005aa_user-manual_2761491122.webp)
114
date /t >> %TMP%\login.txt
echo %USERNAME% >> %TMP%\login.txt
REM Browse to “%tmp%” in windows explorer by typing %TMP% in the address bar (use internet
explorer if necessary)
REM There should be BOTH a cymdir.log and also a login.txt file in %TMP% folder.
REM If both are missing, this script is not being run
REM if both are present, send cymdir.log to support@Black Box Network Services.com
The purpose of this script is the put the date, time, and username of the last login in a text
file called login.txt located in the user’s %TMP% directory. As these are all standard
Windows Shell Functions, there are no references to cymdir.
Figure 7.17 %TMP% Folder
After logging in with this policy, browse to the temporary folder %TMP%. %TMP% is a
Windows Shell Variable that corresponds to each user’s Temporary Files Folder. You can
navigate to it directly by putting %TMP% in the Address Line of Windows Explorer.
Open login.txt if it exists. If login.txt is in the Temporary Directory, verify the login time,
date, and username are correct. If so, then Group Policies seem to be working properly,
and you should try some of the other troubleshooting methods mentioned below. If the
login.txt does not exist or does not contain the correct information, you will more than likely
need to contact perform some troubleshooting and verify your GPO settings. Once your
Group Policy Object Login scripts are performing as expected, cymdir.exe can be deployed
in your network.
Troubleshooting Directory Client
If the Directory Client Help Dialog Box keeps popping up, look for an error message. The
top portion of the cymdir.exe dialog will display a relevant error message (connection
failure, unrecognized option, bad or misspelled command name, Invalid IP address, etc).
Double check the login script. If there are no error messages, it implies that no command
line arguments were given to Directory Client (Similar to double clicking cymdir.exe). Some
scripting languages require enclosing the parameters in quotes.
If there are no Directory User profiles under Manage -> Directory Users & Nodes ->
Directory Users, Optinet is not receiving heartbeats from the Directory Client. Confirm that