script

  1. Windows 10 Error handling in Powershell

    A Windows system use an external drive N:. A programs that use the external drive give sometimes an error message like "Directory N:\datastore is not available". To test the continuous availability I write the next batch script. :loop @TimE /t >> N:\datastore\test_times.txt @sleep...
  2. G

    Linux Bash User Input

    I am writing a script which requires user input. How can I prompt for user input to use in my bash script. Thanks for your offer to help. I'm very grateful.
  3. P

    Windows 10 hta script to display animated GIFs in a folder and its subfolders

    Dear Community, in the Windows 7 Forum I found a working hta script to display animated GIFs located in a folder: Animate GIF files in Windows Explorer? Here is the hta script: <html><head><title>Animator</title></head> <body><script type="text/vbs"> set...
  4. Windows 10 Script Dual Boot Win X Linux cuidado

    Olá! Net hum Já corri Muito sem Sucesso. Agora recorro AOS senhores para ver a possibilidade de Solução. Abaixo o meu Problema APOS execução dum Roteiro, Não Saiu Fazer meu Computador MESMO APOS formatar o nota Fazer zero: bcdedit / set {} bootmgr Caminho \ EFI \ ubuntu \ grubx64.efi Como Posso...
  5. VIDEO Sinclair's script for nearly 200 right leaning local TV stations

    :usa::insanity::razz:
  6. R

    Windows 10 command to remove DNS entries in Advanced Settings?

    Hi All Wondering if anyone knows a command to remove the DNS entries within the advanced TCP/IP settings? The primary and secondary DNS IP need to be changed with the tertiary and quaternary DNS IP. Simple enough doing it manually but there's over 50 VMs this needs to be done on so i'm trying...
  7. B

    Windows 7 Batch file to format HD Unattended

    Hey Guys, I was wanting to create a batch file to automatically format my harddrives unattended. My pc's are Windows 7. I dont want to press any keys, Id like for it to be fully unattended What I have so far is this: @echo off format C: /FS:NTFS /X Will this work? Have you guys tested any...
  8. T

    Windows 10 windows script host error

    I have been getting this error messages for few days now. This error messages keeps resurfacing every few minutes. Please help me with this. The screenshot is given below.
  9. J

    Windows 7 Detect both my external addresses

    Hi! I'm trying to get a way to display/detect both my external IP addresses. I'm connected to the net via cable and via wif. The wifi is thought as a backup, but it's always connected. The interface metric is 10 for the cable and 100 for the wifi, so the system selected the cable first. Now...
  10. W

    Windows Server Launching Application on reboot

    I have an application that needs to be launched automatically upon reboot. The application has login and password, so I need to have a script to pass out the login info. Please let me know if we can do it with .bat script and if you have an example. Appreciate it!
  11. Fun with the Windows Subsystem for Linux

    At Build 2016, Microsoft introduced to the world the Windows Subsystem for Linux (Beta) [WSL], which enables developers to run native Ubuntu user-mode console binaries through the Bash shell in Windows 10. If you’re in the Windows Insider program, you’ve had the opportunity to try out this...
  12. Windows 7 Powershell LAN/WLAN Switcher

    Many times people may have both their wireless NIC and wired NIC connected at the same time. This can create a bridge and cause your network performance to degrade. Here is a powershell script that could be setup as a scheduled task to run at start up. What it does it detect if the wired nic...
  13. T

    Keyboard issue azerty qwerty

    hello, I'm working and living in Belgium and we use the azery keyboardformat. I'm having a annoying problem since a few weeks. Every time a user logs on, the keyboard is set to Qwerty. The user is not able to switch to azerty. is there a possibility to set the keyboard to Azerty via GPO or via...
  14. Website is slow, most times "waiting for "url" "

    Hello, I recently setup a new server with a website, so i can learn windows server 2008 I am using a desktop computer, it's a quad core 8 gig of ram, I've used xampp before on this computer and the website runs fast, I also had the website on my ovh dedicated server online and it runs fast...
  15. Windows 10 Windows 10 Powershell based virus detector

    Here's a neat script I put together today. If added as a scheduled task it will loop and monitor running processes. The only thing needed is to sign up for an account on virustotal.com to get an API key then replace the F's with your api key Function Get-ProcessReport([string]$FilePath...
  16. P

    Windows 7 Great script to uninstall all unnecessary Microsoft "telemetry"/spy patches

    Inspired by a comment on webpage Aegis: Block all Windows 10 components on Windows 7 and 8 - gHacks Tech News I tried out the free uninstall script on Aegis for Windows 7/8.x - Block all known Microsoft spying and Windows 10 upgrade elements | technology which removes dozends of Microsoft...
  17. Enhanced Mitigation Experience Toolkit (EMET) 5.5 converter

    Script to convert setting to EMET 5.5 values Link Removed
  18. Windows 10 Creating your own file hashing "program"

    I personally need to generate file hashes quite a bit for verifying file integrity as well as analyzing malware samples. I really wanted to have code that I had complete control over so I wrote a short powershell script and some minor registry editing to set this up. Registry Change If you...
  19. Windows 10 Powershell to collect info for BSOD

    Here is a powershell script that collects roughly the same info for BSOD analysis. Simply run it from an elevated powershell prompt. It creates a folder on the desktop called SYSTEMREPORT and a SYSTEMREPORT.zip. It will also prompt you and enable crash dumps if you don't have them enabled...
  20. Windows 10 Powershell script to monitor device status

    Another powershell script. This one is for monitoring systems and to send alerts if a monitored system is no longer pingable. It generates a balloon notification and an email alert. It is similar to my laptop tracking script. Run the script once to configure it then add your hosts you wish...