UAC, Batch Files, And Automation
May 21, 2008
My company installs our software on about 50 computers a day. Included with that install is a remote-login software. In order for everything to work properly, we have to make a user, elevate that user to administrator, hide the user, and set power settings correctly. In xp, this is no problem, and up until now, we've required our clients have 2000 or xp. As vista is now over a year old, we're adding support for it too.
My problem is that the batch file I've written to handle adding a user and setting the computer properly requires administrative rights (see 'add user'). Everything I've read says something along the lines of 'right click, run as administrator' or 'to turn off uac, do this.' These are not options for me. The people installing this software are usually about computer savy as my grandmother, so I can't have them performing extra steps beyond 'click here. this pops up. click here. this happens. click here.' I'm ok with with boxes popping up asking for permission, but I can't assume they'll understand right-click. I need to know how to raise my permission level from the command line. I need to be able to do this on any computer, no matter the computer name, administrator name, etc.
View 5 Replies
ADVERTISEMENT
Sep 17, 2009
I've been reading a lot on the internet about vista problems, errors, etc. and one of the first checks someone tells the OP is run sfc. Well more than likely if they are posting in a forum asking for help, they don't know how to do it, or what it does. That's the main batch file I made, I also made one to show wireless signal strength, one to defrag the hard drive, and one to clear the dns cache. I know its not much but I'm just trying to help some of the folks that dont know vista so well and are having a hard time... I'm working on some finishing touches so they look nice then I'm zipping them up and posting them here
View 9 Replies
View Related
Jun 22, 2008
For many years I have been using a batch file to back up files later than a
specific date to a temporary directory. I then copy them to an external hard
drive. My new computer has Vista business. I am unable to get the batch file
to work. Would someone please help?
Old version
call xcopy c:docume~1mikeha~1mydocu~1*.* C: emp3 /f /d:06-03-2008 /i /s
New version
call xcopy c:usersmikehdocuments*.* C: emp3 /f /d:06-03-2008 /i /s
View 9 Replies
View Related
Mar 23, 2008
I've got a Dell D830 with Vista Ultimate 32-bit pre-installed. It's got the max 4GB of RAM installed. I do not yet own any software or hardware which claims it can benefit from 64-bit so what are the advantages? I will not be doing any gaming but I will be doing a lot of batch processing of camera RAW files with Photoshop CS3. The guys in the Photoshop forum said there is no benefit really unless I was able to load more RAM.
View 9 Replies
View Related
May 19, 2009
I wouldd be happy if anyone tell me about logon as batch job. I want to gain more about a batch job.
View 7 Replies
View Related
Sep 25, 2009
I am trying to run a batch file in vista as an administrator. I know I can use the RUNAS command, but this prompts me for a password. (and what password is a mystery to me as it's a non domain machine and there isn't a user called administrator, but that's besides the point). What I am looking to do is to replicate the behaviour of Right Clicking on the batch file and clicking 'Run as administrator', then the security box comes up - this is fine, that is EXACTLY what I want to happen. The user already has adminitrator privilages and I understand that I'll never get around the security box coming up - I don't mind this, but I can't seem to find a way of replicating this.
View 8 Replies
View Related
Apr 5, 2009
Whenever I write a batch script that provides options using 'if' statements, and input a semicolon, it terminates unexpectedly. Is there a way to prevent this? ~Is there a way I can write the batch file so that it doesn't terminate when I have a semicolon in the input?
View 8 Replies
View Related
May 10, 2010
My PC locks up when trying to install iTUnes at the point where it is saying to me. "Registering iTunes automation server". Ive done everything that the iTunes help section has suggested still no luck.
View 4 Replies
View Related
Mar 23, 2008
To rename a file, you do not need to open the file in a program.
Right-click the file that you want to rename, and then click Rename.
Type the new name, and then press ENTER. If you are prompted for an administrator password or confirmation, type the password or provide confirmation.
Tip
You can also rename several files at once. If you give files of the same type the same name, each file will have the same name followed by a different sequential number (such as Renamed File (2), Renamed File (3), and so on). This can be useful for grouping related items. To do this, select all the files you want to rename, and then follow the same steps as you would for renaming an individual file. Each of the files will be saved with the new name, and a different sequential number will be appended automatically to the end of each file name.
View 9 Replies
View Related
Feb 23, 2009
I'm trying to write a batch script that will check to see if a file exists and then delete it if it does, otherwise display a message...
View 4 Replies
View Related
May 8, 2009
how to run a batch file prior to windows logon vista home premium. I have a few problems with my motherboard and my cmos battery is unsoldered and my battery is knackered. At present I have a batch file to set date and time in my startup folder but would like to do it before this as programs are loading and trying to initialise before the correct date and time set, this causes errors.
View 8 Replies
View Related
Feb 11, 2009
Whats a command to put in a batch file that when exit is pressed it either wont do anything or it will minimze itself it would be something like
@echo off
if exit /m
then i dont know what else or if thats wrong please another solution!
View 5 Replies
View Related
Feb 27, 2010
I'm trying to create a batch file so that I can bring up 2 sites at one time when I open my browser. I use Firefox & IE8. What I have done so far to no avail is created a file as follows and sent to desktop from notepad named test.bat:
without parenthesis in the above. I can get these to open consecutively, same browser window if I have a browser already open. But, not without browser open. How do I connect the 2 sites to open in 2 tabs, same window? I also added them as multi home pages, then sent shortcut to browser to desktop. This does work, but, not what I want.
Is there anyway to create a batch file and have these 2 sites open at start up, by-passing the desktop without clicking to open the browser? Also, I know that clicking on the shortcut to the browser that's on the desktop does slow down the launching process. If there is another way upon start up, will it be slower as well?
View 6 Replies
View Related
Aug 12, 2008
how to make a batch file where you could start, disable, stop and manual for a service from the command prompt? for example instead of going to services.msc and right clicking on a service then clicking on properties then making the startup to be manual,automatic or disable. I could do with a batch file where i would just launch the batch file and it would make the startup to manual and then disable the service that i want to disable.
View 9 Replies
View Related
Sep 16, 2009
I was working on my laptop earlier this evening moving a few files around and organising my folders when I lost a few files from a folder. I don't know exactly what happened, I probably mashed the touch pad. Anyway, now I can't find the files anymore. I've tried running a search but it has come to no avail. How do I find my files? If it makes any difference the files were on a memory stick.
View 9 Replies
View Related
Jul 14, 2009
While installing a program, the process was interrupted and the install created 62000 files using 160gig in my syswow64 folder virtually using all my hd space. However when you go into the syswow64 folder, there is only about 2000 files and 1 gig of space used. I have set the folders to show all hidden files. When I go into the ms dos prompt and do a directory, the files match the 1 gig data.
I can't delete these 62000 files and free up the 160 gig space because I don't believe they are actually there on the hard drive but explorer thinks they are there. Is there any way to rebuild, sync, or otherwise get windows explorer to recognize the correct amount of files that are actually in my syswow64 folder.(2000files 1gig and not 62000files 160gig)
View 5 Replies
View Related
Aug 27, 2008
I am running Vista Ultimate 32 bit. I have a folder on my desktop named Downloads that I use for, shockingly, downloads. Anyway, there are a couple of files in the folder that are, apparently, not really there. They are like ghost files. They used to exist but now they are still visible but not recognized by any program. Also, they have a size of 0 kb!
I'd like to get rid of them but they refuse to be deleted. When I try to delete them, I get this:
So I figured that I'd delete the whole folder........or not:
View 9 Replies
View Related
Feb 6, 2009
Is it best to make a root folder to the C: drive for Games and not load games into the program files or X86 files?
View 9 Replies
View Related
May 8, 2009
A multitude of files, folders and sub-folders have disappeared (all from my "Documents"). Miscellaneous sub-folders within folders have disappeared, while other sub-folders remain intact. At first I was completely lost, as the files were there not 30 minutes prior... After assuming the worst and thinking that they had corrupted or been deleted due to a virus, I:
- Made sure my folder options were set properly (I can view all hidden files)
- Thoroughly checked the recycle bin
- Did numerous searches
- Downloaded Google Desktop and searched some more
- Ran various "undelete" and "recovery" programs with no results
- Did a system restore...........
View 8 Replies
View Related
Aug 1, 2009
I bought a new computer for college recently and I cannot download limewire. Everytime I try I get an error message that says "....can't open input files because of splittet files." I have no idea how to circumvent this.
View 5 Replies
View Related
Aug 29, 2008
When i download Files using Firefox or IE once they have downloaded they vanish from the files i save them too. I cannot find them anywhere on the computer i have even tried opening the files rather than saving them using IE. still no luck it jsut wont open.
View 6 Replies
View Related
Feb 24, 2009
When I go to C:Users I see "mine", public, and the other I deleted named "test" ....I'm positive that deleted the account and all files but I could be mistaken. Is there a fix for this? I want it deleted.
View 4 Replies
View Related
Mar 23, 2008
Because of a mistake I made while installing Vista, I wound up with the system files (about 1.6 Gig) on one small D: drive while all of the remaining Windows files (over 50 Gig) on the large C: drive. I now want to remove the D: drive and replace it with a large one. How do I move the system files to the C: drive?
View 4 Replies
View Related
Sep 26, 2009
I have encountered a very strange problem. I have downloaded two exe files recently. When I doubleclick on the exe file, instead of the application installing, what should happen but Word of all things opens with, in the case of one of them a box headed 'File Conversion - arw5setup.msi', and a similar wording in the second, asking me to select the encoding that makes my document readable. Whatever I select, the exe file then opens as a text file.
(The reference to an msi file is baffling as both files were exe files.) When it happened the first time I thought it was a corrupt file, but when it happened again it has to be that there is something wrong with my system. Is this a virus? Spybot has just come up with a clean slate ...
View 8 Replies
View Related
Nov 12, 2008
When I start installing it, it goes through the "Copying Files" stage instantly, and then hangs up at 0% on "Expanding Files". Then, anywhere from 10 seconds to 3 minutes later, my screen goes black like it's not receiving a monitor signal anymore, and nothing else happens.
I Googled the problem and found a ton of threads here and elsewhere with the same issue, with a slight variation, but none of them had issues posted, and they were all relatively old.
View 7 Replies
View Related
Apr 1, 2009
MOD and TOD are informal names of tapeless video formats used by JVC (MOD and TOD), Panasonic (MOD only) and Canon (MOD only) in some models of digital camcorders. So, you may want to convert TOD files or .Mod files to your portable devices supporting formats, such as convert Mod to WMV, AVI, convert TOD to MPG etc for the iPod, iPhone, Zune PSP, BlackBerry, Creative Zen, etc.......
View 9 Replies
View Related
Feb 23, 2008
I have a problem in my laptop vista ultimate 46 bit the problem is I cant change any details of all mp3 files such as the name of artist, album, genre and the title on the mp3 file itself. I tried lots of solutions such as download k-lite mega codec and divx and the problem still. Also on the details pane on the bottom of each folder. I am waiting for your solution cause I had this problem before twice and I formated the laptop but this time I want a real solution
View 9 Replies
View Related
Aug 16, 2008
I have Windows Vista Ultimate x64, and it came with 2 set of program files: program files, and program files x86. Since my hard drive is only 100 gigs, I was wondering if I could delete the normal program files and keep the x86 ones, or would that cause problems?
View 3 Replies
View Related
Dec 23, 2008
is it normal for me to have 2 Program files?
One has (x86) next to it. ( I assume for the 32bit apps?!?! maybe)
View 4 Replies
View Related
Jul 23, 2008
i installed ultimate 64 bit on my dell 1720. it originally came with like home premium 32 bit. why does it have a program files and program files (x86) folder? i just didn't know why it had both and what this means or doesn't mean.
View 4 Replies
View Related
Apr 17, 2008
I have the 'saved' emails off of my old hard drive from my Outlook Express's
'inbox', outbox', etc. on a disk , but I don't know how to get them into my
new Windows Mail. They are .dbx files.
View 9 Replies
View Related