How to do opposit of Takeown Function of bat

December 9, 2010 at 03:43:15
Specs: Windows Vista Home Premium-32bit, CPU=intel-core2duo_2.1GHz/RAM=3GB
Hallow..... every one..............

I have two questions........

No.1>> How to do the opposite of BAT TAKEOWN function with normal file or folder through BAT......??

No.2>> Is that possible to move the "Mouse cursor" with Keyboard's Arrow Keys??
If it is possible, then how??

"Mouse Key" Option is not working........


I am using "Windows Vista Home Premium-32bit"

Can any one help me...........??

Please.... Help Me..............


See More: How to do opposit of Takeown Function of bat

Report •


#1
December 9, 2010 at 04:38:32
Why do you type like this.....? It makes it really hard to read.......... Is there a specific reason......? Or are you just doing because you like to make your posts look stupid........?

What exactly is "TAKEDOWN"? There is no command called that, and a Google search didn't turn up anything.

Mouse keys was going to my suggestion for number 2. Do you know what it isn't working? you may want to try and fix that.

Can I put a question here?


Report •

#2
December 9, 2010 at 06:38:05
Thanks for your reply Matt123

There is no reason write like (...................?) that, it's only my bad habit.


I wasn't wrote "TAKEDOWN" it was "TAKEOWN" the batch command for taking ownership of a protected file or folder.


I don't know what is going wrong about "Mouse Key" option, i have configured the "Set up Mouse Keys" option described in the web-page bellow

http://www.microsoft.com/enable/training/windowsvista/mousekeys.aspx

but isn't working.


What should I do??


Report •

#3
December 9, 2010 at 08:09:02
How to do the opposite of BAT TAKEOWN function with normal file or folder through BAT
Changing the owner to not you is seen as a huge security violation. As such, Microsoft does not include a way to do so. There's probably some third party application that'll do so, but I don't know of one off-hand.

Is that possible to move the "Mouse cursor" with Keyboard's Arrow Keys?
It's called Mouse Keys. You can control the mouse with the Number Pad keys. The shortcut to enable it is LeftAlt-LeftShift-NumLock. This feature was invented when resolutions of 800x600 was common, so you'll probably need to set the speed and acceleration to max before you'll get any real use out of the feature.

How To Ask Questions The Smart Way


Report •

Related Solutions

#4
December 9, 2010 at 18:09:40
I wasn't wrote "TAKEDOWN" it was "TAKEOWN" the batch command for taking ownership of a protected file or folder.

My apologies, misread your question. However, Razor seems to have answered.

Also, sorry if I came off rude before, I wasn't trying to be. Was just asking a simple question.

Can I put a question here?


Report •

#5
December 10, 2010 at 03:14:31
Thanks a lot Razor2.3 & Matt123 you both for your reply.

Changing the owner to not you is seen as a huge security violation. As such,
Microsoft does not include a way to do so.

Razor & Matt, is there any other way to do so, like using other programing languages
(C++, JAVA, PERL, VB etc.) or any other way through programing except BAT ??


It's called Mouse Keys. You can control the mouse with the Number Pad keys. The
shortcut to enable it is LeftAlt-LeftShift-NumLock. This feature was invented
when resolutions of 800x600 was common, so you'll probably need to set the speed
and acceleration to max before you'll get any real use out of the feature.

Razor & Matt, It is still not working for me!! & thanks Rozar for the proper name.

Matt, You don't have to ask for any apology it's OK

I know "..............." is my bad habit and i am trying to recover.

Again, Thanks Matt & Razor, for your replies.


Report •

#6
December 10, 2010 at 04:42:44
Do you have a laptop? Mouse keys seems to works fine of my desktop, however it will not work on my laptop. Granted, I don't have a designated Number Pad, instead I have the letters that switch into the numpad. Anyways, This may be your problem.

Can I put a question here?


Report •

#7
December 10, 2010 at 07:01:55
Razor & Matt, is there any other way to do so, like using other programing languages (C++, JAVA, PERL, VB etc.) or any other way through programing except BAT ??
There is an exposed API, mostly for backups and restores, that allow you to set the owner of a file. Since it's C, it's a much larger pain than batch, but MSDN has the details.

How To Ask Questions The Smart Way


Report •

#8
December 16, 2010 at 16:05:50
Vary vary SORRY for delayed REPLY. I was out of town and there is no internet connection at all.

Thanks Matt and Razor for your reply.

Do you have a laptop?
Mouse keys seems to works fine of my desktop, however it will not work on my laptop. 
Granted, I don't have a designated Number Pad, instead I have the letters that switch
into the numpad. Anyways, This may be your problem.

Matt, you have guessed wright, I am using Laptop (Acer Aspire 4736z). Is there any other way to do it with my laptop? or there is no other ways?

(I have just upgraded my comp. to Windows 7 Ultimate 32 bit x86 (build 7600) from Windows Vista Home Premium)

There is an exposed API, mostly for backups and restores, that allow you to set the
owner of a file. Since it's C, it's a much larger pain than batch, but MSDN has the
details.

Rezor, what is the name of that exposed API ? do you know any web link of it for details and download?

And thanks for the msdn web link, it was help full.


Report •

#9
December 16, 2010 at 16:29:20
To quote the page I linked:

The FILE_FLAG_BACKUP_SEMANTICS flag specified in the call to CreateFile gives the backup application process permission to read the access-control settings of the file or directory. With this permission, the backup application process can then call GetKernelObjectSecurity and SetKernelObjectSecurity to read and than reset the access-control settings.

How To Ask Questions The Smart Way


Report •

#10
December 16, 2010 at 17:13:42
The FILE_FLAG_BACKUP_SEMANTICS flag specified in the call to CreateFile gives the
backup application process permission to read the access-control settings of the file
or directory. With this permission, the backup application process can then call
GetKernelObjectSecurity and SetKernelObjectSecurity to read and than reset the
access-control settings.

Thanks, Razor for your reply

And thanks for the good hint and for those web links. I think it is not so complex.

Thanks again for your reply Razor


Report •


Ask Question