Questions tagged [windows-administration]
47 questions
0
votes
1 answer
Failed "symfony server:ca:install" : Access is denied
when runing the command :
symfony server:ca:install
i have this error :
You might have to enter your root password to install the local Certificate Authority certificate
failed to install the local Certificate Authority: add cert: failed adding…

adaz
- 46
- 3
0
votes
0 answers
Power shell Get-Counter : No application is associated with the specified file for this operation
I am new to power shell scripting. I am trying performance monitor commands for local machine in windows power shell with run as administrator.
PS C:\windows\system32> Get-Counter "\\$env:COMPUTERNAME\Processor(_total)\% Processor Time"…

PavanKumar GVVS
- 859
- 14
- 45
0
votes
1 answer
postgres service restart through batch script
i need postgres service restarts automatically when it crashed or shut down abruptly? I would like to do this batch script. I tried the following
pg_ctl -w restart but it did not worked.

Maredi NaveenKumar
- 21
- 3
0
votes
1 answer
How to Sort Out Drive Letters from Powershell Output
So I am trying to make a for loop that will optimize the drives based on anyone's drives in windows.
I have the following command and know how to structure the for loop. I just need the command to jkust print the drive letters. Is there a way to do…

R. Barrett
- 685
- 11
- 34
0
votes
1 answer
How can I get remote system hardware information using WMI -( Windows Management Instrumentation) from python script
Aim
To write a python script which fetches some hardware information of remote hosts (windows only) and I am using wmi library to connect to the remote host hardware information :
GPU Serial Number
Operating system version
GPU model Name
processor…

praveen
- 179
- 1
- 3
- 16
0
votes
0 answers
Automate Group Policy Windows OS settings using Powershell scripting
I want to automate some Windows OS settings in Group policy (Run -> gpedit.msc). I want to use PowerShell for automating the below OS settings. Curious to know how do we automate it ?
• Go to Run-> gpedit.msc •
Administrative Templates --> System…

codeLover
- 3,720
- 10
- 65
- 121
0
votes
1 answer
How to fix error while creating Tool extension from Windows Admin Center CLI
This is related to developing extension for Windows Admin Center. There is SDK provided for the same by Microsoft to develop extensions. here is detail documentation which I was following…

Tushar
- 58
- 1
- 5
0
votes
1 answer
soapURL to call C# Windows service via Soap in PHP
Problem:
I inherited a software where a C# windows service is called with PHP. It does not work properly so I am just getting started on WCF and SOAP.
My major problem is that I am not able to call the windows service using PHP and Soap. When I try…

NewToSoap
- 19
- 2
0
votes
1 answer
Windows Folder Permissions, Copy into but Cannot Read
Sometimes when running ETL packages on flat files, I receive error: "The process cannot access the file because it is being used by another process".
Another person already has file opened.
Is there a Windows Security Folder permission where person…
user8280126
0
votes
1 answer
Windows Service loses Internet after 40 minutes
I have a simple windows service (C#) that uses a timer to check an external API every 15 mins.
The service runs fine until the machine sleeps, then after a few more iterations (about 40 mins in) it loses internet and all Requests time-out. This…

Matthew Barton
- 11
- 1
- 1
0
votes
0 answers
on one of the client computers, the program cannot execute SOAP request
I wrote a small program on JAVA that requests and sending data to the server via Soap requests. It works fine, but on one of the client computers (windows) program can not execute a SOAP request.
In order to determine that the error is not in my…

user3323059
- 25
- 1
- 5
0
votes
1 answer
Mail gets sent on remote login to a machine only by a particular user not by all users
I have written a VBScript that sends mail when a user logs in to a machine:
Set objMessage = CreateObject("CDO.Message")
objMessage.Subject = "Example CDO Message"
objMessage.From = "admin@domain.com"
objMessage.To = "admin@domain.com"
Set…

Mahesha999
- 22,693
- 29
- 116
- 189
0
votes
2 answers
Windows Server 2008/Vista- check which server roles installed
I know that serverManagerCmd.exe -query will output list of all roles + features in xml format. However, I do not have the ability to parse this easily as I am writing WiX code.
So is there a command which returns different codes depending…

Chirayu Shishodiya
- 544
- 2
- 7
- 14
0
votes
1 answer
Run an application on start up as administrator in windows xp
We want to start one application (exe file) on start up running as administrator so that users cannot kill it. Is this possible in windows xp

Rcrd 009
- 323
- 6
- 17
-1
votes
3 answers
How do I rename all files from folder to xxx{incremental}.jpg using command prompt
I have below files in folder with a same name. Only the extensions are different. All files are valid jpg but with the wrong extension.
How to rename them with extension as .jpg, with a different prefix?
ren *.* *.jpg ----> Is not working for me as…

Sameer Patkar
- 101
- 1
- 9