Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Add Group/Users to Remote Desktop User

Featured Replies

Hey guys, I am just learning how to write batch files to automatically do commands that I want done with each machine I build for the company I work for.

I was wondering, does anyone know a script I can use in a bat file to enable Remote Desktop Users for a windows xp machine and then add two groups to the user list (signicorp\Domain Admins and signicastdomain\Domain Admins)?

All I want is those two groups to be added to the Remote Desktop Connection Users list.

If you need any more details about what I am looking for a solution to, just reply with what you would like to know.

Thank you very much for all your help and support! It is greatly appreciated.

Thanks!

I got part of an answer... I have been looking into this for about a week or so now..

This is how I do it..

I use a .adm file and import it into my domain group policy to enable Remote Desktop on all my workstations..

Here is the text for the adm file..

CLASS MACHINE
CATEGORY "Remote Desktop Configuration"
KEYNAME     "SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services"

POLICY !!DENY_CONNECT
 #if version >= 4
  SUPPORTED !!WinXP
 #endif
 EXPLAIN  !!DENY_CONNECT_EXPLAIN
 ACTIONLISTON
  VALUENAME "fDenyTSConnections" VALUE NUMERIC 1
 END ACTIONLISTON
 ACTIONLISTOFF
  VALUENAME "fDenyTSConnections" VALUE NUMERIC 0
 END ACTIONLISTOFF
END POLICY
End Category

[strings]
WinXP="At least Windows XP Professional or .NET Server"
DENY_CONNECT="Do not allow client connections"
DENY_CONNECT_EXPLAIN="Prevents remote desktop connections to the system."

This part works fine..

As for the users... lemme know if you figure it out... I have been looking into a few WMI scripts but I am no programmer and am having little luck with other peoples pre-made scripts.

Edited by chilifrei64

Right as I posted I thought of something in my head...

In the same group policy... (or another one if you wish) Go to:

Computer Configuration -> Windows Settings -> Security Settings -> Local Policies -> User Rights Assignments

-> Select "Allow Log on through Terminal Services" -> add your groups

I just tested it at the client I was trying to get it done for.. Works Great!!

Thanks for spuring my thinking process

  • Author

Oh wow! Thanks chilifrei64. That is definatly a big help. Thanks for the answer!

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

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.