Questions tagged [vbscript]

VBScript is a general-purpose scripting language developed by Microsoft that is modeled on Visual Basic. It is commonly used for Windows system administration. Some applications may use it as an internal scripting language allowing application automation.

217 questions
-1
votes
1 answer

How to delete bulk user accounts from a .txt list with VBS/PS2.0/CMD, depending on whether their accounts are disabled?

In short: - I have a .txt list of sAMAccountNames that I need to delete from AD - Before deleting the account, I need to perform a check to see whether they are disabled. If they are disabled, delete them, if they aren't, do nothing. I don't have…
DSKyo
  • 153
  • 3
  • 6
  • 15
-1
votes
1 answer

Create Batch file to execute multiple batch files and VBS files

I have multiple batch files and vbs files , when i try to create a batch to call them it stop after the last batch file and dont execute the vbs. without giving any error if i put the vbs at the start it execute it alone. any advice ? @echo off…
Eddy
  • 257
  • 3
  • 10
  • 22
-1
votes
2 answers

creating and modifying .exe file?

How to create an .exe file and how can I modify exsisting .exe file?
Mit Naik
  • 344
  • 2
  • 11
-1
votes
2 answers

Permissions not applied to folder on Brazilian machine, how to fix that?

I am applying permissions to a folder using RunWait by icacls. It is working correctly on windows 10 64bit English machine. But when I ran on the Brazilian machine, it is not applying. So ran the command manually on the Brazilian machine and got…
uday
  • 352
  • 10
  • 30
-2
votes
1 answer

RUN exe file with a script on Windows 7 32bit

I want to run google chrome on windows 7 32bit with following target path "C:\Program Files\Google\Chrome\Application\chrome.exe --kiosk-printing" When I enter this path to Target Path field in chrome.exe properties it says Target Box is Not valid.
HRS
  • 1
-4
votes
2 answers

"Wscript.echo" in place of Report.txt in VBS?

This script gets remote user's membership info and saves a report.txt as a result. Can this code be changed with wscript.echo in place of Report.txt. I tried to change it but i couldnt :( Thank you in advance strUsers = InputBox("Enter Username:…
serdar
  • 127
  • 7
-4
votes
1 answer

Keep using IE11 functionality after expiry

I am trying to understand how to keep using a legacy intranet "web application" based on VBScript (a scripting language supported by IE11, a still supported product, at the moment of writing). I am afraid that at some point, after Windows update and…
Skary
  • 97
  • 4
1 2 3
14
15