Jump to content

Log another account using bat file

Featured Replies

Hi all,

 

I need to write a script (for administration purpose) in bat file, when click the particular bat file it should automatically alo into another user which we have mentioned earlier.

 

any suggestions plz

 

thanks

I fail to see why a batch file like this would be needed when the Run as command will let you run a program as another user, and any administrative actions needed to be taken you don't need to be in the user's account (assuming this is a Server 2003 Active Directory Domain)

 

And there is always logging off and logging back on as the second user.

Archived

This topic is now archived and is closed to further replies.

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.