Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: run command: wmic useraccount get name,sid

30 Mar 2014   #1
HDProman

Window 7x64 Professional
 
 
run command: wmic useraccount get name,sid

When I run this command all I see is a quick flash for SID,s and I need to know how to pause the screen and probably also be able to print the results.

What is the correct way to pause and print the resulting list?


My System SpecsSystem Spec
.
30 Mar 2014   #2
UsernameIssues

W7 Pro SP1 64bit
 
 

Option 1:
open the cmd prompt window
type the command in
hit enter

Option 2:
create a batch file (text file)
wmic useraccount get name,sid
pause
save that as test.bat
run it

Option 3:
create a batch file (text file)
wmic useraccount get name,sid > "%userprofile%\Desktop\Test.txt"
save that as test.bat
run it
locate/open test.txt on the desktop

There are other ways too - but that should do for now

edit:
There is probably a way to sent the info to a printer from the command prompt
I just don't know how to do that :-(
My System SpecsSystem Spec
30 Mar 2014   #3
HDProman

Window 7x64 Professional
 
 
Issue Solved

Thanks, I was typing the command using the run box. Now I know to type CMD and then enter the command.
Used print screen and pasted into a Photoshop document and printed from Photoshop.

Thanks, Floyd.
My System SpecsSystem Spec
.

30 Mar 2014   #4
UsernameIssues

W7 Pro SP1 64bit
 
 

Glad to help.

You could print it as text from notepad too after option 2
My System SpecsSystem Spec
Reply

 run command: wmic useraccount get name,sid




Thread Tools




Similar help and support threads
Thread Forum
Windows update never finishes checking / wmic output for updat strange
Hello please help me checking my pc : Diagnostic Report (1.9.0027.0): ----------------------------------------- Windows Validation Data--> Validation Code: 0 Cached Online Validation Code: 0x0 Windows Product Key: *****-*****-*****-*****-P468M Windows Product Key Hash:...
Windows Updates & Activation
Command Prompt command <ipconfig> not working
when I open up my command prompt and type 'ipconfig' without the ' and press enter it returns the line: 'ipconfig' is nto recognized as an internal or external command, operable program, or batch file I am trying to find out the information I need in order to set up a static IP Address for port...
Network & Sharing
Windows cannot find WMIC
Hi, I have a popup that appears every couple minutes saying "Windows cannot find WMIC. Make sure you typed the name correctly, then try again". I did some troubleshooting research and found very little on it. I tried adding %SystemRoot%\System32\Wbem to the PATH in Environment Variables but...
General Discussion
My Windows 7 64bit Home Premium does not have a COMMAND or COM command
When I am told to go to START/SEARCH and type in COMMAND, so I can RUN as Admin, it finds neither COM.exe or COMMAND.exe so I can "Run as Admin" in the DOS windows. It use to. I do have a RUN command that will bring up the DOS window but when executing some commands like CHKDSK it tells me I...
General Discussion
W7 boot: passes UserAccount with Admin rights / without password
PC i7-2600, W7 Home Premium SP1 x64 OEM. When installed a useraccount with password is created. The user account has admin rights. When the PC is powered on: the account logo with User Account name is on the screen and a password has to be entered. This worked for about 2 years without...
Installation & Setup


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 18:56.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App