Solved

import job files from xp to windows 7

Posted on 2014-10-13
9
213 Views
Last Modified: 2014-11-13
how do you make a bat file that will change all the permissions on select job files in windows 7.
I have a bunch of scheduled task that were made in xp and trying to migrate them to windows 7.  I know I had a script a while back that would do it but I can't find it anywhere
it did something with schtask.

thanks!
0
Comment
Question by:bbimis
  • 3
  • 2
  • 2
  • +1
9 Comments
 
LVL 19

Expert Comment

by:Montoya
ID: 40377006
is this something that you're doing from time to time, or are you simply going to transfer the folder full of files and you want to take ownership of it?
0
 

Author Comment

by:bbimis
ID: 40377122
folder full of job files and taking ownership of it.
0
 
LVL 19

Expert Comment

by:Montoya
ID: 40377147
0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 

Author Comment

by:bbimis
ID: 40377174
looking for something more along these lines
for loop of some sort to go through al the files
{
schtasks /change /RU administrator/RP goodpassword /tn "*"
}

thanks!
0
 
LVL 59

Expert Comment

by:LeeTutor
ID: 40440221
I've requested that this question be deleted for the following reason:

The question has either no comments or not enough useful information to be called an "answer".
0
 
LVL 69

Expert Comment

by:Qlemo
ID: 40440222
Providing suggestion now.
0
 
LVL 69

Accepted Solution

by:
Qlemo earned 500 total points
ID: 40440261
If still interested: This will go thru all jobs defined, with exception of the MS pre-defined ones:
@echo off
for /F "tokens=1 delims=," %%T in (
  'schtasks /query /FO csv ^| findstr /v "\Microsoft\ TaskName"'
) do schtasks /change /RU administrator/RP goodpassword /tn %%T

Open in new window

0
 

Author Closing Comment

by:bbimis
ID: 40440507
thanks!
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Deploying a Microsoft Access application in a Citrix environment is not difficult but takes a few steps. However, Citrix system people are often of little help, as they typically know next to nothing about Access. The script provided here will take …
The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
This Micro Tutorial will go in depth within Systems and Security in Windows 7 and will go into detail regarding Action Center, Windows Firewall, System, etc. This will be demonstrated using Windows 7 operating system.

831 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