Search found 15 matches

by funnysun
Thu Jul 09, 2009 4:17 am
Forum: VBScript
Topic: error when join xp to domain
Replies: 5
Views: 2807

error when join xp to domain

so much appreciate your help
i will retest each of function again and get back to you
by funnysun
Thu Jul 02, 2009 4:03 am
Forum: VBScript
Topic: error when join xp to domain
Replies: 5
Views: 2807

error when join xp to domain

my appologies, i'm still new to vbs, really sorry about that :(i have modified my vbs again as following, let me know if this is ok.btw, each function is tested work as standalone vbs.On Error Resume NextSub Add2Domain Dim objFile,fname,strLogDir,strAdsPathDim strOU:strOU=""Dim strDomain:s...
by funnysun
Wed Jul 01, 2009 11:37 pm
Forum: VBScript
Topic: error when join xp to domain
Replies: 5
Views: 2807

error when join xp to domain

Hey guys, i'm having trouble with my vbs when join xp box back to domain. what my code does is to search domain first for local xp workstation and delete existing computer account if it's in AD then join it to Ad again to the OU where it originally was. There is no problem with removing existing acc...
by funnysun
Wed Jul 01, 2009 11:37 pm
Forum: VBScript
Topic: error when join xp to domain
Replies: 5
Views: 2807

error when join xp to domain

Hey guys, i'm having trouble with my vbs when join xp box back to domain. what my code does is to search domain first for local xp workstation and delete existing computer account if it's in AD then join it to Ad again to the OU where it originally was. There is no problem with removing existing acc...
by funnysun
Tue Jun 09, 2009 12:38 pm
Forum: VBScript
Topic: Object Required Error
Replies: 6
Views: 2897

Object Required Error

sorry guys,wmimgts:{impersonateleve this was my typo
but thank you for pointing out :)
by funnysun
Sat Jun 06, 2009 12:39 pm
Forum: VBScript
Topic: Object Required Error
Replies: 6
Views: 2897

Object Required Error

thank you jvierra, you have been always very very nice and helpful here.
it's so great that this forum has you here.
:D
by funnysun
Sat Jun 06, 2009 9:57 am
Forum: VBScript
Topic: Object Required Error
Replies: 6
Views: 2897

Object Required Error

Hi Guys,

I'm reading Don Jones book VBScript, WMI, and ADSI unleashed

but I always get Object Required error string: XXXX on line 6 in following code
by funnysun
Wed Jun 03, 2009 10:36 am
Forum: VBScript
Topic: run command on remote pc
Replies: 2
Views: 1901

run command on remote pc

thank you guys!
your info is much appreciated, i will try your suggestions
by funnysun
Wed Jun 03, 2009 5:26 am
Forum: VBScript
Topic: run command on remote pc
Replies: 2
Views: 1901

run command on remote pc

hello guys, I just have a simple question, here is script i found on scripting Guy (MS site) strComputer = "." Set objWMIService = GetObject("winmgmts:" & strComputer & "rootcimv2:Win32_Process") objWMIService.Create "notepad.exe", null, null, intProce...
by funnysun
Tue May 26, 2009 4:07 am
Forum: VBScript
Topic: Auto Run vbs
Replies: 2
Views: 1315

Auto Run vbs

actually i want to backup some files automatically using vbs often