Quantcast
Channel: The Official Scripting Guys Forum! forum
Browsing all 15028 articles
Browse latest View live

VB Script to make a drive inaccessable on local system

Hi ,I am new to scripting and here's what I want!I want to write a script which does not allow user to access D drive. I want to show a message "Access Denied" To normal user when they try to access D...

View Article


Folder Permissions VBscript

I have created a script to revoke permissions to certain folders in c Drive . but the problem is the script have revoked rights of admin too and now whenener i try to access the folders even with admin...

View Article


PowerShell Remoting and WinRM PSRemotingTransportException JobFailure

I have a PowerShell script that starts up backup jobs on a Veeam server and returns the results once the job has complete. This script works locally and remotely via Invoke-Command using a similar...

View Article

Will it be possible to Gather System Temperature using PowerShell Script?

I would like to get to the hard drives' s.m.a.r.t technology; in particular the hard drive temperature and write into a text file for following items :HDD, CPU, Motherboard ...Will it be possible to do...

View Article

How to extract data from NSLOOKUP using VBScript?

Does anyone know how to extract data, say the host name, from using the NSLOOKUP command on an IPaddress using VBScript?

View Article


How to find remotely whether the offline files are decrypted

Hi,I am looking for a way to find whether my offline files are decrypted remotely? I wish to use a script which would give me result of the status of the offline files.Thanks,Kamlesh

View Article

Statement to end script early

What statement can I use to just END the vbscript, for debugging. These don't work:EndExitQuitI want to be able to edit my script, type in a statement to kill the script when it gets to that line, save...

View Article

Get value from Excel GetSaveAsFileName and use it in VBScript statement

Okay, here is a tricky one. Currently my script prompts for a report month in mmmm yyyy format, like this:Var1 = InputBox("Please enter the month name for report file.", "Report Month")Then it uses the...

View Article


Trying my Hand at VBS Script To Backup Lotus Notes Files

I am just needing some suggestions. The following is the script:set objFSO = CreateObject ("Scripting.FileSystemObject") const OverwriteExhisting = True...

View Article


VB Script to Convert RTF to MS Word 2010 Docx - Compatibility Mode Issue

Hi there, I have the following script that takes all RTFs in a folder and converts them to Word's Docx. The script works but all the files open up in compatibility mode. Is there anyway to change the...

View Article

Restoring Files from Shortcuts

Hello All,A tech of mine ran a duplicate file finder on a server. He replaced all the duplicates with shortcuts (.lnk) to the original file. However this process didn't really work quite as he...

View Article

Powershell Script: Add users from an excell sheet(CSV) to an AD security Group

Hi can anybody point me to a link or have a script which I can Add users from an excell sheet(CSV)  to an AD security Group Regards Balaraju Nishani

View Article

need a script

Hi guysI need script what will stop service depending on group of users when they start sessionservice will be net stop AudioSrv net start AudioSrv

View Article


VBS script for starting IE and Screensaver after some inactivity....

Hi All!I am looking for VBS script for changing explorer with Internet Explorer 8 in Windows XP.I know what is registry settings for changing shell to start Internet Explorer (with -k option) instead...

View Article

computer goes out of domain after one month

My laptop goes out of domain after one month please suggest wht i do

View Article


VBscript issues uninstalling/Installing AV software

Hi There, Being a complete novice to VB Scripts I have an issue that i could do with some help. In a site that I manage, we have been asked, due to corporate rethink, to remove Kaspersky Anti‐Virus for...

View Article

PowerShell Remoting against x64 OS and Microsoft-PowerShell32

I didn't (quickly) spot this error while I was seaching for it so thought I'd put it here...I was trying to connect to the 32-bit version of PowerShell on a remote 2008 R2 machine. I'd run "winrm...

View Article


adding up values of a CSV column according to applied filter

Hello experts!I have two csv files with multiple columns eacg (only two which are of importance) and have filtered and grouped the MID column (Machine-ID). Now each MID has a corresponding GB Storage...

View Article

remove smtp address from a csv file

Hi Guys,I found several article already about these tasks but so far it hasnt worked for me. I have a script similar below and it works but I suspect it worked because its for single value properties....

View Article

Help with batch file Nested For loop please?

I have a nested FOR statement that is running twice for one user in a list. It works but I can't figure out why.The first FOR statement takes a text file with users and searches against files in the...

View Article
Browsing all 15028 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>