Search found 182 matches

by rasimmer
Fri Mar 20, 2009 2:09 am
Forum: VBScript
Topic: DateLastAccessed Help
Replies: 13
Views: 6353

DateLastAccessed Help

Well, there are serveral options. Basically use the FileSystemObject and recurse through the directories which I would normally connect to the adminstrative share (i.e.SERVER2D$HOME) and do FOR EACH. If you have huge shares and Windows Servers vs. a NAS device that the data is stored on, I would run...
by rasimmer
Wed Mar 18, 2009 3:49 am
Forum: Other Scripting Languages
Topic: HTA Error about IE Safety Settings
Replies: 12
Views: 25435

HTA Error about IE Safety Settings

If JVierra is correct and ADO is broken, you could probably try running the HTA from another system to see if you get the same error. If ADO is broken, you can try reloading MDAC on the system by going to C:WindowsInf and right-click on Mdac.inf and "Install"
by rasimmer
Tue Mar 17, 2009 11:59 pm
Forum: VBScript
Topic: Some Computers Wont restart
Replies: 4
Views: 1405

Some Computers Wont restart

Doing the WBEMTest or just running a WMI script locally will tell you if the problem is with WMI. If either of those work, then it's most likely not WMI corruption but a RPC problem. I've had issues before where the computer's trust was broken with the domain and the workstation had to be readded. Y...
by rasimmer
Tue Mar 17, 2009 11:14 pm
Forum: VBScript
Topic: Some Computers Wont restart
Replies: 4
Views: 1405

Some Computers Wont restart

If objRecordSetEx("mail") <> "" Or Not IsNull(objRecordSetEx("mail")) Then Well, this could be a couple of things. If you are using a hostname to connect WMI, it could be that the computer is off or DNS doesn't resolve. I typically have it do a test ping before I run WMI because WMI takes it's sweet...
by rasimmer
Fri Mar 06, 2009 7:41 am
Forum: VBScript
Topic: Vista Logon Script Replacement
Replies: 8
Views: 3976

Vista Logon Script Replacement

You shouldn't need to modify perms to do a simple file replacement, so no XCACLS at all. SYSTEM or any local admin should have access to replace the file. Perms needed to be changed to MODIFY the initial file to implement the hack, that's it. Your issue is going to be WFP replacing the file, so look...
by rasimmer
Fri Mar 06, 2009 7:36 am
Forum: VBScript
Topic: script read file then runs command
Replies: 4
Views: 1246

script read file then runs command

This is the VBScript post, not CMD Shell post...sheesh...some people ;oP
by rasimmer
Fri Mar 06, 2009 6:50 am
Forum: VBScript
Topic: Vista Logon Script Replacement
Replies: 8
Views: 3976

Vista Logon Script Replacement

First, I believe if it's under WFP, then it would just get replaced with the cached file unless you disabled WFP. According to the post, you just need to change the permissions to do the hack, so if you are just replacing the file you would just need MODIFY permissions to the file which SYSTEM and A...
by rasimmer
Fri Mar 06, 2009 6:30 am
Forum: VBScript
Topic: script read file then runs command
Replies: 4
Views: 1246

script read file then runs command

Your close, you just need to loop through the file line by line by utilizing .AtEndOfStream and then read each line by (you'll never guess) using .ReadLine. You also need to create the Shell object so that you can run the wake command. Try the script below and it should get you on the right track......
by rasimmer
Wed Mar 04, 2009 4:16 am
Forum: Other Scripting Languages
Topic: Select Computers Interface
Replies: 1
Views: 1745

Select Computers Interface

It's to quiet in here today, so I thought I would throw something out here that I'd like to add to one of my HTA's. I have no idea what they call this GUI or applet in an application, but you have textarea on the left, buttons in the middle and a textarea on the right. The left textbox typically has...
by rasimmer
Mon Feb 23, 2009 8:14 am
Forum: VBScript
Topic: Is this possible?
Replies: 2
Views: 903

Is this possible?

Also, there are much cooler ways to display data than a Msgbox, that's returning data in it's simplest form (for me debugging). You can use a HTA or even InternetExplorer.Application to display the output in HTML format and use company logos, etc. to make it look professional and earn yourself a rai...