Solved

I've created a .lnk that creates system restore points on demand.  I want to run it "quietly" or "in the background" so my users do not see the cmd window.

Posted on 2016-08-26
6
70 Views
Last Modified: 2016-09-03
I used the method listed below to create a .lnk file, I then used psexec to push that .lnk file to each workstation.  I then added a command in the logon script for the users to run that shortcut on login.  It's working perfectly, creating almost daily system restore points.  I'd like to make the cmd window not pop up though, I know it only sits there for 10-15 seconds but my users are complaining.

I'm sure there's a simple argument or something I could add to the .lnk or possibly the logon batch file but i'm not as familiar with scripting this type of stuff as I should be.

http://www.windowscentral.com/how-create-system-restore-point-windows-10-simple-double-click
0
Comment
Question by:Daniel Checksum
6 Comments
 
LVL 23

Expert Comment

by:NVIT
Comment Utility
> I'd like to make the cmd window not pop up though, I know it only sits there for 10-15 seconds but my users are complaining.

So, it's better to wait 10-15 seconds and not see anything? Won't users still complain? Especially if they don't know what's going on. How about putting a message in the window? At least they know what's happening.
0
 
LVL 1

Author Comment

by:Daniel Checksum
Comment Utility
You don't know my users.  I'd really like it just be silent, they won't really notice if their pc runs slightly slower for a few seconds at startup, but that big black box that shows up does.  The box itself even says "Creating Restore Point" and we've emailed the users and let them know that's what we're doing.  Still getting complaints.  I just need to know if there's a way to run that exact function quietly.
0
 
LVL 42

Accepted Solution

by:
Davis McCarn earned 500 total points
Comment Utility
Use START /MIN <yourfile.bat> and it will run minimized:
http://www.computerhope.com/issues/ch000932.htm
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 1

Author Closing Comment

by:Daniel Checksum
Comment Utility
Thanks, Davis.  I believe that will work, deploying it now after testing it on my own machine.
0
 
LVL 38

Expert Comment

by:Aaron Tomosky
Comment Utility
to do a fully hidden exe or bat file, make a something.vbs and put this in it
Set WshShell = CreateObject("WScript.Shell")
WshShell.Run chr(34) & "C:\foldername\filename.exe" & Chr(34), 0
Set WshShell = Nothing

Open in new window

0
 
LVL 1

Author Comment

by:Daniel Checksum
Comment Utility
Unfortunately, Aaron, i'm not allowed to use vbs scripts here.  Thanks for your input though, my initial system restore process was a vbs script.
0

Featured Post

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Join & Write a Comment

Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now