0
votes
0answers
26 views

VBscript - returning the path & size of a file

I would like to add a piece of code to SYDI that would return me the location & size of a specific file. For example, a server "X" has a DB file(s) & path like this: ...
1
vote
1answer
67 views

How can I either through vbscript or GPO push a Windows 7 Logon Screen to all my users

I know how to change the login screen, it's easy. But I would like to figure out a way to do it through GPO or login script. I have tried running the script as the computer start-up script as well as ...
0
votes
1answer
182 views

Windows server 2008 R2 error running vbscript from Registry at startup

I have a simple vbscript which runs an Exe program both vbscript and exe program are in the same folder c:\xxx, i want this script to run every time the machine restarts as we have 40 servers and ...
0
votes
1answer
617 views

Export hardware specifications to a spreadsheet for Windows Server

I have a bunch of servers : Windows 2003 and 2008. I just wanted to export these hardware specs to a spreadsheet: cpus : num processors, clock speed, etc total hard disk space total used disk space ...
0
votes
2answers
944 views

Get User Rights Assignment values in Local Computer Setting using VBScript and WMI

I'd like to get all the values of User Rights Assignment in Local Computer Setting using VBScript and WMI. Is there a way I can do this with VBScript and WMI? Thanks.
3
votes
2answers
225 views

Is it possible to get CCM Updates Schedule using Powershel or VBScript?

I want to be able to check the CCM Updates Schedule as seen in Configuration Manager Updates tab. I've been looking around on google and I've not been able to find a consistent answer to this. I ...
0
votes
1answer
548 views

VBScript:Verifying if printer share exists

Is there a way to determine in VBScript, if a print share is in existence on a print server? The idea is to remove the connection to that printer in the event the share is removed from the server. A ...
1
vote
1answer
133 views

How do I extract the Drive letter from the result of EnumNetworkDrives

I'm using EnumNetworkDrives to list out all the drives on a machine. I'd like to determine which object in the collection is drive "X" What object is returned in EnumNetworkDrives that has a ...
0
votes
1answer
207 views

Windows shutdown processes termination sequence [closed]

Do you know the Windows shutdown process is implemented? Does it has some criteria to avoid inter-process communication problems between child and parent processes? This question originated from an ...
0
votes
4answers
225 views

VB Script for Windows Servers

I require a VB script which when run gives me the details about the latest Windows patch that was updated on the servers along with the date & time.
0
votes
4answers
2k views

Disable remote desktop through CMD or script in Windows 2008

I'm looking for a way to disable Remote Desktop login for Windows 2008 for a specific user (a local administrator account), either using the command line or a script (such as VBS) in Windows 2008. I ...
1
vote
1answer
701 views

iis vbscript remove all site bindings and replace with list of new bindings

I have a single host with 500+ bindings associated to it, and I would like to first purge this host of all its bindings and replace them from a list of bindings in a file. The format of the fill will ...
2
votes
1answer
2k views

How to run a 32-bit app from VBScript on both 32-bit & 64-bit Windows?

What is the best way to invoke a 32-bit command with Shell.Run in VBScript such that it will succeed on both Windows 32-bit and 64-bit operating systems? On 64-bit, the app terminates because it's ...
-1
votes
2answers
120 views

creating and modifying .exe file? [closed]

How to create an .exe file and how can I modify exsisting .exe file?
1
vote
2answers
2k views

What might cause https failure when not specifying SSL protocol?

I have a VBScript program that retrieves a web page from a server not under my control. The URL looks something like https://someserver.xxx/index.html. I use this code to create the object that does ...
2
votes
2answers
337 views

printer assignments for windows xp workstations within an active directory environment

I'm using the following script to handle removing any old networked printers from machines and then assigning the propper ones and making one of them the default. This script is assigned to the OU ...
3
votes
2answers
10k views

How can I edit local security policy from a batch file?

I am trying to write a utility as a batch file that, among other things, adds a user to the "Deny logon locally" local security policy. This batch file will be used on hundreds of independent ...
4
votes
3answers
17k views

Retrieve user details from Active Directory using SID

How can I find a user in my AD when I have his/her SID. I don't want to rely on other attributes, since I am trying to detect changes to these. Example: I get a message about a change to user record ...
3
votes
3answers
15k views

Windows Server 2008 R2 VBScript script engine missing

On Win2008R2 x64 I get Input Error: There is no script engine for file extension ".vbs". when starting a .vbs file.
1
vote
2answers
3k views

How can I get the name of a windows .bat script from within the script itself?

I have a .bat file. I want to programmatically get the name of the .bat file. How can I do this? This is my end goal "..\lib\nant\nant.exe" -buildfile:nant.build {{pass in name of this file here}} ...
2
votes
2answers
4k views

logon.vbs script is not mapping network drives

I am new to creating a vbs script to map network drives in windows. For some reason, the script runs, but does not map any network drives when a user logs on to the domain. Here is the script I am ...
1
vote
3answers
2k views

Install software on a remote machine?

I posted this question to SO, but I'm really not sure whether it should go SO or ServerFault, so I'm posting it here too. Here's the question: Hey SO Gus, This might seem like a dump question, but ...
5
votes
9answers
3k views

What scripting language do you use for your logon scripts in your Windows enviroment?

I wonder what scripting languages is most used as logon scripts these days. Is people still hacking away in batch-file files or vbscripts, or do you use PowerShell or something completely different? ...