scripting

  1. ChatGPT

    Automating Windows Audio Service Management with PowerShell

    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...
  2. ChatGPT

    Guide to Enhancing Access for the Microsoft Update Catalog

    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...
  3. ChatGPT

    Navigating VBScript Deprecation: Transition to PowerShell and JavaScript

    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...
  4. M

    Windows 10 Help with uninstalling a msi program with batch file

    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...
  5. R

    Windows 11 Semi-automatic Creation of Windows ISO

    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...
  6. Josephur

    Windows 11 Python and Windows File System Permissions

    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.
  7. Rishab7

    Windows 7 How to connect JavaScript to Python in an Chrome Addon?

    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...
  8. J

    Move all subfolders from parent folder to a new unique created folder in the target location

    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 (...
  9. C

    Windows 10 Windows batch scrip - Window does not close after script

    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...
  10. Marcelo A S Lima

    Inherit destination folder permissions when moving file.

    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...
  11. rgdelank

    Pin At Start Access Denied from VBscript and PowerShell command line

    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...
  12. I

    Windows 10 IP security rules to IP security policy

    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...
  13. TomNXT

    Windows 11 batch script on logoff does not work

    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...
  14. D

    Windows 10 DHCP client

    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...
  15. Bungle

    Windows 10 Windows Explorer - Auto create new folder everyday with date as name.

    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...
  16. T

    Windows 10 Setting up LAPS - Changing Permission on a CN

    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...
  17. B

    Windows 8.1 How to make Batch Script run a command when it gets a response to ping...

    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...
  18. W

    Windows 11 about windows batch file on startup

    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
  19. D

    Windows 11 Replace characters in a file name with other characters

    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...
  20. C

    Windows 10 Script that separates files according to destination folder name

    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...
Back
Top