Questions tagged [cscript]

4 questions
4
votes
1 answer

How do I make an exception for Cscript.exe in Windows Server 2008 R2?

I'm trying to add CSCRIPT.exe as an exception to DEP (Data Execution Prevention) in Windows Server 2008 R2. CSCRIPT.exe lives in two locations: C:\Windows\System32 and C:\Windows\SysWOW64. The System32 location is the 64-bit version of the…
Ben Campbell
  • 557
  • 4
  • 16
1
vote
0 answers

Is there a way to check registry definitions in Forefront on remote systems?

After playing with the script found in This Thread yesterday, I found that the script did exactly what I was looking for. However, I need to run these checks on remote systems on our network. I spent a few hours altering the script, but could not…
Joe P
  • 11
  • 2
0
votes
1 answer

Problems with cscript.exe and Windows Server 2008

I was executing this command without any problem: cscript.exe C:\search.vbs D:/myfolder/ When suddenly, after closing and opening the console again, this error appears in a popup when trying to execute the same previous…
0
votes
1 answer

cscript fails when executed by winrm via but works when executed locally

I'm running the following as a part of chef deployment of a windows server. cscript /nologo C:\chef\wget.vbs /url:http://www.opscode.com/chef/install.msi /path:C:\Users\ADMINI~1\AppData\Local\Temp\chef-client-latest.msi The error I get is: CScript…
sclarson
  • 3,624
  • 21
  • 20