0
votes
1answer
1k views

Scan for hardware changes in Windows using command line

How can I scan for hardware changes in Windows using the command line? I'm looking for the same functionality as right-click "Scan for Hardware Changes" in the Device Manager.
-3
votes
1answer
49 views

trying to find domain name in VM [closed]

I requested helpdesk my VM computer name to be added to the domain. after I run the SystemInfo command in the command line, I get WORKGROUP instead of the desired domain name. Help desk insist that ...
1
vote
1answer
147 views

Windows Command-Line Utilities Started Prompting for Password

Recently my computer started prompting for the password of my domain account (that I am logged on as) when running command-line tools such as tasklist or taskkill on remote domain computers. On other ...
1
vote
3answers
1k views

Figuring out what's filling up my hard disks [duplicate]

Possible Duplicate: What are good tools to show disk usage (for Windows)? In brief, I have a system with several hard disks, and although we install everything on the extra (internal) ...
0
votes
2answers
1k views

How to tell if OpenVPN tunnel has been established?

Is there an easy way to determine if a OpenVPN tunnel has been established after connecting? I read somewhere that you can ping the "virtual adapter" on the other end of the tunnel, but I have no ...
0
votes
1answer
3k views

icacls in windows 7 does not give full permission to write files in root drive

icacls in windows 7 does not give full permission to write files in root drive. We have a very old application based on Omnis7 that needs to create and read/write files on drive C: when running as a ...
1
vote
1answer
2k views

Send message to another Computer through Network via CmdLine

I would like to send from a server ( Windows 2008 R2) a pop up message to another Computer in the Network (Windows 7). I already enable AllowRemoteRPC in the registry of my Windows 7 system. This cmd ...
-1
votes
1answer
2k views

Changing the permissions of a folder via the command line [closed]

I use FileZila, and must give 777 permissions to a folder on my site. This folder contains the database file. FileZila tried changing the folder permissions, the command is running smoothly but ...
5
votes
1answer
181 views

Windows 7 Command Line Prompt

From a regular windows 7 command line, how do I launch the admin command prompt?
1
vote
1answer
732 views

command line REGEDIT command (edit) without a popup

I am attempting to disable UAC via a batch file with a REGEDIT command, and everything works - but, I need to be able to do this without clicking. When I run the: REGEDIT /S somefile.reg It works ...
0
votes
2answers
3k views

Windows 7: How to stop/start service from commandline (like services.msc does it)?

I have developed a program in Java that uses on a local SQL Server instance to store its data. On some installations the SQL Server instance is not running sometimes. Users can fix this problem by ...
1
vote
3answers
163 views

Windows CLI: Built-In Utility to list open Ports in XP / Vista / 7

I need a utility built into several versions of Windows (XP to Win7 specifically) that can tell me if a particular port is in use. I've found a few different ways for each OS, but I'm looking for a ...
3
votes
2answers
20k views

How can I authorize users for Remote Desktop without using the GUI?

I need to be able to grant (and revoke) local, non-administrator users' access to a Windows 7 system in an automated fashion (i.e. not by using the System Properties control panel). Script, batch, ...
0
votes
2answers
513 views

Windows 7: Creating shortcut / short command for commandline [closed]

My Windows Command Line didnt recognize the command openssl. Therefore I downloaded it from here http://deanlee.cn/programming/openssl-for-windows. But now, everytime I want to use this openssl tool, ...
1
vote
1answer
989 views

Windows 7 system32 different contents depending on how its viewed

Using Windows 7 x64 Enterprise. When I view C:\windows\System32 through explorer I can see telnet.exe, if I open cmd from the start menu I can use telnet. If I open C:\windows\system32\cmd.exe via ...
0
votes
1answer
320 views

Can I change a user role from command-line in Windows?

I want to change a user from normal user to administrator in command-line. Is this possible? What command should I use?
1
vote
2answers
700 views

How to send the current working directory as an argument in windows?

I want to send a path as an argument to an executable. what I want to do something like this: pushd some\folder set x=cd popd MyExe.exe %x% the problem is that the x variable is now equal to the ...
2
votes
2answers
1k views

Power Shell does not like command

Any ideas what I did wrong here? I copied this script from a tutorial and get this error.... PS C:\Windows\system32> Get-Service | Where-Object ($_.status -eq "running") Where-Object : Cannot ...
2
votes
3answers
3k views

Why does FIND on Windows 7 give an “Access Denied” error?

I have an administrator account on a Windows 7 x64 machine. It is not THE administrator account, the account is simply a member of the administrators group. The install is default. When the user ...
2
votes
1answer
2k views

Win 7 Privilege Level (Run as administrator) via GP or command line

Is there a way to set the Privilege Level for legacy software via group policy or on the command line? I have some legacy software, which we unfortunately cannot move away from. This software ...
1
vote
3answers
407 views

Localhost not recognized

For some reason my localhost is not recognized. I have this in my hosts file as I've always had: 127.0.0.1 localhost ::1 localhost I did do a flushdns, not sure if that caused ...
1
vote
4answers
2k views

Windows Vista /7 command line to launch the “Set up your microphone” wizard (or a mic test wizard)

I'm putting together instructions for our users to test their microphones. Vista and 7 changed the Sound Recorder so it doesn't play back sound. Hence it's not good for testing sound (they have to ...
2
votes
3answers
7k views

does using the SET command add to your path?

If I want to add the java \bin to my environment variable, can I do this from the command prompt using the SET command or is that just temporary?
1
vote
1answer
4k views

Cannot get net time to work across domains on Windows 7

I have been running this command on Windows XP without issue: net time \servername.domain /SET Where the domain is not my current domain. On Windows 7 I am receiving a pop-up: net1.exe - System ...