Questions tagged [windows-command-prompt]
Refers to the default CLI that ships with all versions of Windows, often shortened to just "command prompt" or cmd (after the file name of the executable).
388
questions
1
vote
0
answers
98
views
Running windows container's command prompt and a command
I am running Windows Nanoserver in a container.The nanoserver contains only the command prompt and nodejs that I have installed at the build time and it lacks powershell.
I want to execute certain ...
-3
votes
2
answers
86
views
Why can't I cd to my file in cmd? [closed]
I'm typing cd ~ C:\Desktop\gitPractice
And I get this return:
bash: cd: too many arguments
What do I need to fix here in order to be able to change directory?
0
votes
1
answer
412
views
Windows hello for business: remove certificate from virtual smartcard
I've managed to add a certificate to windows hello for signin to RDP.
See: https://learn.microsoft.com/en-us/windows/security/identity-protection/hello-for-business/rdp-sign-in?tabs=intune
However ...
0
votes
1
answer
198
views
ssh from CL using keyfile from Windows client to Linux server
This sort of thing drives me crazy - hopefully obvious solution(s). Have keys on Win 10 laptop, and on one of my Linux servers. If I use puTTY, where I can explicitly browse to the keyfile on the ...
1
vote
1
answer
1k
views
Managing Orphaned .avhdx Files in Hyper-V with PowerShell
I'm managing a Hyper-V environment and looking to clean up my hard drive to free up space. Specifically, I want to delete orphaned .avhdx files and possibly move some to external storage. I prefer ...
0
votes
0
answers
124
views
Trying to import a specific portion of the local security policy template for account lockout
I am trying to implement a solution to modify the local security policy on client machines using SECEDIT and a provided inf file, however /IMPORT requires the /db parameter to be listed but I cannot ...
0
votes
0
answers
111
views
Add context menu for file passing multiple parameters to target
I would like to use an AI subtitles sync program (Alass). This is very simple in Linux/bash but I was trying for a way to achieve this using Windows and the context menu. So here my requirement:
make ...
0
votes
1
answer
366
views
Start exe as current logged in user
i am creating exe shortcut on Windows startup folder while installing application. It was automatically starts on Windows start and restart.
I want check on every 5 mins whether the exe running or not....
0
votes
1
answer
646
views
Can we use RoboCopy to synchronize data?
I have a project where we are moving from on-premise file share to AWS FSx.
I need your suggestion on data synchronization. I decided to use the RoboCopy tool to copy the data. We need to also copy ...
0
votes
1
answer
49
views
SFC Couldn't Perform Requested Operation -- Options?
I had a user come to me with her company issued Dell laptop. After the "Dell" splash screen is done, Windows does not boot. It's just a blank, black screen. After rebooting several times via ...
0
votes
1
answer
642
views
How can I determine which network adapter a device is using for packet emission when attempting to reach a specific IP address using ping?
I have been trying to reach a particular IP and I have not been able to check on which Network Adapter it is using for publishing. Is there any way to check on a particular device to verify whether it ...
-1
votes
1
answer
3k
views
Add Network Printer using command /Powershell after exporting it from One Machine to Another Windows 10/11
AIM : To export Network Printer from one Windows 10 machine to an output file and using that output file import it to another Windows 10 machine on the same network.
Research work:
The following ...
2
votes
1
answer
767
views
PS Stop-Process fails to stop a subprocess launched from cmd.exe
Preface: I've boiled down a problem I'm having to this simple reproduction, which admittedly looks pretty strange out of context.
From powershell (PS), if I use Start-Process to start notepad and ...
0
votes
2
answers
2k
views
Activate and specify logon script without user interaction
I would like to remotely activate a logon script to computers (Win10 and 11) not connected to a domain.
I can already remotely deploy software/script/files as admin, for example: I can deploy a logon....
1
vote
2
answers
10k
views
Generate SHA256 Hash of a STRING from Windows Command Line
While this is simple to do in the *nix world, I can't come up with a solution for generating a SHA256 hash of a string from the Windows command shell (not PowerShell) without installing a 3rd party ...