Questions tagged [windows-net-command]

The complex and powerful ``net`` command on Windows

The complex and powerful net command on Windows

Below are some actions you can take using the net command on Microsoft Windows 7 / 8/ 10:

NET ACCOUNTS   Adjust account settings.
NET COMPUTER   Add other networked computers with Windows Domain Controller.
NET CONFIG     Displays your current server or workgroup settings.
NET CONTINUE   Continues the use of service.
NET FILE       Display opened shared files on the server.
NET GROUP      Add, delete, view, and otherwise manage network workgroups.
NET LOCALGROUP Add, delete, view, and otherwise manage network groups.
NET NAME       Create or delete name used for messaging.
NET PAUSE      Pause the specified network service.
NET SESSION    Display all sessions connected to the computer and deletes them if specified.
NET SHARE      Create and manage a local network share.
NET START      Start the specified network service.
NET STATISTICS Display network statistics of the workstation or server.
NET STOP       Stop the specified network service.
NET TIME       Display the time and date of another network computer.
NET USE        Connects or disconnects your computer from a shared resource or displays information about your connections.
NET USER       Displays users on the computer or domain.
NET VIEW       Displays a list of computers in a specified workgroup or the shared resources available on a specified computer.
7 questions
8
votes
8 answers

how to easily reconnect to "unavailable" network shares

Every once in a while, I run cmd as my admin user. I set up a shortcut for convenience sake... C:\Windows\System32\runas.exe /u:admin.user@domain cmd At some point, I've wanted to run scripts that point at mapped drives available to my regular…
Pete
  • 271
  • 1
  • 4
  • 19
1
vote
0 answers

Access denied (5) for net user /domain command

I would like to get some help debugging an issue we are experiencing in a specific server. We have a web application that uses windows accounts to validate user credentials and groups. We noticed that when we deployed to a specific server, we were…
Kaizer69
  • 141
  • 1
  • 6
1
vote
1 answer

How could I found net.exe activity log in windows server 2019?

I have Windows Server 2019. it is a database server(MSSQL Server) in the intranet environment. I monitor Its Process and I found sometimes the below process runs automatically without any cause. "C:\Windows\system32\cmd.exe" /c "net localgroup…
1
vote
1 answer

Net User Command: Searching for list of users?

I am using this command net user joe.blogs /domain what syntax do I use to search 20 users? How to separate the names to make it search for the users?
0
votes
1 answer

get a list of AD groups used for a specific application

I would like to get a list from the Domain server of the AD groups being used for a specific application. The AD group contain an acronym for the application. For example, I would like to get all groups used for the general ledger application (AD…
FPV
  • 1
0
votes
1 answer

How to get from executable to Windows Service Name (WIndows 7)

I am aware that under windows 7 the command-line commands... tasklist gets me processes (including services) currently running by it's executable name net start shows me all the display names of started services. (“pretty” display names, not the…
Frank N
  • 600
  • 8
  • 18
0
votes
0 answers

net view (and WNetEnumResource) is not finding anything but the local computer after changing motherboard?

I was going to post in StackOverflow but it's more of a network issue than programming issue as I've used WNetEnumResource() for years with no problem. I upgraded my motherboard of my Windows 10x64 system which is a member of a Windows 2008 Domain…