How to disable specific users via command ?
Solved/Closed
kelnasawa
Posts
20
Registration date
Thursday January 23, 2014
Status
Member
Last seen
October 10, 2014
-
Mar 24, 2014 at 05:42 AM
kelnasawa - Mar 28, 2014 at 04:50 AM
kelnasawa - Mar 28, 2014 at 04:50 AM
Related:
- How to disable specific users via command ?
- Cs 1.6 money command - Guide
- How to disable images on chrome android - Guide
- Disable deep freeze from command prompt - Guide
- Change computer name command line - Guide
- How to disable javascript in tor - Guide
4 responses
hello,
here is the command:
Using a command line
Open Command Prompt.
Type:
dsmod userUserDN-disabled {yes|no}
See here for more info: https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2003/cc781527(v=ws.10)?redirectedfrom=MSDN#BKMK_cmd
here is the command:
Using a command line
Open Command Prompt.
Type:
dsmod userUserDN-disabled {yes|no}
See here for more info: https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2003/cc781527(v=ws.10)?redirectedfrom=MSDN#BKMK_cmd
kelnasawa
Posts
20
Registration date
Thursday January 23, 2014
Status
Member
Last seen
October 10, 2014
Mar 26, 2014 at 02:15 AM
Mar 26, 2014 at 02:15 AM
hey , thanks
i also did it in an easier way ..
" net user USERNAME /active:no " and i added all users in a .bat file
regards
i also did it in an easier way ..
" net user USERNAME /active:no " and i added all users in a .bat file
regards
I assume you have to specify the domain name somewhere?
Otherwise net user USERNAME would look for the local users.
Otherwise net user USERNAME would look for the local users.