Questions tagged [nircmd]

NirCmd is a small command-line utility for Windows that allows you to do some useful tasks without displaying any user interface.

By running NirCmd with simple command-line option, you can write and delete values and keys in the Registry, write values into INI file, dial to your internet account or connect to a VPN network, restart windows or shut down the computer, create shortcut to a file, change the created/modified date of a file, change your display settings, turn off your monitor, open the door of your CD-ROM drive, and more...

32 questions
4
votes
3 answers

Using nircmd to turn off monitor instead puts PC to sleep

I've been using nircmd to turn off the monitor/display of various PCs like so: nircmd.exe cmdwait 1000 monitor off The cmdwait 1000 part just adds a 1 second delay (to let the last keystroke and mouse movement end) before turning off the display.…
Bort
  • 1,714
3
votes
1 answer

sending keypresses to a process using nircmd

I'm trying to use nircmdc to send a keypress to a background process (without bringing it to front). More precisely, i'm tring to send Ctrl+Shift+S to notepad++.exe: nircmdc win postmsg process notepad++.exe WM_KEYDOWN VK_CTRL 0 nircmdc win postmsg…
eadmaster
  • 1,356
3
votes
2 answers

Setting cmd with default command and user defined message

On button click in a winform application I am executing cmd.exe file (Using system("cmd.exe");), which opens perfectly fine and displays the following: Microsoft Windows XP [Version 6.1.7601] (C) Copyright 1985-2001 Microsoft Corp. C:…
gpuguy
  • 291
3
votes
1 answer

NirCmd volume control of certain applications from Volume Mixer not working?

So I use this app to mute microphone communication in Valorant. But I also want to mute the game itself. The devs of the game have separated these 2 so in Volume Mixer (SndVol.exe) they are 2 processes one called: RiotClientServices.exe the…
usa alb
  • 39
3
votes
4 answers

Can you use nircmd to help save clipboard contents to a Batch File variable?

In a batch script, I wish to save the clipboard text into a variable. Having searched it seems that this is not possible without 3rd-party tools. Well I have nircmd, and one of its commands is: "consolewrite [text] Sends the specified text to the…
TechHorse
  • 357
  • 1
  • 6
  • 17
2
votes
1 answer

How to get system volume level(audio) in windows?

Using nircmd we can set system volume level(audio) but how to get system volume? How can we get system volume using powershell?
user1096880
2
votes
1 answer

Nircmd not recognized in directory

I've an interesting issue; I added nircmd.exe to my directory by running it as administrator and going through the prompts, and confirmed it was in the directory by looking in C:\Windows. Yet whenever I try to call nircmd.exe from command line, I…
Portali5t
  • 145
2
votes
1 answer

NirCmd Screen stays black after waking up from sleep mode

I have a computer that should have 0 user interactions. I want it to turn off and on on specific times. Right now, i have a command that puts the computer to sleep. However i also need a task that wakes the computer up. Right now i have made…
Mitch
  • 21
  • 2
1
vote
1 answer

NirCmd won't copy to windows directory

I was suggested to use NirCmd from this quesiton. However, when I pressed the "Copy to windows directory" button, I got this error. Why?
Jon
  • 9,479
  • 40
  • 99
  • 131
1
vote
3 answers

Mute specific application in Windows without nircmd

One of my games will not respond to the usual nircmd command to mute it: nircmd snircmd muteappvolume Cyberpunk2077.exe 1 I suspect it may not be working as it may be one of those applications that spawns another that controls the audio: I have…
1
vote
0 answers

Invoke S0 Sleep using Task Scheduler for all users

I'm trying to get a Windows 10 Optiplex 7000 to go to sleep at 10pm every day. I installed nircmd and created a task in task scheduler to run a .bat file with the following command: nircmd.exe monitor async_off Running this batch file manually (by…
1
vote
2 answers

How do I create a batch command to minimize the window of a particular program?

I'm using Task Scheduler to launch SoundID Reference.exe, a third-party program, 60 seconds after my Win 10 64-bit computer starts up. That's working fine. I would like to create a batch command to close SoundID's window, after the program starts…
1
vote
2 answers

My monitor doesn't auto-turn off!

I have Windows Vista and I've set up my display to turn off after 1 minute of inactivity in Power Options. However, it simply doesn't. I also tried a utility called "nircmd" which has a "power monitor off" command. It indeed turns the monitor off,…
1
vote
1 answer

Windows Task Scheduler and possible permission problems

I use NirCmd (http://www.nirsoft.net/utils/nircmd.html) to enable me to run commands such as "power off the monitor", "mute system volume" from the command-line (and I highly recommend it, BTW). My OS is Windows Vista. I want to use it to power off…
1
vote
1 answer

Mic mute/Unmute Toggle is not working

Trying to toggle Mute/Unmute for my microphone on the latest windows 10 build but its not working what I'm trying to do below in the code is toggle the mic and each time I do toggle the mic a notification should popup with the current state of the…
1
2 3