Encrypting Or Password Protecting Contents Of A Batch File?
Aug 22, 2012
i have network backup utility that requires that i mount some network drives as the SYSTEM user. i created a bacth file to run at logon that works great.my issue is that this batch file contains plain-text password(s) that i would rather not have sitting there between logons.is there an easy way to fix this? another batch file that locks the 1st one after it is in use? i don't really know how to proceed here.i could make the batch file into an .exe archive with winrar, but is there a way to set up task scheduler to run a password protected .exe?
Hope I can explain my difficulty. I have duplicated folders album name for all my music files, As there is quite a considerable number I wondered if it was possible to batch file (automate) the process. I can not delete "d" as this would delete all the tracks. What I need to do is move the tracks at "e" into folder "c" and delete the then empty folder "d" Folder structure.
I have one workstation with static IP, Wants to create batch file to log in to this,using user name and password, copy back up files from that workstation to my desktop with batch file
I am currently using batch file for back up for domain server but one of the workstation is not in domain and has static ip , also it has username and password, Wants to create batch file on my desktop to log in this server---with username and password,, copy files from particular folder and paste it on my desktop in particular folder or auto create that folder, Currently I am using below script for one of my domain machine.
I keep a lot of confidential information on both my C: and an external hard drive. Is there a way for me to password protect the folders and files on these drives?
a) change the text on the Windows 7 boot screen in a multi boot situation from "Previous Version of Windows" to "Windows XP" for instance.
b) To actually password protect the menu so that only a certain user could boot into a particular OS .
I don't really want to use a 3rd party boot manager - but of course I suppose the other philosphy is if a user is not authorised to a particular application then why show it on the menu as a possible choice.
There should be some way of getting a logon prompt at boot and depending on the users privilege level display the boot options.
Another question -- On Windows 7 the XP partition is hidden (in Windows explorer).
On XP the Windows 7 system files are "viewable" as a separate disk drive. I like the hidden partition idea much better as the OS shouldn't be aware of the other OS.
This to me seems a not very good idea to allow the possibility of "tampering" with system files - especially by a previous version of an OS.
I could almost understand it if Windows 7 showed the XP system disk but not the other way round.
I am trying to create a batch file that runs 3 other batch files. Right now, it works fine using the call command on each other batch file. However, these other batch files take awhile to run. and so the entire process takes a very long time, since each "sub" batch file is run only after the previous one is finished.I was wondering if there is a command or way to start a batch file fro the top-level batch file, then go on and start the next batch file before the previous one is finished. In other words, I want the sub batch files to run in parallel in the background. (similar to the '&' in Unix).
How to create a batch file that will move files based on the file type?My Requirement : I need a batch file to copy all .doc files in all my HardDisk to aremovable disk say (Z: drive) . Can anyone make it possible using a batch file
Maybe I'm just over thinking here, but say you hide a file, sure you can access it through changing the folder options from show to do not show. So whats the point of hiding stuff unless you're hiding it from someone who is a novice at windows 7. My main goal here, is to have a folder, which is password protected, and have it filled with things that can not be accessed through any means other than entering the correct password and therefore entering the folder. I basically want it to be completely impossible for someone to access the contents of the folder without the password.
transffering contents of rar file to desktop.. if i have a rar file which holds file content if i transfer contents of rar file to desktop the files will unpack but i can not operate the desktop while this is happening while rar file is unpacking i cannot even send at the same time anything to the bin.
cpu.quadcore intel q600 2gig of ram windows 7 ulimate hard drive...hitachi HDT725040VLA360 ATA DEVICE cheers
see how in this picture: http://res2.windows.microsoft.com/re...10ab536484.jpg, in the search results, if the searched word is found inside a file, a few lines of text are show with the word highlighted. i'm using windows 7 and this does not happen for me. if a word is found in file contents, i'll get it listed in the results, but it won't show me the context of it like in the picture.
Can someone show what a batch file would look like for use in Win7?Secondly the method for writing same batch file please.I want copy a file or files to the desktop before shutting down or rebooting and secondly copy same file/files to their original location after booting.
How could I run a batch file as an administrator without any user involvement. I just want when the file is clicked on to start running as an admin because it is copying files in the Programs directory and cannot do it without administrator privileges.
I have this... runas /noprofile /useran-SlateDan cmd but that requires me to have to type my password, and also just opens up a new shell and does not actually elevate the shell that it ran in.
To cut a long story short, I decided to try out a demo for a games which is coming out, and a friend gave me the file (it's a FREE demo mind you) and I didn't really like the game so I want to uninstall. How do I go about that?When I installed the game at first, it installed via one of those command prompt boxes.
I have many videos and music that needs renaming often but i'm wary of 3rd party apps. I use to use rename-it! back when i had vista and xp but it hasn't been updated for Windows 7
I've made a batch file, but i don't know how to make it to always run as administartor. In .bat's file properties the option "always run as administartor" is grayed out. I have to right click it and then choose "run as administartor" from context menu. But i don't want to do it every time because it's annoying, is there any way to make run as admin if option is grayed out in properties?
I have 2 files that are in the same directory which I want to start one after the other.I have created a simple batch file like this which opens 2 files at the same time. ExampleStart Server.exeStart Game.exeIs it possible to leave say a 10 second gap between opening the Server.exe and Game.exe? Also is it possible to quit Server.exe when I exit Game.exe?
is there a simple program that converts batch file to .exe file? I found this: Bat To Exe Converter - CNET Download.com But some users say its virus/malware. Can someone confirm that or give a diffrent link?
hei hava batch file that shutdowns my windows 7 pc at certain time everyday. (night). how can i get this to run daily. currently it runs on the day i "excute the batch file". for certain reason, i don't want to use the "Schedule Task" to do this.
I've got this folder. In this folder are 643 sub-folders. I want to change the icon of all of those folders quickly, because doing it manually would be horrible. Each folder has to have it's own icon. Not all the same one.
Currently the .ico's are in a folder with all the exact same name as the folders they need to be matched with. (if I sort by name, they'll all be in the exact same order, if that helps anything)
example: Mainfolder/A/ needs to have icon "A.ico"
So I've been kinda searching around and it seems things like this can (or not) be done with a batch file, and the desktop.ini. Or something..
I have a batch file that I used on XP to run an MMC that I created for common management tasks. In the MMC I have the ability to run regedit as a root forest domain privileged user (for remote system registry editing), password resets (using AD) remote computer management, and several web links for common sites the team uses. I did this so it was all in one place and it worked awesome in Win XP. When I run the batch file it reports that the directory could not be found.[CODE]
I have verified that runas is in the same place as in XP, as well as MMC. I have run the batch file with elevate access as well as run the command prompt with elevated access (in fact that was copied from an elevated command prompt). The account I'm running it on has admin rights on the box, though UAC is set, I own both the account this was run from and the "root forest" privileged account, this account is NOT a domain admin.This is all being done on Win 7 Pro in a large enterprise domain environmentthis batch file worked and still works on Win XP in the same environment.
if servicename is running, do nothing.if servicename is not running, then start servicename, then record the date and time.based on my search [COLOR=blue ! important][COLOR=blue ! important]online[/COLOR][/COLOR], here is what I have so far.
[code]...
It looks like that the If statement is not working. Every time I run this batch file, it runs through all the command lines.and I got a error message said the service is already running.
I have a few different batch files setup to map drives depending what state the user is in that runs upon logon...I am wanting to make it silent, because users tend to close out of it sometimes before it has been completed. Or at least run it minimized?It is ran from active directory...I would create a script, but I would have to change each user in active directory
Is there a way to make a batch file that will automatically change Services? My main goal here is to 1 click edit all the services I change from disable,automatic, and delayed. I use the same settings for the entire family that I am tech support for so it makes life easier.
At work i use 2 different PDF viewing software. One is Adobe for editing and the other is Foxit for quick viewing. They have their pros and cons and so I use them interchangeably.For some work I will use Foxit for several hours at a time and only open something in Adobe on an as needed basis using the right click "open with" context. The opposite is true, for some work I use Adobe for hours and then use Foxit as needed with "open with" context.I want a registry file or some application that will enable me to simply double click on it and KNOW that my file association for PDF is now Foxit (or Adobe depending on what batch or registry file I double click on).I see there is "HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrent Version ExplorerFileExts.pdf" which changes when I edit the file association in control panel. It does update, but I can't manually change the "UserChoice" Progid item. It changes only through file association in control panel.I realize there are some in HKEY_CLASSES_ROOT but they don't update when i update it in file association in Control panel.I don't know what to do or where else to look.It is tedious to have to go to the control panel -> file association manually.
Is there a way to create a text file (saving it as .bat probably) which when executed will recreate a keystroke press? The keys I need would include modifiers, precisely shift-alt-ctrl-[letter key here].Some background story for anyone interested: I want to trigger an action in another program each time the computer locks. This program has some kind of event trigger, but it doesn't seem to work correctly with windows user lock in all scenarios. So I set a random hotkey to what I want the program to perform. Then I could through windows task scheduler create a task which triggers on user lock and executes this batch file imitating the hotkey press