Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista General Discussion > Re: XP commands don't work on Vista

Reply
Thread Tools Display Modes

Re: XP commands don't work on Vista

 
 
Kerry Brown
Guest
Posts: n/a

 
      10-01-2007
Create a shortcut to the batch file. Right click on it and pick Run as
administrator.

--
Kerry Brown
Microsoft MVP - Shell/User
http://www.vistahelp.ca


"Paul Sala" <psalaN0-0SPAMM> wrote in message
news:...
>I used to have to reboot my PC once and awhile to reset my DSL connection.
>Then I made a bat file to reset the connection to avoid rebooting. Here are
>the commands that are in that bat file:
> net stop "dns client"
> net start "dns client"
> ipconfig /release
> ipconfig /renew
>
> This works fine on XP, but it fails on Vista. Here is what I see when it
> runs on Vista as a user that has admin rights:
>
> c:\net stop "dns client"
> System error 5 has occurred.
> Access is denied.
>
> c:\net start "dns client"
> System error 5 has occurred.
> Access is denied.
>
> c:\ipconfig /release
> The requested operation requires elevation.
>
> c:\ipconfig /renew
> No operation can be performed on Local Area Connection while it has its
> media disconnected.
>
> Any ideas on how to get this to work on Vista?
>
> Thanks!
>


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
XP commands don't work on Vista Paul Sala Windows Vista General Discussion 4 10-01-2007 03:04 PM
Commands in Vista Redphinz Windows Vista Performance 1 06-08-2007 04:58 PM
DOS commands in Vista John Windows Vista General Discussion 6 04-11-2007 02:34 PM
cmd.exe commands doesnt work anymore philip Windows Vista Performance 2 03-18-2007 10:05 PM
net user commands for vista david parker Windows Vista Administration 0 03-17-2007 03:41 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59