Search found 38 matches

by gymiv
04 Mar 2013 15:28
Forum: DOS Batch Forum
Topic: Terminate Batch Job Y\N
Replies: 2
Views: 3080

Re: Terminate Batch Job Y\N

I thought i needed that for PSEXEC. Do i not need it?
by gymiv
04 Mar 2013 15:01
Forum: DOS Batch Forum
Topic: Terminate Batch Job Y\N
Replies: 2
Views: 3080

Terminate Batch Job Y\N

I have the following code set inputfile=c:\hostnames.txt set psexecdir=c:\pstools\psexec.exe set outputfile=c:\output.log for /f %%i in (%inputfile%) do %psexecdir% -i 0 -s -accepteula \\%%i cmd.exe /c "\\server\program.exe -f -v" >> %outputfile% 2>&1 After each computer in hostnames.t...
by gymiv
01 Aug 2012 15:05
Forum: DOS Batch Forum
Topic: Open Win updates
Replies: 15
Views: 9114

Re: Open Win updates

I looked at that and laughed. Nice way to answer a question though
by gymiv
01 Aug 2012 14:18
Forum: DOS Batch Forum
Topic: Open Win updates
Replies: 15
Views: 9114

Re: Open Win updates

Okay thanks. I will just use wupdmgr to bring up WU in xp
by gymiv
01 Aug 2012 12:28
Forum: DOS Batch Forum
Topic: Open Win updates
Replies: 15
Views: 9114

Re: Open Win updates

Thanks. i have been googling on the net. But i could not find anything. My apologies i will be more diligent from now on
by gymiv
01 Aug 2012 11:47
Forum: DOS Batch Forum
Topic: Open Win updates
Replies: 15
Views: 9114

Re: Open Win updates

fantastic do you know how i could do this in xp?
by gymiv
01 Aug 2012 11:38
Forum: DOS Batch Forum
Topic: Open Win updates
Replies: 15
Views: 9114

Re: Open Win updates

Thanks for the reply. The purpose of doing this is to have the actuall gui for windows update open up so i can see if there are any more updates that need installing after my previous batch is finished. Thats why i need the gui to open it is a visual thing. This all has to do with the previous batch...
by gymiv
01 Aug 2012 11:21
Forum: DOS Batch Forum
Topic: Open Win updates
Replies: 15
Views: 9114

Open Win updates

I need to finish a batch and the last part of it I want to open the windows update gui, for xp or 7, and just check for updates. I want to bring up gui and check for updates to verify they have all been installed, this is done in the first part of my batch using WUinstall. Does anyone know the comma...
by gymiv
19 Jul 2012 11:07
Forum: DOS Batch Forum
Topic: Continue batch after UAC disable
Replies: 37
Views: 21898

Re: Continue batch after UAC disable

Your right i am an idiot. I was screwing up the syntax. I put this in my bat file and ran it. It popped up a dos window and stopped after running the script. Brought up a second window asking for a password. After that it ran the bat file with creds given to it, and yes the login i am using is marke...
by gymiv
19 Jul 2012 09:43
Forum: DOS Batch Forum
Topic: Continue batch after UAC disable
Replies: 37
Views: 21898

Re: Continue batch after UAC disable

I put that in my batch and it is coming up with an input error. Here is the line i put in the batch the script is on my desktop. Microsoft (R) Windows Script Host Version 5.8. I have tried it without the computername in the login also, same results. Copyright (C) Microsoft Corporation. All rights re...
by gymiv
19 Jul 2012 08:37
Forum: DOS Batch Forum
Topic: Continue batch after UAC disable
Replies: 37
Views: 21898

Re: Continue batch after UAC disable

Thats what i figured but what i can't figure out is where in the script i need to put this info. I am not great with vbs scripting but i do not see anywhere to put that info. Do you?
by gymiv
19 Jul 2012 08:01
Forum: DOS Batch Forum
Topic: Continue batch after UAC disable
Replies: 37
Views: 21898

Re: Continue batch after UAC disable

when i run your script, by itself, i get this message. i just copied it to a new txt file and named it then double clicked on it. What am i missing. ?Help? Usage: cscript|wscript vbrunas.vbs Username Password Command You should use the full path where necessary and put long file names or commands wi...
by gymiv
18 Jul 2012 14:56
Forum: DOS Batch Forum
Topic: Continue batch after UAC disable
Replies: 37
Views: 21898

Re: Continue batch after UAC disable

Okay thanks everyone I will just resolve to having to turn off uac by hand. Not a big deal but thanks for all the info. I should be able to use it in other areas.
by gymiv
18 Jul 2012 10:10
Forum: DOS Batch Forum
Topic: Continue batch after UAC disable
Replies: 37
Views: 21898

Re: Continue batch after UAC disable

now this i do not get. I enabled the administrator account and reran the bat. It runs fine. So even though the account i have been using is marked as administrator it is not getting admin rights. So how do i elevate the privleges to get admin rights using a different account other than admin? Normal...
by gymiv
18 Jul 2012 09:40
Forum: DOS Batch Forum
Topic: Continue batch after UAC disable
Replies: 37
Views: 21898

Re: Continue batch after UAC disable

my specific login is not in there but the administrators group is in there. the account i am using is marked as administrator under users. The administrator group in the permissions has full control