Search found 8 matches
- 01 Aug 2012 08:49
- Forum: DOS Batch Forum
- Topic: PSEXEC help
- Replies: 2
- Views: 3385
Re: PSEXEC help
Shouldn't do. The PC's in question have group policy to turn off the UAC prompts.
- 27 Jul 2012 03:17
- Forum: DOS Batch Forum
- Topic: WMIC Remote uninstall [SOLVED]
- Replies: 7
- Views: 21931
Re: WMIC Remote uninstall
I managed to fix this myself, using psexec. psexec \\%target% -s -i -u %userdomain%\%username% cmd /c wmic product where vendor="Mindjet" call uninstall This command works fine Brings a command prompt up on their screen, but it does the job! I've written a file that prompts them before it ...
- 27 Jul 2012 03:13
- Forum: DOS Batch Forum
- Topic: Adding login requirements when running the batch
- Replies: 5
- Views: 4514
Re: Adding login requirements when running the batch
Could you not just use Windows Security to limit the people that can run it? Put the file in a hidden share that only the required user has access to, or explicitly deny access to everyone that shouldn't be able to run it? Once you're the owner of the file, you could deny "take ownership" ...
- 27 Jul 2012 02:43
- Forum: DOS Batch Forum
- Topic: PSEXEC help
- Replies: 2
- Views: 3385
PSEXEC help
Hi all, I'm trying to write a script to remotely fix WMI issues on a target PC. Now, i'm pretty good at psexec, and have managed to get a remote PC to uninstall a program without prompts, from my pc using psexec and wmic. Right now, i'm trying to fix WMI remotely using a similar method. The first co...
- 14 Jun 2012 08:48
- Forum: DOS Batch Forum
- Topic: DSQuery get names from user ID
- Replies: 1
- Views: 2609
DSQuery get names from user ID
Hi all. I've got a huge list of user ID's (as in login ID's) and i need to get their actual names. Going through AD searching for the user ID and getting their name is a very slow process, and i'm sure there's something like dsquery i can use to get it all. I've never used dsquery really, though. So...
- 28 May 2012 05:05
- Forum: DOS Batch Forum
- Topic: WMIC Remote uninstall [SOLVED]
- Replies: 7
- Views: 21931
Re: WMIC Remote uninstall
It's not that the files are in use, so it can't remove them... If i run the command on a local PC (removing the /node part) the wmic uninstall works fine. the problem is that if i open a command prompt, and type wmic first to get it into that mode, all commands work fine. I can remotely uninstall st...
- 28 May 2012 03:54
- Forum: DOS Batch Forum
- Topic: WMIC Remote uninstall [SOLVED]
- Replies: 7
- Views: 21931
Re: WMIC Remote uninstall
sorry, that was badly worded.. What i mean is something like... for each item in (target file), run this command. so i can run a psexec on a number of PC's, listed in a text file that I can store somewhere on my pc. Do you know how i force it to run with the system account? PSEXEC has a switch that'...
- 28 May 2012 03:36
- Forum: DOS Batch Forum
- Topic: WMIC Remote uninstall [SOLVED]
- Replies: 7
- Views: 21931
WMIC Remote uninstall [SOLVED]
Hi All, This is my first post, and I'm hoping i'll get a good impression by getting an answer to my first issue. Batch files are the only way of scripting that I know, and I like to think i'm getting pretty good at it. I've written this file: @echo off ::Ask for Target PC Name SET target= SET /P tar...