script execution

About this tag
Script execution on Windows involves running batch files, PowerShell scripts, VBScript, or shell scripts to automate tasks like drive mapping, software deployment, or scheduled maintenance. Common issues include access denied errors when pinning apps via PowerShell or VBScript, hidden command prompt windows during scheduled batch runs, and login scripts failing due to network path errors or system account context. Troubleshooting often focuses on permissions, script paths, and execution policies. Users also seek methods to monitor folders for new scripts and execute them automatically, or to run scripts silently in the background without user interaction.
  1. 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...
  2. LOL

    Windows 10 Is there any way to run a batch script without showing up the command prompt window?

    I have a server and it don't have backup so I need to run my custom batch script to get files from sftp then archive it. But I need it to run like a schedules, but everytime the schedules start the batch files. I allway open up the command prompt window. Is anyway to hide that window? Like...
  3. Y

    Windows 10 How check every x minutes if there is specific bat file in the folder, and execute if present

    I want to do the following - first deploy new version of software to multiple PCs, and then restart all PCs for changes to take effect. First part is not a problem, for second part is it possible to check if there is restart.bat in Dropbox folder every x minutes, and if there is, execute it...
  4. mardique

    Windows 7 Login script not working

    I know this should probably go in the networking subforum but it's kinda deserted and I need an answer fast. I have a 2012 R2 server (alone) and a Win 7 station. My login script is very simple, it's only a few net use commands (net use :G /delete - net use :G \\Server\Folder). But right now...
  5. News

    "Cannot Allocate Memory" error when you run a shell script in Windows 7 or Windows Server 2008 R2

    Link Removed
  6. B

    Windows 7 Task Scheduler - Win 7 64-bit - problem running .bat file "Hello..."

    Hi, I'm having a problem trying to automatically run a basic .bat file in task scheduler in windows 7 64-bit. I have more complicated .bat files to schedule but I can't get a simple one to run. This is the .bat file: @ECHO OFF ECHO hello there... PING 1.1.1.1 -n 1 -w 5000 >NUL It works fine...
  7. H

    Windows 7 Trouble with Drive Mapping Script on Windows 7 After Domain Login

    Hi, i work in the IT Department and I have just installed Windows 7 on a laptop, this has laptop has then been put on the domain and been setup accordingly I have a Group Policy where a VBS Script is run to map network drive depending on group Memberships this was working when i had XP...
  8. D

    Windows 7 Changing the user space to an other partition

    I've writen some scripts to change the C:\user to an other partition. all seems to work but I can not change the security on the SYMBLINK and Junctions (not the directories) assuming all in c:\users\%USERNAME% is machine independent ... All data will be recreated at first login anyhow...
  9. G

    Windows Vista How to Keep Command Prompt Open When Running Batch Files in Vista Ultimate 64-Bit

    Hi, I am new to this forum. I have one question when i am working with cmd command. My laptop is running on Vista Ultimate 64 bit. When i am running a batch file in cmd prompt, it is asking "press any key to continue". When i pressed any key, the command prompt window is disappearing and not...
Back
Top