I was wondering if there is a way to lock out a user on a remote workstation while he/she is logged on. I know how to access compmgmt.msc on the remote workstation.... can it be done through this?

Nope-- there's really not a way to do it as you've described.

You could disable the Local User account, and use shutdown -l from a command line. Might that work for you?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.