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.
-
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...- rgdelank
- Thread
- access denied admin rights application automation command line computer setup debugging error handling file system function notepad++ pin to start powershell script execution scripting shell application vbscript windows 11
- Replies: 5
- Forum: Windows Help and Support
-
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...- LOL
- Thread
- archive automation background processes batch file command prompt file transfer script execution sftp task scheduler windows server
- Replies: 1
- Forum: Windows Help and Support
-
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...- yugo23
- Thread
- automation batch file deployment dropbox file check file monitoring pc restart script execution scripting task scheduler
- Replies: 6
- Forum: Windows Help and Support
-
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...- mardique
- Thread
- 2012 r2 access issues batch file cmd file sharing login net network network drive script execution scripting server interference system error troubleshooting user account windows 7 windows server
- Replies: 1
- Forum: Windows Help and Support
-
"Cannot Allocate Memory" error when you run a shell script in Windows 7 or Windows Server 2008 R2
Link Removed- News
- Thread
- error memory issues script execution shell script system resources troubleshooting windows 7 windows server
- Replies: 0
- Forum: Knowledge Base (KB)
-
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...- bagel466
- Thread
- 64-bit automation batch file command prompt script execution system tasks task scheduler troubleshooting windows 7 windows issues
- Replies: 1
- Forum: Windows Help and Support
-
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...- HussainU
- Thread
- automation configuration domain group policy it department laptop login login issues mapped drives membership message box network network drive script execution scripting support troubleshooting vbscript windows 7 xp compatibility
- Replies: 1
- Forum: Windows Help and Support
-
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...- dreuzel
- Thread
- directory environment variables junctions mklink partition registry roaming robocopy script execution scripting security symlinks system admin user folder user space windows 7 workgroup xcacls
- Replies: 1
- Forum: Programming and Scripting
-
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...- gavi11
- Thread
- 64-bit batch file cmd command prompt error handling script execution troubleshooting user experience windows vista
- Replies: 2
- Forum: Windows Help and Support