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.

Disable Remote Login from commandline

Featured Replies

Hi all,

I'm working on a windows installer that adds a new user to the system to run scheduled tasks.

I generate a random password, add the user, and schedule the tasks.

Here's the thing I can't figure out so far:

For security, I want to disable remote login for that account. I think there's a utility for windows that can do this, in the Resource Kit. But I can't depend on the kit being installed - I have to assume the end user won't have it.

I also can't re-distribute the program(s) that comes as part of the Resource Kit, as part of my installer - we don't want to make Microsoft angry :)

Anyway, I see two programs that come as part of the Resource Kit that would do the job:

Ifmember.exe - Manage user group association

Ntrights.exe - Manage user rights

I am trying to figure out if anyone knows a way (through registry manipulations, another open-source alternative that I could include in my installer, or anything really) to disable remote login rights for my new user. I would prefer something that works on Win9x as well as 2000/XP, but anything would help... even if the solution only worked on 2000 and up (I can warn the user that I can't disable remote login for their OS because it's too old or something).

Any help would be greatly appreciated.

Edited by Virindi

I believe that the "Access this computer from the network" right is granted at the group level. By default the "Access this computer from the network" is given to the following groups:

  • Everyone
  • Administrators
  • Authenticated Users

You may want to consider moving your new user out of the Everyone group and into the Users group. This should keep the new account you are creating from accessing the PC over the network - in other words they must be logged on physically at the PC.

  • Author

I will definately give this a shot. Thanks very much for the help.

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.