Orao Posted May 10, 2011 Posted May 10, 2011 Hello,I created a script that updates my computers on start-up, But in order to make the update i need to disable another start-up application from starting, until the update finishes.So is it possible, to block or pause a start-up application from starting, and then allow it when the update has finished?For example:1. my script starts2. My scrips blocks the start-up entry "hndclient.exe" from starting3. When the update finishes, my script allows the startup entry to execute "hndclient.exe"P.s.Once the "hndclient.exe" is started i am not able to close it with "processclose" (it is protected)Also if i remove the "hndclient.exe" from startup entries it ads it self again automatically.Thats why i need a solution like described above.Thanks for suggestionsThank you
dufran3 Posted May 10, 2011 Posted May 10, 2011 hndclient.exe is a cyber cafe interface client. In my opinion, this sounds like something malicious. If you had the appropriate "authorization" to manipulate the cyber cafe computer, this wouldn't be necessary....hmmmmm...
Orao Posted May 10, 2011 Author Posted May 10, 2011 hndclient.exe is a cyber cafe interface client. In my opinion, this sounds like something malicious. If you had the appropriate "authorization" to manipulate the cyber cafe computer, this wouldn't be necessary....hmmmmm...Well i am the owner of that internet cafe, and i am trying to figure out how to make automatic updates for client computers.Because of the "hndclient.exe" starts on startup, it blocks the update. Thats why i am looking for the solution, how to disable the hndclient.exe while the update is done.Thanks
dufran3 Posted May 10, 2011 Posted May 10, 2011 Well i am the owner of that internet cafe, and i am trying to figure out how to make automatic updates for client computers.Because of the "hndclient.exe" starts on startup, it blocks the update. Thats why i am looking for the solution, how to disable the hndclient.exe while the update is done.Thanksok, I just had to get that out there. I would think that there would be a setting in the software itself to not auto start?
Orao Posted May 10, 2011 Author Posted May 10, 2011 ok, I just had to get that out there. I would think that there would be a setting in the software itself to not auto start?The software doesnt have that option. And when i remove it from start-up with "msconfig", next time i start the software it adds the startup entry again.
kaotkbliss Posted May 10, 2011 Posted May 10, 2011 (edited) To add to that, if there is an option to not start Cyber cafe at startup, then before your script closes you could have it run the CC process *edit* Just saw the "no option" response. I guess it may be a registry entry then Edited May 10, 2011 by kaotkbliss 010101000110100001101001011100110010000001101001011100110010000 001101101011110010010000001110011011010010110011100100001 My Android cat and mouse gamehttps://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueek We're gonna need another Timmy!
dufran3 Posted May 10, 2011 Posted May 10, 2011 What do you use to manage the computers? do you have a server w/ AD setup? Can you push a login script to start prior to the computer running it's own startup?
Orao Posted May 10, 2011 Author Posted May 10, 2011 What do you use to manage the computers? do you have a server w/ AD setup? Can you push a login script to start prior to the computer running it's own startup?No its WorkgroupI have already tried all other solutions.So there is no option to pause start-up applications (entries) from starting?
Orao Posted May 10, 2011 Author Posted May 10, 2011 To add to that, if there is an option to not start Cyber cafe at startup, then before your script closes you could have it run the CC process*edit*Just saw the "no option" response.I guess it may be a registry entry thenI have tried with registry, but it adds it self to registry again (each time i start the application)
dufran3 Posted May 10, 2011 Posted May 10, 2011 I'm not aware of anyway to pause an .exe from running dealing directly with the .exe and not reg. entries. But, if it is adding itself back, there is another process doing that... can the update you are trying to run be run in safe-mode? Perhaps that will work?
Orao Posted May 10, 2011 Author Posted May 10, 2011 Thanks for the replies, seems its not possible the way i thought to do it. I will think of some other solutions then.
Tvern Posted May 10, 2011 Posted May 10, 2011 An option might be to boot in safe mode, rename "hndclient.exe" to something else and replace it with an autoit script that decides if an update is needed (looks in a fixed location for an update script, perhaps add a password) and start the renamed exe before closing. Updating would simply mean placing the update script in a fixed location (a network location would be great if you want to do a lot of PC's at once) and reboot all PC's you want to update. Of coarse this will only work if "hwndclient.exe" will run when renamed and if the startup entry will keep pointing to it's old location when it's run from the new location. There will definitely be a way to stop the start-up entry from being re-added, but without knowing the software it's hard to tell exactly how to do it.
iamtheky Posted May 10, 2011 Posted May 10, 2011 (edited) another option: add a group policy to block the specific path of hndclient.exe ex:: on a win7 box navigate to local comp policy --> windows settings --> security settings --> software restriction policies --> Additional Rules and add "c:\programdata\Microsoft\Windows\Start Menu\Programs\Startup\hndclient.exe" as path disallowed Then add a line at the bottom of your script that copies hndclient to another location and runs it.... Edited May 10, 2011 by iamtheky ,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-. |(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/ (_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_) | | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) ( | | | | |)| | \ / | | | | | |)| | `--. | |) \ | | `-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_| '-' '-' (__) (__) (_) (__)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now