15,899,126 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Shemar Forsythe (Top 6 by date)
Shemar Forsythe
13-Sep-21 16:48pm
View
This was a perfect solution. Please submit as a solution so I may accept it and get you some points.
Shemar Forsythe
4-Aug-21 10:53am
View
I figured I tried utilizing registry key entry changes however that did not work either as modifying keys to have chrome as default, the computer would still open edge. Note: basic users have no access to change settings. The reason I would want a batch file is that I manage several hundred computers on a network. I need a method that I can use for wide spread changes.
Shemar Forsythe
5-Jul-21 15:16pm
View
I have the batch file of this command line, placed in the users' start menu. So when a user logs into a machine. They are able to click on the batch file and have the folder copied to the specified location. So I am not getting any exit codes or such. However, when testing I am seeing where the folder's modified date remains the same. Additionally the folder contains configuration files for an app, when the app is launched after running the script it still remains unconfigured.
Shemar Forsythe
5-Jul-21 14:53pm
View
I do not see any changes.
Shemar Forsythe
2-Jul-21 15:56pm
View
schtasks
Folder: \
TaskName Next Run Time Status
======================================== ====================== ===============
auto restart computer 7/3/2021 2:45:00 PM Ready
It works great, thank you so much for the assistance, Dave and Rick!
Shemar Forsythe
2-Jul-21 15:00pm
View
Hi, Dave I used your suggested modifications.
schtasks /create /tn "auto restart computer" /tr "shutdown /r /t 0" /sc daily /st 13:55 /f
It still doesn't seem to work. Note: I am using the PDQ Deploy application to run this script on host machines. (not sure if that could be the cause of the issue)
Show More