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
91 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 24

Expert Comment

by:NVIT
ID: 41772200
> 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
ID: 41772207
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 43

Accepted Solution

by:
Davis McCarn earned 500 total points
ID: 41779710
Use START /MIN <yourfile.bat> and it will run minimized:
http://www.computerhope.com/issues/ch000932.htm
0
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
LVL 1

Author Closing Comment

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

Expert Comment

by:Aaron Tomosky
ID: 41782423
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
ID: 41783113
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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Microsoft will be releasing the Windows 10 Creators Update in just a matter of weeks. Are you prepared? Follow these steps to ensure everything goes smoothly and you don't lose valuable data on your PC.
Optimized for private cloud infrastructures and datacenters, Nano Server is minimalistic, yet super-efficient, OS for services such as Hyper-V and Hyper-V cluster. Learn how you can easily deploy Nano Server and unlock its power!
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…

733 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