In the world of IT and system administration, managing services effectively is a critical skill for ensuring smooth operation and performance of systems. Recently, a user on the Spiceworks Community posted a request for assistance regarding a PowerShell script aimed at managing the Audio Service...
Introduction
Microsoft Update Catalog is a valuable resource for Windows users seeking to obtain essential updates for their operating systems. To access these updates, enabling scripting within the website is crucial. It is necessary to adjust security settings to allow ActiveX controls and...
In the realm of scripting for web development and task automation, evolution is a constant. To keep pace with modern efficiency, Microsoft is making strategic changes, including phasing out VBScript in favor of more advanced alternatives like JavaScript and PowerShell. Let's delve into the...
I'm currently working on a script to uninstall a msi program that is installed on a client. The package doesn't have a GUID in registry but it does have its own uninstaller.exe I'm currently trying to use a msiexec /x %path/to/exe% /qn /f bat file to uninstall the package quietly without having...
This guide is to automate many manual and error-prone steps of "How to create a Windows 10 ISO image for clean, in-place upgrade and repair install" when is used to prepare Custom Windows 11 ISO with pre-installed software, no user accounts.
This guide is only applicable to Windows 11 (both...
What is the best way to read a files owner and permissions, create a new file then apply those permissions without using the subprocess method or command line icacls etc.
I want to connect my .js code with my .py in a Chrome Add-on.
I want some text from JS being analyzed by the Python ki I've implemented. Then the return value from Python should get passed back to my JS file. Is this possible to do?
It's ok when the Add-on is only runnable locally. I'm looking...
Hi I made this batch code, to move all subfolders from "C:\1" to a new created folder inside folder "C:\2"
@echo off
set "sourceDir=C:\1"
set "destinationDir=C:\2"
set "newFolderName=NewSubfolder"
mkdir "%destinationDir%\%newFolderName%" 2nul
for /D %%I in ("%sourceDir%\*") do (...
Hi Guys,
I have a one to run by you.
I have a simple Windows batch script I run in the morning that basically opens various programs I use for the day. Lazy doing this...yup LOL.
Issue is the command prompt window that pops up never closes after the script is run.
I have tried ending the...
Good afternoon, here at the company I have a Win Server 19 file server. Each department has its own folders and there is a folder for document processing where everyone has access. When a department needs to process a file for another department, they move the file to the processing folder so...
access control
departmental access
document processing
file permissions
file security
file sharing
folder management
it solutions
scripting
windows server
Windows 11: I receive "access denied" by calling "Pin At Start" from the command line, no mather wich language PowerShell or VBscript.
Both are called using administrator rights.
PowerShell
==========
Error
=====
PS C:\Users\roberto> .\t.ps1
Pin-App : App(s) not found: C:\Program...
access denied
administrative rights
application
automation
command line
computer configuration
debugging
error handling
error messages
file system
function
notepad++
pin to start
powershell
script execution
scripting
shell application
user permissions
vbscript
windows 11
Hi,
This is my first post and need some help with adding IP security rules to IP security policy.
Setting IP security policies on local computer.
We have already created IP security policy and blocked the internet.
But we need to allow/add certain DNS (WebURL).
rule:
This rule does not...
Hello, so i added my batch script for auto turning off nanoleafs on pc shutdown via this tutorial Executing a batch script on Windows shutdown but it does not work, if you run the script alone, it works fine, but not on windows shutdown... any ideas? Its added in a shutdown folder and also...
Since I found very little on this I am assuming it is not possible. However this linux guy will ask more competent Windows followers for help! I have a linux based OpenVPN tap server providing connections to clients on the local lan. I have created a dhcp script for linux clients that is...
Hi all.
This is my first post here so apologies in advance if it in the wrong thread.
I am by no means an it expert hence me asking for help on this.
I want to create a new folder everyday to keep a record of curtain work things relating to this particular day.
So within a current folder I...
I am currently having an issue with changing permissions on our networks CN=Computers. When setting up LAPS you must run a command on the organizational units that have your workstations in them. Well our network has been setup where our Headquarter's Computers sit within the CN=Computers...
Ok so i want a batch file that will run in the background and ping a few servers, and then if it gets a response from any of these servers (If it is able to communicate with them), it executes a command.
It will be running on a machine that in normal operation has no internet (WAN) access, (For...
automation
background process
batch script
command execution
command line
error handling
google
internet access
lan
microsoft
network monitoring
networking
ping
scripting
scripts
security
server response
system utilities
windows
windowsforum
What commands will get a batch file to stop trying to start a program on windows startup? The following code below is what I had used to execute said program as a batch file:
C:\Users\drumm\Desktop>start "" "C:\Program Files\WinRAR\WinRAR.exe" -pc MY-PC -launch
I have a large library of music file names (mp3 files) that I need to change to conform to certain criteria.
1. I need to append the two digits "00" to the beginning of certain filenames that do not have a track number
2. I need to replace the two characters "(a space)-", that may appear...
Greetings, I need a Script that separates files According to destination folder name. Example if in the destination folder there is a folder named Paulo, it searches in the source folder where the files are located to separate files that have the name Paulo.
Origin
Paulo24567.mp4
Destiny...