Skip to main content

All Questions

Tagged with
-2 votes
1 answer
7k views

How to enable your Windows Script Host through Registry Editor?

The error I'm getting: Windows Script Host access is disabled on this machine. Contact your administrator for details. From many websites you can find that making a file named: ["Enabled"] ...
Bappy Sani's user avatar
0 votes
4 answers
2k views

Starting and minimizing Quake Terminal at startup

I'm trying to create a WSF that I can run using Task Scheduler at login. I want it to open the Terminal, switch to Quake mode, minimize that and then close the orignal Terminal window. I've got as far ...
James Richardson's user avatar
-1 votes
1 answer
3k views

Activate Windows License

When I use slmgr /skms <URL> | cmd command in PowerShell it shows me a pop up that I must press the ok button after that I run slmgr /ato | cmd and again shows me another pop up that I press the ...
Soheil Spalany's user avatar
0 votes
0 answers
30 views

How to encode a string in base64 in JScript [duplicate]

Well, i think the title is pretty clear, how to encode a string to base64 in JScript? While researching online i found this: How to decode a Base64 string in JScript Yeah, intresting (for Decoding), ...
root823746374's user avatar
1 vote
0 answers
231 views

Active Directory VBS Scripting, getting blank or no value for "cn" attribute

I am writing a script to write the computer name ("CN") attribute of computer accounts in an OU of Active Directory into description field of the computer account but I am just getting blank ...
Francis's user avatar
  • 11
-1 votes
1 answer
3k views

How beep (or play a system sound) from VBScript, which runs in a window? [duplicate]

How can I make my doalert.vbs script to beep (or at least to play a system sound)? doalert.vbs is a VBScript it runs in a window it is launched by wscript.exe (not by cscript.exe)
Jii's user avatar
  • 7
0 votes
0 answers
34 views

why [CONSOLE]::NumberLock is not working in remote destop system [duplicate]

when i run below command it works fine in my local system but don't know why it not working in remote aws server @start /wait powershell.exe -nologo -WindowStyle Hidden -command "IF ([console]::...
bipin's user avatar
  • 419
-1 votes
1 answer
272 views

One WSH JScript instance to communicate to the StdIn and StdOut of another instance

I want a JScript instance to send a string to the StdIn of another JScript instance; let the other one processes it and then read the returned StdOut results. Consider the code block below: // ...
Foad S. Farimani's user avatar
3 votes
2 answers
10k views

Use PowerShell to create a shortcut to launch a PowerShell script

I have a need to create a shortcut on a Windows 2019 Server for the Eclipse application so that it runs a PowerShell script instead of opening Eclipse. The script runs a few commands first and then ...
L0bst3rGuy's user avatar
3 votes
2 answers
3k views

How do you do an alert / message / popup box using JScript on Windows?

I'm trying to do a Window alert on Windows 10 and it's not going so well. This is what I tried: window.alert("Alert"); And alert("Alert"); It doesn't matter if its in another ...
Alexander Bolte's user avatar
2 votes
1 answer
277 views

what is the win explorer location of chrome's "settings" data?

I have the following script to dump google's junk out of windows when using chrome (this is just partial script): For Each f In FSO.GetFolder("C:\Users\Owner\AppData\Local\Google\Chrome\User Data\...
Adam Evanovich's user avatar
0 votes
0 answers
198 views

Windows shell script not able to make existing IE window visible?

I have been trying to create a really simple script to maintain visibility on an IE page but am currently unable to force the visibility or foreground position of an existing IE window. I am able to ...
Jesse's user avatar
  • 107
0 votes
1 answer
644 views

Windows script Host problem.. error code 800a000D..Type mismatch "Clnt"

Hi I'm windows 10 user with little to zero knowledge about programming. An error came up and windows fail to load... when I my pc opens a dialog box appears.. "Windows script Host" what is wrong with ...
Andreas Tsantes's user avatar
0 votes
0 answers
72 views

Getting failure with the Task Scheduler on Windows Server

I have created a VBS file and prepared a batch file to run that VBS. The code in a batch file to execute batch is below: CScript "file.vbs" When I ran the file manually, it returns success but if ...
Suman's user avatar
  • 1
3 votes
2 answers
4k views

How to hide cmd.exe and cscript command prompts?

I have a test.cmd file on my desktop. In it contains the following line: cmd.exe /c "cscript foo.js" Is it possible to completely silence/quiet/supress/hide any and all console windows from popping ...
Nicole's user avatar
  • 109

15 30 50 per page
1
2 3 4 5
10