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).
389 questions
2
votes
1
answer
178
views
Weird Windows copy / paste issues - leading spaces
I'm working on a large-scale unstructured data project in my org, and there's a number of very large volumes which need to be relocated that have thousands of folders (which are named 0000000 - ...
0
votes
1
answer
172
views
How to kill process based on arguments used to initiallize it on Windows
On my Windows 10 I started Chrome with this command line
"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --user-data-dir="C:\perfil-chrome-automatizacao"
Now I need ...
0
votes
1
answer
705
views
AzCopy Upload Works in CMD but Fails with 403/401 Errors in Batch Script
I am encountering an issue with AzCopy where my script runs perfectly fine in CMD but fails with authentication errors when executed via a batch file. Here's a breakdown of the situation:
The aim is ...
1
vote
2
answers
26k
views
Activate Windows Server 2022 license from cmd
How can I activate a Windows Server 2022 product key from the cmd prompt? I'm not sure if it can be done through CMD or code, and I wanted someone to help me and if it could be done, can someone ...
0
votes
1
answer
534
views
Neither "net" nor "whoami" show distribution groups
My Windows-account myUser is member of an Active Directory distribution group myGroup. I verified this via this PowerShell-command.
(Get-ADUser myUser -Properties MemberOf | select MemberOf).MemberOf `...
1
vote
0
answers
374
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
225
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
1k
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
772
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
4k
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
1
answer
666
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
1k
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
88
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 ...
1
vote
1
answer
2k
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 ...